Skip to content

Instantly share code, notes, and snippets.

View simon446's full-sized avatar

Simon Johansson simon446

View GitHub Profile

Keybase proof

I hereby claim:

  • I am simon446 on github.
  • I am simon446 (https://keybase.io/simon446) on keybase.
  • I have a public key ASB5modFGjQJGms-PhjO00TjX1iFkD7NJm329oFWOwL6iQo

To claim this, I am signing this object:

boolean AND1;
boolean AND2;
boolean AND3;
boolean XOR1;
boolean XOR2;
boolean XOR3;
boolean OR;
PImage bg;
int[] input = new int[] {0,1,1,1};
ArrayList<Particle> ellipses = new ArrayList<Particle>(); // En lista som sparar alla partiklar i sketchen
void setup() {
fullScreen();
frameRate(30);
//Skapar partiklarna
for (int i = 0; i < 500; i++) {
float x = random(width); // x = slumpmässig bredd
float y = random(height); // y = slumpmässig höjd