Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

PDF:

Feature

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
Resource File(s):

Download Icon 8412.zip Updated: Monday, May 3, 2010 at 7:59 PM

Related Web Link(s):

http://www.processing.org

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.


 


|

 


Weblog Commenting and Trackback by HaloScan.com