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
17 remixes
fullscreen
- d/28932 by u/baon
- d/26729 by u/NiekvD
- d/12288 by u/username
- d/10967 by u/metamero
- d/10129 by u/Purpzie
- d/6648 by u/BirdsTweetCodersDweet
- d/6647 by u/BirdsTweetCodersDweet
- d/6646 by u/BirdsTweetCodersDweet
- d/5049 by u/mchll.bd
- d/4166 by u/jonathan_b
- d/3849 by u/Mr.rose
- d/2151 by u/jczimm
- d/1793 by u/quidnovum
- d/1784 by u/quidnovum
- d/1155 by u/zenymay5
- d/1093 by u/sfacci
- d/1012 by u/themercedesofpencils
function u(t) {
- Show more comments…
-
u/Leodude123
-
u/Leodude123
-
u/Scaledish
-
u/jczimm
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)