dwitter.net | Xen (3642)

+ 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 1 remix fullscreen
Xen

function u(t) {

}//
45/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
Xen
remix of d/15080 by u/rep_movsd

function u(t) {

}//
110/140


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

  • Xen: needed to play, awesome colors, shoutz 2 rep_movsd

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
130/140


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

  • Xen: Taiji Proelium

Please log in (or register) to comment.


function u(t) {

}//
101/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
Xen

function u(t) {

}//
141/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
Xen
remix of d/15011 by u/username

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
Xen

function u(t) {

}//
124/140


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

  • Xen: bored math test with random
  • Fime: Golfing tip: When calling a random function often you might want to use r={valueOf:Math.random} instead. You then get a new random value when accessing r like a normal variable (no () needed)
  • f8f82804: If you're willing to re-use an already-declared variable you can save a couple more characters: T.valueOf=Math.random
  • donbright: yay. #trigfree

Please log in (or register) to comment.

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

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).

Please log in (or register) to comment.

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

function u(t) {

}//
97/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
Xen
remix of d/14946 by u/SamuelHoward

function u(t) {

}//
88/140


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

  • Xen: loved the original, had to remix

Please log in (or register) to comment.

Loading...
Next page