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.
This is it's quite elegant code: f=($,e,l)=>{if(l>1){let _=l/3;f($,e,_),f($+_,e,_),f($+2*_,e,_),f($,e+_,_),f($+2*_,e+_,_),f($,e+2*_,_),f($+_,e+2*_,_),f($+2*_,e+2*_,_)}else x.fillRect($,e,1,1)},t<=0&&f(0,0,1080);
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)