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 octaves; | |
| void setup() { | |
| size(800, 800, P2D); | |
| smooth(8); | |
| } | |
| void draw() { | |
| background(0); | |
| float t = radians(frameCount*.5); |
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<V> vs = new ArrayList<V>(); | |
| ArrayList<V> vsBin = new ArrayList<V>(); | |
| float minD = 10; | |
| float maxD = 1920/2; | |
| float t; | |
| float hue; | |
| void setup() { | |
| fullScreen(P2D); | |
| 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
| PGraphics tex; | |
| PImage src; | |
| float t; | |
| float size = 1920/8; | |
| float w = size*2; | |
| float h = sqrt(3)*size; | |
| float xstep = w*(3/4f); | |
| float ystep = h; | |
| int hexCountX; |
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
| PGraphics canvas; | |
| void setup() { | |
| fullScreen(P2D); | |
| canvas = createGraphics(width*2, height*2, P2D); | |
| canvas.beginDraw(); | |
| canvas.colorMode(HSB, 1, 1, 1, 1); | |
| canvas.background(0); | |
| canvas.endDraw(); | |
| } |
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 prevX, prevY; | |
| PGraphics canvas; | |
| float goldenRatio = 1.61803398875; | |
| void setup() { | |
| size(400, 400, P2D); | |
| background(0); | |
| canvas = createGraphics(width, height, P2D); | |
| canvas.beginDraw(); | |
| canvas.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 setup() { | |
| size(800, 800, P3D); | |
| smooth(8); | |
| } | |
| public void draw() { | |
| float t = radians(frameCount*.2f); | |
| background(0); | |
| translate(width*.5f, height*.5f); | |
| rotateX(t*.5); |
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.UUID; | |
| ArrayList<P> ps = new ArrayList<P>(); | |
| int pointCount = 1000; | |
| PImage source; | |
| private float t; | |
| private int framesToCapture = 300; | |
| private int captureStart = -1; | |
| String id = ""; |
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
| <head> | |
| <script type="text/javascript"> | |
| var textInput; | |
| function onload() { | |
| textInput = document.getElementById('textInput'); | |
| textInput.addEventListener("keyup", function(event) { | |
| if (event.keyCode === 13) { | |
| event.preventDefault(); | |
| enterUp(); |
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 t; | |
| void setup() { | |
| fullScreen(P3D); | |
| } | |
| void draw() { | |
| t = radians(frameCount); | |
| background(0); | |
| 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
| float t; | |
| float frqMult = 3; | |
| float ampMult = .3; | |
| float startFrq = 6; | |
| int octaves = 3; | |
| int count = 30; | |
| int vertices = width; | |
| int sunStartFreq = 10; | |
| ; |