Fun with Particles
Particle systems are fun!
Issue: 8.4 (May/June 2010)
Author: Jens Bendig
Article Description: No description available.
Article Length (in bytes): 17,528
Starting Page Number: 40
RBD Number: 8412
8412.zip Updated: Monday, May 3, 2010 at 7:59 PM
Related Web Link(s):
Known Limitations: None
Excerpt of article text...
We all have seen Particle Systems. They lie under those smoke and fire effects we often see in games or movies. A Particle System is controlling the motion of a collection of objects following some rules. It can be two- or three-dimensional, and in rare cases higher dimensional (or even one-dimensional). In this article, I'll focus on how to make your own effective 2D Particle System. The objects are circles and the rules are elastic collisions with a boundary and elastic collisions with each other. I don't show how to put render effects onto those particles or how to generate CGI-effects. Instead I will concentrate on how to make an effective particle-particle collision so that you can move a high number of particles without having to compute too much. Once you have the system, you can implement your own rules of particle-particle interaction, design your own physics, or use it to produce effects within a game. I've made models for the simulation of chemical reactions within a cell, the simulation of thermal-transport, or a visualization of thermodynamic effects. A particle system for a scientist is a little bit like farina: you can make a lot of different breads and cakes out of it! Have fun with playing around.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.