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
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Center( | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
spacing: 50, | |
children: <Widget>[ | |
Text( | |
'floppy fish', | |
style: TextStyle( |
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
// Should work on APDE | |
// Based on a GDC talk called "Exploring the Tech and Design of Noita" | |
// https://www.youtube.com/watch?v=prXuyMCgbTc | |
private PGraphics pg; | |
float scale = 0.075f; | |
float prevScale = scale; | |
float rectWidth, rectHeight; |
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; |
NewerOlder