Questions tagged [particles]

Particle in computer graphics usually refers to the small, simple images or 3D models (meshes) that are governed by and make up a particle system, usually used to depict a fuzzy object (e.g. fire, smoke, glowing trail left behind by a meteor).

Particle (in computer graphics)

Particles are small units that together represent a fuzzy object in a particle system. Over time the system generates particles, which move and change from the origin of creation (or emission) and eventually die or fade away. Link to academic paper

Particle can have a different meaning depending on if the field is computer graphics, nanotechnology, or physical sciences

788 questions
52
votes
5 answers

Fitting largest circle in free area in image with distributed particle

I am working on images to detect and fit the largest possible circle in any of the free areas of an image containing distributed particles: (able to detect the location of particle). One direction is to define a circle touching any 3-point…
T50740
  • 539
  • 4
  • 6
22
votes
6 answers

How do you stop a particle effect? (SKEmitterNode)

I currently have this code in a collide statement where if collide with object then this particle happens but how do I stop it? As it goes on forever whereas I only want to happen a couple of times per contactetc SKEmitterNode *emitter = …
John B
  • 105
  • 1
  • 2
  • 11
19
votes
1 answer

Change spritekit particle color

Is it possible to change the color of a particle after creating in the spritekit editor? I tried setParticleColor but it doesn't appear to do anything. Basically I want to have one particle file and a way to programmatically change the color on the…
Negora
  • 281
  • 4
  • 13
15
votes
8 answers

Particles.js as a background?

I'm trying to use this example as a background but I can't seem to get it to work. http://vincentgarreau.com/particles.js/#nasa In order to get around this I'm forced to use a margin top of -1500px just to place my text over the top of it and it's…
Milan Maru
  • 163
  • 1
  • 1
  • 7
15
votes
1 answer

Unable to pause SKEmitterNode in iOS9

I've tried few workarounds, but still I can't pause existing particles on iOS9. I am using following technique to pause the scene: pause the scene with self.paused = YES; set custom globalPause = YES; variable to control update: method execution…
Whirlwind
  • 14,286
  • 11
  • 68
  • 157
15
votes
1 answer

Node's path particle effect with SpriteKit

I'm working with Swift, Sprite Kit and Xcode 6, I would like to create a particle effect in SpriteKit a little bit like the particles effects of the balls in the iOS game named "Duet", but I don't know how to proceed, I managed to create a particle…
Drakalex
  • 1,488
  • 3
  • 19
  • 39
14
votes
2 answers

Particle System libGDX

Can anyone give me a good example of where to start with making a particle system in libGDX? I have looked at the test example in the libGDX source but I am still having trouble getting my head around it. Maybe just a good explanation of it will…
Alex_Hyzer_Kenoyer
  • 1,321
  • 4
  • 17
  • 23
13
votes
1 answer

how to add particles using SpriteKit in iOS7

I'd like to add a particle to my SpriteKit app, but I can't find how to do it. I'm able to create using the particle editor, but how do I add them to my view? Thanks a lot in advance!
noloman
  • 11,411
  • 20
  • 82
  • 129
11
votes
2 answers

How do I make confetti?

I essentially want to emit confetti particles. Each particle is the same shape, however, I want each particle to be a random colour from a selection of colors I specify. Is there a way for each emitted particle to have a random color or do I need a…
asdfg
  • 123
  • 1
  • 6
11
votes
2 answers

Efficient particle system in javascript? (WebGL)

I'm trying to write a program that does some basic gravity physics simulations on particles. I initially wrote the program using the standard Javascript graphics (with a 2d context), and I could get around 25 fps w/10000 particles that way. I…
Austen
  • 418
  • 6
  • 11
11
votes
4 answers

Particle System Design?

I'm designing my own particle System engine, this is for learning purposes, I don't really want to use an existing engine. Right now I generated beautiful particles, but I want to layout the engine to make it easier to work with them. I have been…
Goles
  • 11,599
  • 22
  • 79
  • 140
10
votes
1 answer

good 3D explosion & particles effect using OpenGL (JOGL)?

I've been wanting to write it for some time now... as a project for the university, I've written (with a friend) a game that needed good explosions & particles effects. we've encountered some problems, which we solved quite elegantly (I think), and…
gilad hoch
  • 2,846
  • 2
  • 33
  • 57
9
votes
1 answer

particle brownian motion with directions

I'm trying to use brownian motion to create a group of random moving particles. http://jsfiddle.net/J75Em/16/ So far I've got the particles moving randomly but I'm not sure how to set the forward direction to make it look more natural. I've tried…
michael
  • 1,202
  • 5
  • 23
  • 34
9
votes
4 answers

Drawing particles

One part of my app shows a landscape, but it's kinda boring as of now. Therefore, I'm planning to animate some particles over the screen (think of something like tiny wings - http://www.youtube.com/watch?v=DpmcX-rWGfs). However, i have not yet found…
Erik S
  • 1,939
  • 1
  • 18
  • 44
9
votes
1 answer

Most performant image format for SCNParticles?

I've been using 24bit .png with Alpha, from Photoshop, and just tried a .psd which worked fine with OpenGL ES, but Metal didn't see the Alpha channel. What's the absolutely most performant texture format for particles within SceneKit? Here's a sheet…
Confused
  • 6,048
  • 6
  • 34
  • 75
1
2 3
52 53