![]() |
![]() FAQ |
|
||||||||||||||||
![]() |
|
![]() |
|
![]() |
![]() |
Examples for Processing (BETA) version 91+. 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. |
![]() |
Lights by REAS <http://reas.com> Uses the default lights to show a simple box Created 16 April 2004 |
|
![]() |
![]() |
// Lights // by REAS <http://reas.com> float spin = 0.0; void setup() { size(200, 200, P3D); framerate(30); noStroke(); } void draw() { background(51); lights(); spin += 0.01; pushMatrix(); translate(width/2, height/2, 0); rotateX(PI/9); rotateY(PI/5 + spin); box(90); popMatrix(); } |
|
||
Processing is an open project initiated by Ben Fry and Casey Reas | ||
© Info |