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
| PVector center; | |
| ArrayList<Line> lines = new ArrayList<Line>(); | |
| public void setup(){ | |
| fullScreen(); | |
| noSmooth(); | |
| center = new PVector(width/2, height/2); | |
| colorMode(HSB); | |
| background(0); | |
| strokeWeight(1); |
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; | |
| PVector center; | |
| float lastAngle = 0; | |
| void setup(){ | |
| size(1200,800); | |
| center = new PVector(width/2, height/2); | |
| strokeWeight(10); | |
| noSmooth(); | |
| 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
| import processing.core.PApplet; | |
| import processing.core.PVector; | |
| import java.lang.reflect.Array; | |
| import java.util.ArrayList; | |
| public class MainApp extends PApplet{ | |
| public static void main(String[] args) { | |
| PApplet.main("MainApp"); |
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 processing.core.PVector; | |
| import java.util.ArrayList; | |
| public class MainApp extends PApplet{ | |
| public static void main(String[] args) { | |
| PApplet.main("MainApp"); |
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 processing.core.PGraphics; | |
| import processing.core.PImage; | |
| public class MainApp extends PApplet{ | |
| public static void main(String[] args) { | |
| PApplet.main("MainApp"); | |
| } |
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 android.view.MotionEvent; | |
| float damping = .95f; | |
| float[][] prev ; | |
| float[][] curr; | |
| int w; | |
| int h; | |
| int res = 22; |
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
| precision highp float; | |
| uniform vec3 resolution; | |
| uniform float time; | |
| uniform float[25] xs; | |
| uniform float[25] ys; | |
| uniform float[25] rs; | |
| uniform float mouseX; | |
| uniform float mouseY; | |
| void 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<Blob> blobs; | |
| PShader pShader; | |
| float gameSpeed = 1; | |
| public void setup() { | |
| fullScreen(P2D, 2); | |
| blobs = new ArrayList<Blob>(); | |
| for (int i = 0; i < 25; i++) { | |
| blobs.add(new Blob(random(width), random(height))); | |
| } |
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(); | |
| colorMode(HSB, 100); | |
| background(0); | |
| } | |
| void draw() { | |
| noStroke(); | |
| fill(0,1); |
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
| //TODO screenshot | |
| ArrayList<Touch> ts = new ArrayList<Touch>(); | |
| PGraphics canvas; | |
| float hueDegrees = 0; | |
| void setup() { | |
| fullScreen(P2D); | |
| canvas = createGraphics(width, height, P2D); | |
| canvas.beginDraw(); |