dwitter.net | larsch (8)

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

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

}//
122/140


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

  • u/iverjo
    Smooth!
  • u/New_Core
    Would be nice if dwitter had so you could post an example based on a dwitt without posting a new one. for example on this one I would post.. c.width=2e3;for(y=1500;y--;)a=y%29,b=y%52,x.fillRect(b*40,a*40,C((b*a)/8+t*2.5)*40,S((b-a)/7+t*3)*40)
  • u/iverjo
    Ah, a golfed version :)
  • u/lionleaf
    Good idea, I've been toying with the thought for a while. What's your take on how it should look / work in practice? Allow comments to be a dweet that can be opened and closed?
  • u/New_Core
    one way would be to have like a offspring dweet button... when you use it the code will be placed in a dropdown list under the original dweet.. not sure how it should look like but the original show allways first and then you can select an edited version. (keeps comments clean)
  • u/iverjo
    Here's an idea: https://github.com/lionleaf/dwitter/issues/7…

Please log in (or register) to comment.

You've reached the end.