dwitter.net | robbyg (269)

+ 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
remix of d/10978 by u/and3k5

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

  • robbyg: Less color, more reading.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/6638 by u/robbyg

function u(t) {

}//
134/140


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

  • robbyg: I always start thinking about #snow this time of year.

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

  • sigveseb: niiiice
  • f8f82804: the last line isn't needed; resettting the width also clears any transform
  • f8f82804: 103: c.width|=0;x.translate(960,540);for(i=9;i--;x.fillRect(i*99+S(t)*300-480,-99,50,200))x.rotate(S(i+t)/3)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9944 by u/MoleGaming

function u(t) {

}//
109/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/9917 by u/THORinHOOD

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
109/140


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

  • f8f82804: awesome! I love the dashed line effect, it's really well done 👍

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
91/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/5332 by u/robbyg

function u(t) {

}//
59/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 1 remix fullscreen

function u(t) {

}//
96/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

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

Please log in (or register) to comment.

Loading...
Next page