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.
I watched this in my Oculus 3s in 360. got to slow for it but works. I tried to see it linked to my computer but didnt find any setting to run it in 360. but I am new to VR. ;)
u/magna this issue is a feature, not a bug XD ... in seriousness, the forced "landscape" orientation is a product of years of responsive web design experience. I've chosen for my apps, instead of trying to adjust to arbitrary user viewports with inescapable problems, to just peg the dimensions, so my apps always known their environment. The 16:9 (1920 x 1080) is just the most common computer monitor full-screen resolution, which is also the "landscape" orientation for many mobile devices. so, thank you for the request, and feel free to fork/innovate/modify my github repos!
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)