function u(t) {
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.
show FPS
share
15 remixes
fullscreen
- d/29452 by u/Aeholbrook
- d/25772 by u/manueldelanda
- d/22120 by u/JuliSC
- d/13348 by u/username
- d/8356 by u/BirdsTweetCodersDweet
- d/5200 by u/donbright
- d/4582 by u/augzodia
- d/4260 by u/danr
- d/4172 by u/flyguy
- d/4094 by u/futureperfect
- d/4076 by u/qwalrus
- d/4049 by u/veubeke
- d/4012 by u/J2D28U
- d/3873 by u/jasonisascarydog
- d/3711 by u/Xen
function u(t) {
- Show more comments…
-
u/donbright
-
u/f8f82804
-
u/Fox
-
u/vain
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)