dwitter.net | ern0 (3606)

+ 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

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

  • I'm working on a version with green mountains and water but I need to shave a few bytes of this one first. Suggestions welcome

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

  • Fractal in the wind

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8774 by u/Feiro

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

  • [Game] This game involves clicking flying money. The objective is to keep the supply of money coming for as long as possible by clicking the money before it escapes. However some of the supply is counterfeit, and clicking on counterfeit currencies lead to consequences.
  • u/lionleaf
    Awesome dweet! Looks like jquery has snuck itself in, so unfortunately this dweet will break in the future, as I plan to remove jquery access for the dweets.
  • u/lionleaf
    #interactive #game

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8761 by u/magna

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

  • Proof of concept. Christ, what am I doing with my life #sex

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

  • Psychedelicacy 👌

Please log in (or register) to comment.


function u(t) {

}//
131/140


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

  • u/micahcowan
    #emoji
  • u/Agnes
    You could use clipping to have the pointing hand disappear into the OK hand if you placed the clip rectangle just right. I don't know how you would save up the characters though, maybe by using a for loop to only have one fillText call (but that would also eat characters with all the ?: statements you'd have instead).
  • u/magna
    Yeah, clipping would make it awesome! Let's see if this can be golfed down significantly to open up space for some clipping.
  • u/Agnes
    I posted a clipping remix. You can do scaling, translation and rotation in a single call to setTransform.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
132/140


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

  • u/micahcowan
    Damn! Worked on Chrome on my Android, but not Chrome on my Mac (weird). The building isn't visible. #emoji
  • u/joeytwiddle
    256px is the highest you can go on Mac Chrome, 324px on Mac Firefox. To work around, scale down the canvas.
  • u/BirdsTweetCodersDweet
    Works fine on Chrome on Linux

Please log in (or register) to comment.

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

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

Please log in (or register) to comment.

Loading...
Next page