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.
ima just start education everyone, the photosensitivity thing is EXCEEDINGLY RARE AND ONLY IN PEOPLE AFFLICTED BY EPILEPSY, AND TYPICALLY INVOLVES HIGH-CONTRAST FLASHING AT AROUND 3Hz (3 cycles per second). NOT JUST RANDOM BLINKING PIXELS OR COLORS. thank you
About 1.2% of people have epilepsy. So if there are 100 visitors to this site, at least 1 of them could be affected. I think it's worth having a disclaimer as 1.2 out of 100 isn't an infinitesimally small number. If 1000 people visit dwitter, 10 of them may be affected and that's not nothing. It's not paranoia, it's empathy.
Nice, reminds me of those silly movie scenes where they try to illustrate automation by spawning a bunch of GUI windows... except with cellular automata :D
About the epilepsy, perhaps there could be an option that a dweet can start "frozen" or "running". It would help me as well, because on some mobile devices, a script sometimes blocks my browser... just saying ;)
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)