This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ArrayList<Dot> dots; | |
| void setup() { | |
| size(500, 500); | |
| background(100); | |
| dots = new ArrayList<Dot>(); | |
| } | |
| void draw() { | |
| background(200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int steps = 40; | |
| Orbiter[] Orb = new Orbiter[steps]; // tmpX, tmpY, tmpOff, tmpDiam, tmpIncr | |
| float r = 0; | |
| float rad, off; | |
| float the = 0; | |
| void setup() { | |
| float x, y; | |
| size(500, 500); | |
| background(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int fc, num = 2000; | |
| ArrayList ballCollection; | |
| boolean save = false; | |
| float scal, theta; | |
| PImage img; | |
| void setup() { | |
| background(20); | |
| img=loadImage("A.gif"); | |
| size(img.width, img.height); |