linearCurve
Description
The idea behind this animation is to have a data structure called a Curve. Each Curve contains a list of x, y coordinates, each coordinate alternates between going down (vertically) a random amount, or going to the left or right a random amount. The first coordinate has value of y = 0, and the list of coordinates ends when y goes past the screen height. We can specify the x-coordinate that each Curve should start at. This animation occurs when we make an array of curves, which start at every x-coordinate from 0 to screen width. Additionally, every frame each Curve gets its x-coordinates randomly offset by a value from -2 to 2.