dwitter.net | yokljo (370)

+ 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: #Opposites
show FPS hide FPS share 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).

  • u/joeytwiddle
    Which browser and OS do you use? I tried Chrome and Firefox on Linux and Mac but unfortunately they don't appear.
  • u/yokljo
    Interesting, I'm using Chrome on Linux. Maybe I have the right font installed...

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/3264 by u/hoblay

function u(t) {

}//
61/140


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

  • Thought it could do with some golfing
  • u/Xen
    can lose the ; by putting fillRect outside the brackets.
  • u/yokljo
    oh yeah lol

Please log in (or register) to comment.

show FPS hide FPS share 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).

  • u/donbright
    is this like a crazy game of life? very intersting

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/3111 by u/yokljo

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

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

}//
106/140


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

  • u/magna
    Added this as a dweet player loader :)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
120/140


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

  • This was only running at 20 fps on my phone when I wrote it so results may vary

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
108/140


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

  • This does some whack stuff on my desktop Chrome, which you may see if you attempt to edit the code (put a space at the end or something)
  • u/yokljo
    Here is the minimum requirements for the weird Chrome bug to occur: t<.1?w=c.width=100:d=x.getImageData(0,0,w,w);x.putImageData(d,0,0)

Please log in (or register) to comment.

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

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

  • yes

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/3031 by u/yokljo

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

  • Just playing around on my phone

Please log in (or register) to comment.

Loading...
Next page