View Full Version : formulae for calculating X and Y (perhaps Z) for Smoke etc.?

13-11-2005, 09:15 AM

I am not so good at maths.

I need a formula for calculating the X and Y coordinates for some nice looking smoke made of 2D particles, Z is not important but I could also use this to scale particles a bit.

This would be great.

If somebody has some other formula for nice particle effects that would also be great. Right now I am trying to do some rain, this should be simple enough for me!


13-11-2005, 10:57 AM
wouldn't perlin noise be good here?

13-11-2005, 11:20 AM
I want some particles for 2 D Particles and wonder how to set their coordinates for some cool Effects like animated smoke. I think perlin noise is something for a non animated picture, not for particles, or am I wrong?


13-11-2005, 11:29 AM
No need to generate noise or anything, linearly moving animated particles with slightly random movement direction, speed and lifetime should be enough, by slightly random I mean that particle direction should be more up than in other directions.

13-11-2005, 03:46 PM
If your object moves, then you don't need to move your smoke particles at all - it will look as your object leaves smoke trail. Optionally, you may define some (low) random speed and move your particles at this speed, so the trail expands. If your object stays still, then perhaps a good approach would be defining some random direction and direct the particles there so it doesn't look like your object is throwing smoke in all directions. :)