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.
Hey! Just a heads up; I removed your speech synthesis dweet, as it was on an infinite loop and autoplaying. If you can post in a way where it doesn't autoplay feel free to repost it. For reference this was the code: t||(s=speechSynthesis,o=new SpeechSynthesisUtterance("god"),o.pitch=9) c.width=2 a=t%.7*10 a>.01||s.speaking||s.speak(o) x.fillRect(0,2,a,a) . (Yes, we could use a better moderation system than leaving comments on other dweets ^^). Cool dweet btw, keep it up!
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)