Works off of linear interpolation(lerp). Drag the black circles to manipulate the curve. Press Space to make the points move randomly.
Credit to @XxhackerlolxX for Bezier Curves. me for the color and more points.