Haig Armen Educational Archive


Exercise 20

by Haig. Average Reading Time: less than a minute.

Making a starry night


void setup() {
  size(600,400);
  background(0);
  noStroke();
}

void draw() {
  //background(0);
  fill(0, 10);
  rect(0, 0, width, height);
  
  fill(255);
  ellipse(random(width), random(height), 2, 2);
}

No comments on ‘Exercise 20’

Leave a Reply