Trace of 10 consecutive random numbers on a number line

This program generates random numbers consecutively and plots a curve between them. Depending on what the next number is, it either draws a curve on the top of the line or on the bottom.
As we all can guess we keep getting different shapes...
When the number of curves is near 1000:

welcome back to the forums. dang thats cool.

Awesome results from a simple algorithm. Thanks!

Thank you Brian...

Thank you

welcome to the forums please don't say random stuff here