Smoke Particle System

Examples for Processing (BETA) version 116+. If you have a previous version, use the examples included with your software. If you see any errors or have comments, please let us know.

Primitives 3D.

Placing mathematically 3D objects in synthetic space.
The lights() method reveals their imagined dimension.
The box() and sphere() functions each have one parameter
which is used to specify their size. These shapes are
positioned using the translate() function.

Created 16 January 2003

 
size(200, 200, P3D); 
background(0);
lights();
noStroke();

pushMatrix();
translate(47, height/2, 0);
rotateY(0.75);
box(50);
popMatrix();

pushMatrix();
translate(200, height/2, 0);
sphere(100);
popMatrix();