xxxxxxxxxx
// Rewrite of https://www.openprocessing.org/sketch/209834
// With some tweaks and refactoring.
void setup() {
size(750,750);
background(0);
}
void draw() {
stroke(random(0, 255), random(0, 255), random(0, 255), 30);
for (int i = 0; i < 30; i++) {
// Draw random length lines shooting out from the center of the screen
line (width/2, height/2, random(0, width), random(0, height));
}
}
void keyPressed() {
// Reset background
background(0);
}