I wrote  this small graphics program. to learn javascript.  The X,Y co-ordinates of both ends of each line, and the R, G, B values of each colour are generated by  sine waves each of random amplitude, frequency and phase. (Thats 15 random variables). IE8 and below, and Android browser don't support canvas, which this program requires.