dwitter.net | trupples (15393)

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

  • Try to control it :)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
104/140


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

  • Another drawing thingy

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/5632 by u/trupples

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

}//
97/140


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

  • Just another spinning ball but this time taking inspiration from Phyllotaxis /shrug

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
97/140


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

  • Gamepad input! Without the x.fillRect statement you've got 67 usable chars

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

  • u/Purpzie
    Shortened by 12 characters: c.width|= h=540;with(x)for(i=1;i<t*20;stroke())a=2/t*++i,beginPath(),moveTo(C(a)*h+960,S(a)*h+h),lineTo(C(a*t)*h+960,S(a*t)*h+h)

Please log in (or register) to comment.

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

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
116/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
remix of d/3613 by u/New_Core

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

  • Show more comments…
  • u/Bugsy
    (Sorry for multiple messages, accidentally hit the enter key :P)
  • u/sigveseb
    I added a remix link to d/3613 :)
  • u/GitAtMe
    Bugsy is right I couldn’t figure it out, thanks for fixing it sigveseb!!!
  • u/Xen
    it was an obvious accident as the first you posted was a link, its just some past users harvested older dweets and tried to pass them as their own.

Please log in (or register) to comment.

Loading...
Next page