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
| void setup() { | |
| size(500, 500, P3D); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| } | |
| void draw() { | |
| background(0, 0, 0); | |
| lights(); | |
| translate(width/2, height/2, -300); | |
| rotateZ(frameCount*.001); |
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
| import processing.core.*; | |
| public class MainApp extends PApplet { | |
| int x, y; | |
| public void settings() { | |
| size(500, 500, FX2D); | |
| } |
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
| import java.util.*; | |
| Calendar cal; | |
| void setup() { | |
| size(960, 540); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| smooth(2); | |
| noFill(); | |
| strokeCap(PROJECT); | |
| background(0,0,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 num = 5; | |
| ArrayList<Waves> ws; | |
| void setup() { | |
| size(960, 540); | |
| colorMode(HSB, 360, 100, 100); | |
| frameRate(30); | |
| smooth(); | |
| ws = new ArrayList<Waves>(); | |
| for (int i = 0; i < num+1; i++) { | |
| ws.add(new Waves(height/num*i)); |
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
| import java.util.*; | |
| void setup() { | |
| size(960, 540); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| noStroke(); | |
| } | |
| void draw() { | |
| background(0, 0, 50); |
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
| import gifAnimation.*; | |
| GifMaker gifMaker; | |
| float r = 200; | |
| void setup() { | |
| size(500, 500); | |
| colorMode(HSB, 360, 100, 100); | |
| frameRate(60); | |
| textAlign(CENTER, CENTER); | |
| textSize(20); |
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
| void setup() { | |
| size(500, 500, P3D); | |
| colorMode(HSB, 360, 100, 100); | |
| noStroke(); | |
| } | |
| void draw() { | |
| background(0, 0, 0); | |
| lights(); | |
| pushMatrix(); |
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
| void setup() { | |
| size(500, 500, P3D); | |
| colorMode(HSB, 360, 100, 100); | |
| noStroke(); | |
| } | |
| void draw() { | |
| background(0, 0, 0); | |
| lights(); | |
| pushMatrix(); |
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<Arc> arcs = new ArrayList<Arc>(); | |
| void setup() { | |
| size(960, 540, FX2D); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| smooth(); | |
| noStroke(); | |
| float r = 50; | |
| for (int i = 0; i < 50; i++) { | |
| float x = width/2; | |
| float y = height/2; |
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
| Mover m; | |
| float num = 20; | |
| int xSize, ySize; | |
| ArrayList<Mover> movers = new ArrayList<Mover>(); | |
| void setup() { | |
| size(500, 500); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| background(0, 0, 100); | |
| rectMode(CENTER); |