dwitter.net

+ 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 fullscreen
remix of d/16127 by u/maeln

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

  • variation on a theme

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

  • Sunset Pastel 🖍️

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/683 by u/mxfh

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.

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

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

  • Newton's Fractal

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/22308 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).

Please log in (or register) to comment.

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

  • why does this do this
  • u/timothytomato
    you could replace it with 1030-Math.hypot((500/t)*S(t*1.5)). the y coordinates for canvas is flipped, so the higher up something is the lower the y is, so subtracting from 1030 flips it back.
  • u/hells-fargo
    why didntr i think of that 6 hours ago

Please log in (or register) to comment.

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
remix of d/28826 by u/tomxor

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

  • ASCII hallway

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9074 by u/mangoose

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

Please log in (or register) to comment.

Loading...
Next page