PDA

View Full Version : Particle systems: Particle Toy



VilleK
11-11-2006, 10:33 AM
Hi,

I wrote a test application for particle systems and it turned out quite entertaining so I'm posting it here.

You can set the parameters manually, or just use random settings with the right mouse button. The current particle emitter can be cloned with the left mouse button and then the clones can be pushed around the screen. There is an autopilot-mode which lets it run without user interaction.

Fun, trippy and useless :)

Written in Delphi 6, my favorite Delphi version.

Windows/OpenGL

:: More info here (http://www.emix8.org/static.php?page=ParticleToy).

:: Download here(36kb) (http://www.emix8.org/files/windows/Particles.zip).

http://www.emix8.org/images/Particles_small_1.jpghttp://www.emix8.org/images/Particles_small_2.jpghttp://www.emix8.org/images/Particles_small_3.jpg
http://www.emix8.org/images/Particles_small_4.jpghttp://www.emix8.org/images/Particles_small_5.jpghttp://www.emix8.org/images/Particles_small_6.jpg

Traveler
11-11-2006, 12:12 PM
Whoooo pretty colors....... :drunk:









Excellent stuff! Can you tell us something about the inner workings?

VilleK
11-11-2006, 12:46 PM
Excellent stuff! Can you tell us something about the inner workings?
Glad you liked it!

I'm writing a game engine in Delphi/Freepascal for small
64kb style games, using procedural techniques.

So the particle system is a kind of "component" in that engine.
I'm developing a small "game IDE" where you can add components
and edit their properties, like in Delphi.

The Particle Toy application, and the other small applications on
my website are developed within the IDE, using the component
editor and scripting language.

Here is an old screenshot of the IDE:
http://www.emix8.org/images/zdesigner_big.gif

savage
11-11-2006, 05:00 PM
Some very cool stuff there VilleK

WILL
11-11-2006, 05:02 PM
Indeed! I'm a particle fan myself. 8) Some nice work.

Any chance of a particle engine primer for the folks here at PGD?

NecroDOME
12-11-2006, 03:30 PM
I like the blur (some motion blur i think)..... :fuzzy:

VilleK
12-11-2006, 04:47 PM
Indeed! I'm a particle fan myself. 8) Some nice work.
Thanks!


Any chance of a particle engine primer for the folks here at PGD?
I'm not very good at writing tutorials, but I recommend anyone interested to look at this wiki page (http://en.wikipedia.org/wiki/Particle_system) about particle systems, and the external ]I like the blur (some motion blur i think)[/quote]
It is just a very simple feedback effect. Instead of clearing the screen, draw a fullscreen quad with 0.9 alpha each frame.

I've updated my Particle Toy page with a screensaver version now.