dwitter.net | midnoclose (14)

+ New dweet
function u(t) {
} //
122/140


Please log in (or register) to post a dweet (copy-paste the code somewhere safe to save it meanwhile)


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 hide FPS share fullscreen

function u(t) {

}//
107/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/12768 by u/Xen

function u(t) {

}//
145/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Xen: declare w in the first text to save 2 bytes ;)
  • Xen: also x.font="480px'"

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
143/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • LimeLaser: It reminds me of Rainbow Road from Mario Kart!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
111/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • midnoclose: I learned how sine, cosine, and tangent waves work today!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
100/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • midnoclose: I accidentally spelled my username wrong so I had to make a new account.
  • midnoclose: I didn't understand how this math worked before but now I do, so expect a lot more cool stuff!

Please log in (or register) to comment.

You've reached the end.