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.
@pavel, if you ever find that you just can't get it working within 140b, you have 2 options, the handy compressor @ d/9207, or there's also https://codegolf.tk which allows up to 1kb with bonus cred for getting under 512 or 140.. full disclosure, i run codegolf.tk. brilliant work btw. :)
@prplz, of course. how stupid of me. obviously i was advocating giving up easily.
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)