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.
[Falling Numbers 1.4] ADDITIONS: arcade style movements, proper score display (all though in the zero lane, the score still falls...), and a clearer objective (simply type what shows up on the screen that is falling).
Nice improvements! I think it would be fun with just 4 tracks? Maybe 1-4 or 2,3,8,9 for ergonomic reasons. Will get closer to dance dance revolution #DDR (which I'll admit I've played on a computer quite a bit) #interactive
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)