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.
Thanks for the low-res hi-fps 2019 preview! Fortunately the "record" option is able to generate the full performance hi-quality animated GIF. Here it is: https://twitter.com/rsiqueira/status/1127047…
Oh wow, awesome gif! Here's my gif making tip of the day... Change the delay between frames 16 ms, so it will animate at super smooth 60 fps. You can add t/=2 before recording to prevent it from speeding up. Here's a 60 fps one I made for pavel https://imgur.com/gallery/oHiQizL
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)