dwitter.net | Xen (6906)

+ 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
Xen
remix of d/20072 by u/Xen

function u(t) {

}//
135/140


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

  • Merry Xmas Dwitter Famalang!
  • u/BriSeven
    wonderful remix, i am amazed that people are still tweaking this one
  • u/danny@hille.dk
    treeception -> t?0:x.fillRect(0,0,2e3,2e3) for(Y=(a=i=555)*t%(X=1e3);--i;)x.fillText(i%9?'🌲':'⭐',X+=S(a+=4*Math.random())*Y/59,Y+=C(a)*9)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
136/140


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

  • Death Ball

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Xen

function u(t) {

}//
138/140


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

Xen
remix of d/3713 by u/bobdunn

function u(t) {

}//
105/140


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

  • had to have a play, quick test... shoutz to bobdunn
  • Show more comments…
  • u/karan
    Helpful tips! Is there an IRC or some messaging service to hang out with fellow dwitters?
  • u/Xen
    https://discord.gg/emHe6cP
  • u/bobdunn
    I was thinking about adding color. I like what you did here!
  • u/Xen
    thanks :-)

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.

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

function u(t) {

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

}//
140/140


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

  • quick remix light fade

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
123/140


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

  • Pipes

Please log in (or register) to comment.

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

function u(t) {

}//
126/140


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

  • Show my gilfriend another live code, was mean to be a starfield but i kinda carried on sorry #waitforit
  • u/lewdev
    What the heck is happening!? This is amazing!

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
Xen
remix of d/7011 by u/DirtyDan

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

  • Had to play

Please log in (or register) to comment.

Loading...
Next page