Code:
- function setup()
- {
- createCanvas(800, 800)
- background(255)
- }
- function draw()
- {
for(var i = 0; i < 500; i++) - {
- stroke(random(50, 200), 0, 0, random(255))
- strokeWeight(random(10))
- line(width/4, height/4, random(width), random(height))
- }
- noLoop()
- }