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
| String[] instructions = "3,225,1,225,6,6,1100,1,238,225,104,0,1101,11,91,225,1002,121,77,224,101,-6314,224,224,4,224,1002,223,8,223,1001,224,3,224,1,223,224,223,1102,74,62,225,1102,82,7,224,1001,224,-574,224,4,224,102,8,223,223,1001,224,3,224,1,224,223,223,1101,28,67,225,1102,42,15,225,2,196,96,224,101,-4446,224,224,4,224,102,8,223,223,101,6,224,224,1,223,224,223,1101,86,57,225,1,148,69,224,1001,224,-77,224,4,224,102,8,223,223,1001,224,2,224,1,223,224,223,1101,82,83,225,101,87,14,224,1001,224,-178,224,4,224,1002,223,8,223,101,7,224,224,1,223,224,223,1101,38,35,225,102,31,65,224,1001,224,-868,224,4,224,1002,223,8,223,1001,224,5,224,1,223,224,223,1101,57,27,224,1001,224,-84,224,4,224,102,8,223,223,1001,224,7,224,1,223,224,223,1101,61,78,225,1001,40,27,224,101,-89,224,224,4,224,1002,223,8,223,1001,224,1,224,1,224,223,223,4,223,99,0,0,0,677,0,0,0,0,0,0,0,0,0,0,0,1105,0,99999,1105,227,247,1105,1,99999,1005,227,99999,1005,0,256,1105,1,99999,1106,227,99999,1106,0,265,1105,1,99999,1006,0,99999,1006,227,274,1105,1,999 |
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<Integer> masses = new ArrayList<Integer>(); | |
| void setup() { | |
| masses.add(145866); | |
| masses.add(101641); | |
| masses.add(71590 ); | |
| masses.add(95922 ); | |
| masses.add(140188); | |
| masses.add(72376 ); | |
| masses.add(55476 ); |
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
| private PVector cameraOffset; | |
| private PVector playerPos = new PVector(), playerSpd = new PVector(); | |
| private float linTime; | |
| public void settings() { | |
| 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
| private PVector cameraOffset; | |
| private PVector playerPos = new PVector(); | |
| public void setup() { | |
| size(800, 800, P2D); | |
| cameraOffset = new PVector(width / 2, height / 2); | |
| } | |
| public void draw() { | |
| float t = 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
| import applet.HotswapGuiSketch; | |
| import processing.core.PGraphics; | |
| public class ${NAME} extends HotswapGuiSketch { | |
| public static void main(String[] args) { | |
| HotswapGuiSketch.main("${NAME}"); | |
| } | |
| private float t; | |
| private PGraphics pg; |
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.io.File; | |
| import java.util.ArrayList; | |
| import static java.lang.System.currentTimeMillis; | |
| public void setup() { | |
| size(800, 800, P3D); | |
| } | |
| public void draw() { | |
| uniform("frag.glsl").set("time", 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
| private float rowWidthWindowFraction = 1 / 3f; | |
| private float rowHeightWindowFraction = 1 / 14f; | |
| private float elementPaddingFractionX = .9f; | |
| private float elementPaddingFractionY = .8f; | |
| private float buttonsPerRow = 2; | |
| private float togglesPerRow = 2; | |
| private float slidersPerRow = 1; | |
| private float textActive = 0; | |
| private float textPassive = .5f; |
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
| // gui grid variables | |
| private float rowWidthWindowFraction = 1 / 3f; | |
| private float rowHeightWindowFraction = 1 / 14f; | |
| private float elementPaddingFractionX = .9f; | |
| private float elementPaddingFractionY = .8f; | |
| private float buttonsPerRow = 2; | |
| private float togglesPerRow = 2; | |
| private float slidersPerRow = 1; | |
| private float textActive = 0; | |
| private float textPassive = .5f; |
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<P> ps = new ArrayList<P>(); | |
| ArrayList<P> psBin = new ArrayList<P>(); | |
| int startBuffer = 4000; | |
| int birthDistanceFromCamera = 3000; | |
| void setup() { | |
| size(800, 800, P3D); | |
| //fullScreen(P3D); | |
| for (int i = 0; i < startBuffer; 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
| C:\ffmpeg\bin\ffmpeg.exe -framerate 60 -i %03d.jpg out.mp4 |