This file contains 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 sunSize = 100; | |
float planetRadiusStep = 180; | |
float planetSize = 45; | |
int count = 4; | |
int brightColor; | |
int darkColor; | |
int orbitColor; | |
int bgColor; | |
ArrayList<Float> offsets = new ArrayList<Float>(); | |
float mouseOffset = 0; |
This file contains 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 emitter = new PVector(); | |
int particleCount = 100; | |
int particlesCreatedPerFrame = 5; | |
int particleLifetimeFrames = 60; | |
float time; | |
ArrayList<Particle> particles = new ArrayList<Particle>(); | |
void setup() { | |
size(800, 800); | |
background(24); |
This file contains 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
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"valueString": "dark", | |
"children": [ | |
{ |
This file contains 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 com.krab.lazy.*; | |
LazyGui gui; | |
String[] monthNames = new String[]{ | |
"January", | |
"February", | |
"March", | |
"April", | |
"May", | |
"June", |
This file contains 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 com.krab.lazy.*; | |
LazyGui gui; | |
PGraphics pg; | |
float t; | |
float phase; | |
float lightPhase; | |
boolean growing; | |
float r; | |
float angle0; |
This file contains 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 count = 10; | |
float step = 40; | |
float xPos = 400; | |
PGraphics gradient; | |
void setup() { | |
size(800, 600, P2D); | |
createGradient(); |
This file contains 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 com.krab.lazy.*; | |
LazyGui gui; | |
PGraphics noiseOverlay; | |
void setup() { | |
size(800, 800, P2D); | |
gui = new LazyGui(this, new LazyGuiSettings() | |
.setLoadLatestSaveOnStartup(true) | |
); |
This file contains 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 ch.bildspur.postfx.builder.*; | |
import ch.bildspur.postfx.pass.*; | |
import ch.bildspur.postfx.*; | |
import org.gicentre.handy.*; | |
import com.krab.lazy.*; | |
PostFX fx; | |
LazyGui gui; | |
HandyRenderer hr; | |
PImage img; |
This file contains 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 bgTop = 20; | |
int bgBot = 230; | |
PImage tex; | |
float sx, sy; | |
PMatrix3D mouseRotation = new PMatrix3D(); | |
void mouseRotate() { | |
float x = mouseX - pmouseX; | |
float y = mouseY - pmouseY; | |
float drag = 0.98; |
This file contains 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 = 400; | |
float prevY = 400; | |
float dir = 0; | |
float off; | |
int imgSize = 120; | |
PImage img; | |
float bgColor = 30; |
NewerOlder