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
| public void settings() { | |
| // size(800,600); | |
| fullScreen(); | |
| } | |
| public void draw(){ | |
| background(0); | |
| stroke(255); | |
| fill(0); | |
| drawCircle(width/2, height/2, 500+500*sin(radians(frameCount))); |
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
| public void settings() { | |
| // size(800,600); | |
| fullScreen(P2D); | |
| } | |
| public void draw(){ | |
| background(0); | |
| stroke(255); | |
| noFill(); |
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
| public void settings() { | |
| // size(800,600); | |
| fullScreen(); | |
| } | |
| public void setup() { | |
| 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
| public void settings() { | |
| //size(800,600); | |
| fullScreen(P2D); | |
| } | |
| public void setup(){ | |
| } |
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(800,600); | |
| fullScreen(P2D); | |
| } | |
| float step ; | |
| void draw(){ | |
| background(255); | |
| step = map(mouseX, 0, width, .1f, 1f); | |
| drawRecursively(width/2, height/2, width/3, true); | |
| } |
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
| float inputX, inputY; | |
| public void settings() { | |
| // size(800,600); | |
| fullScreen(P2D); | |
| } | |
| public void setup() { | |
| 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
| import processing.core.PApplet; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.concurrent.ThreadLocalRandom; | |
| public class Main extends PApplet{ | |
| public static void main(String[] args) { | |
| PApplet.main("Main"); | |
| } |
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<Line> lines = new ArrayList<Line>(); | |
| void setup(){ | |
| size(800,800); | |
| background(200); | |
| frameRate(1); | |
| createBaseShape(); | |
| strokeWeight(1); | |
| drawLines(); | |
| } |
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<Line> lines = new ArrayList<Line>(); | |
| public void setup(){ | |
| size(800,800); | |
| colorMode(HSB); | |
| background(0); | |
| strokeWeight(1); | |
| frameRate(30); |
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<Line> lines = new ArrayList<Line>(); | |
| public void setup(){ | |
| size(800,800); | |
| colorMode(HSB); | |
| background(0); | |
| strokeWeight(2); | |
| frameRate(30); | |
| createLine(); | |
| drawLines(); |