u(t) is called 60 times per second.
t: Elapsed time in seconds.
S: Shorthand for Math.sin.
C: Shorthand for Math.cos.
T: Shorthand for Math.tan.
R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5)
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
You can squeeze it under 140 bytes with some tricks (need to reverse bits): for(x.reset(i=15);i--;)x.fillRect(870+i%3*60,60*(0|i/3),60,[31599,25751,29671,29647,23497,31183,31215,29257,31727,31695][0|t%10]&1<<i&&60)
u(t) is called 60 times per second.
t: elapsed time in seconds.
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
S: Math.sin
C: Math.cos
T: Math.tan
R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)