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.
Jus found out you can use slice insted of substring in some cases so save a char : c.width|=w=160 x.fillText(Date(x.font='5in v').slice(16),w,780) for(i=45;i--;)x.drawImage(c,X=i%9*w,Y=i/9*w,w,w,X+T(i+t)*w,Y+S(i-t)*w,w,w)
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)