This sketch uses the
random() function to fill the screen with random lines.
- Make it so every line starts on one half of the canvas and ends on the other half.
- Instead of random colors, make every line a different shade of the same color.
- Make the lines fade over time. Hint: Try adding
background(50, 10);to the top of the
Comments and Questions
Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!