dwitter.net | veubeke (1961)

+ 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
remix of d/17798 by u/veubeke

function u(t) {

}//
93/140


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

  • I AM YOUR HORSE LORD! BOW TO ME!

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

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.

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

  • u/veubeke
    Uncompressed: M=Math.random;t&&r<150&!D.some(d=>Math.hypot(d.p-p,d.q-q)<d.r+r+9)?r+=2:p=M(D=t?[...D,{p,q,r}]:[],q=M(r=0)*1080)*1920;x.fillStyle=R(255-r),x.fill(P=new Path2D,P.arc(p,q,r,0,7,0))
  • u/magna
    #waitforit
  • u/magna
    Awesome!
  • u/magna
    TIL: Math.hypot()
  • u/Xen
    my Anti-OCD wants just one circle to touch :P

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

  • u/katkip
    #old
  • u/magna
    Now combine this with d/2416
  • u/magna
    Needs heavy golfing: c.style.boxShadow=inset 0 ${r=Math.random()*2}px 10em #642;c.style.filter=contrast(.5)brightness(${r/99+.9})sepia(89%;c.width=192+r;for(i=9;i--;x.fillRect(r*90,0,.01,108))x.fillRect(40+i*10+S(t)*30,40,5,20)
  • u/magna
    Partial attempt: d/11106

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/rnbw
    how does this have 141 characters though
  • u/rnbw
    wait now it says it has 140... i'm confused

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

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/Xen
    Nice style V!
  • u/veubeke
    I copied yours. ;)
  • u/Xen
    :-O only crazy people would do something like copy me lol, cheers V

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

  • Color fight!

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/2058 by u/hypothete

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

  • @hypothete a bit shorter

Please log in (or register) to comment.

Loading...
Next page