dwitter.net | jonathan_b (9610)

+ 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.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Food
show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
139/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) {

}//
134/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/3262 by u/lurifax

function u(t) {

}//
139/140


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

  • Light swirl - Warning if you stare to long in the middle your vision might be temporary impaired :)

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
mlr

function u(t) {

}//
99/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/3697 by u/Citiral

function u(t) {

}//
140/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
remix of d/1231 by u/iverjo

function u(t) {

}//
139/140


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

  • Show more comments…
  • u/Xen
    you can live edit the code of any dweet and a 'remix' button appears, click that and it posts with a link to the original ;-)
  • u/lionleaf
    No worries, I've got you sorted ;-) Just make sure to use the remix feature next time. Nice remix, didn't immediately recognize it as such.
  • u/J2D28U
    Damn... I'm new as well and this exchange has kept me here!
  • u/Xen
    all welcome. :-)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Xen

function u(t) {

}//
115/140


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

  • u/lionleaf
    Welcome to all the new people from /r/programmer, hackernews and twitter! :D
  • u/Xen
    fresh blood lol! welcome to the jungle, take a look around ;-)
  • u/sigveseb
    oh god the colors:P and welcome to all
  • u/j0bit
    o.O what the heck is going on in this syntax?
  • u/iverjo
    @j0bit: Search for "JS Template Literals" and "JS Ternary Operator" on the internet
  • u/j0bit
    Cool, appreciate it.

Please log in (or register) to comment.


function u(t) {

}//
140/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) {

}//
129/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/2238 by u/aemkei

function u(t) {

}//
137/140


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

  • the world …

Please log in (or register) to comment.

Loading...
Next page