Skip to content

Instantly share code, notes, and snippets.

@realguystuff
realguystuff / sketch_230701_a.java
Last active July 3, 2023 04:53
Code to my stream
// Last edited January 17, 2013, UNTIL I brought it back on June 19, 2015!
//These are the easy-to-edit variables.
final boolean USE_RANDOM_SEED = false;
// determines whether random factors will be determined by the preset seed.
//If this is false, the program will run differently every time. If it's true, it will run exactly the same.
final int SEED = (int) random(-1000, 1000);
final float WINDOW_SIZE = 1.0; // window size multiplier. If it's 1, the size is 1280x720.
// The seed that determines all random factors in the simulation. Same seed = same simulation results,
// different seed = different simulation results. Make sure USE_RANDOM_SEED is true for this.