dwitter.net | iverjo (55735)

+ 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

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 1 remix fullscreen
remix of d/7141 by u/prplz

function u(t) {

}//
112/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/3178 by u/cantelope

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
remix of d/2298 by u/keithclark

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

  • Black hole inside a sphere

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9345 by u/yonatan

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

  • Should we just declare a 184 byte limit and be done with all this compression business?
  • u/cantelope
    For some time, there has been https://codegolf.tk, which has categories for 140, 512, and 1024 byte dweets. Full disclosure: I created the site.
  • u/f8f82804
    I'm with @cantelope. If you resort to compression, that's a choice.
  • u/aleamb
    amazing dweet!
  • u/yonatan
    source: for(x[f='fillRect'](0,0,c.width=i=1e3,i);i--;x[f](S(t)*199+S(i)*m+500+S(z=i**.5)*m+m*S(t)*1.5,C(t)**2*99+C(i)*m+200+C(z)*m,z,z))m=i/14,x.fillStyle=hsl(30,35%,${(C(9+i-S(t))+1.5)**5}%`

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9402 by u/katkip

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

  • u/f8f82804
    x[s='fillStyle']=R();x[f='fillRect'](55*(t%36|0),900+40*(t%2|0),16,12);x[s]='#c0b09002';x[f](0,700,p=2e3,p);for(i=p;i--;x[s]=hsl(${p+i%10} 90%50%)x[f](i,C(i)*S(i+t)*700,25,6)
  • u/katkip
    the footsteps are wierd

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

  • fireworks :D

Please log in (or register) to comment.

show FPS hide FPS share 1 remix 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 1 remix fullscreen
remix of d/9340 by u/f8f82804

function u(t) {

}//
133/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