dwitter.net | TGY (49)

+ 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.
Theme challenge of the month: #time
TGY

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

  • click the canvas :-)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

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

  • Watch how atom collapses as electron lands on the kernel

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

function u(t) {

}//
125/140


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

  • Those waves are so sick!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

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

  • Black&Red endless spiral staircases

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

function u(t) {

}//
118/140


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

  • fancy stuff

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

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

  • Tron game (use arrow keys). You'd better open it in new tab to prevent scrolling around

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

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

  • eggs
  • u/DaSpider
    Let me fix that for you c.width=555,x.font='5em S',x.fillText('('+[(s=' ')+s+s,'* '+s,'_*'+s,'*_*',s+'*_',s+' *'][Math.floor(4*t)%6]+')',200,170)
  • u/DaSpider
    Adjust spaces in ' ', as comment apparently removes spaces.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

function u(t) {

}//
128/140


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

  • another thingie :))

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

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

  • thingie

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

function u(t) {

}//
88/140


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

  • cycloid

Please log in (or register) to comment.

Loading...
Next page