nick34992
4/19/2016 - 3:35 PM

Load Pixels. Using processing.js library.

Load Pixels. Using processing.js library.

void setup () {
  size (1024, 576); <!-- 16:9 284.625 -->
  colorMode(HSB, 360, 100, 100);
  frameRate(5);
}

void draw () {
  loadPixels();
  for (int i=0; i<pixels.length; i++) {
    pixels[i] = color(random(360),random(100),random(100));
  }
  updatePixels();  
}