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

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/Joachim
    Looks good!
  • u/beaster
    unpacked: s=2/(t+1);for(r=-s,v=0;r<s;v++,r+=s/135)for(i=-s-0.9*t*s,h=0;h<480;i+=s/202){for(m=n=l=0;l<64&&!(m*m+n*n>4.0);l++){p=m*m-n*n+i;n=2*m*n+r;m=p}x.fillRect(4*h++,4*v,4,4);x.fillStyle=R(l,l*4,l*16)}

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
100/140


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

  • I Ching ☯️

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/32105 by u/magna

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

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
135/140


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

  • Autostereogram Sphere 🌎
  • Show more comments…
  • u/magna
    Works really well!
  • u/magna
    Joachim it could be that your eyes are overlapping slices that are too far away, maybe? Try full screen and getting closer to the screen.
  • u/magna
    KilledByAPixel, do you think you can offset the pixels at a gradient instead of circle slices?
  • u/Joachim
    u/magna Ooh I see it now! :D

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

  • Plant - light gradient #plant

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
99/140


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

  • u/warbino
    awesome!
  • u/mhi
    if youre gonna remix at least make it better
  • u/cantelope
    @mhi, without specific corrections or ideas, criticism isn't constructive. for example, this is constructive criticism about your comment. please keep the spirit positive thank you

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

  • Subway 🚇

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/cantelope
    lolwut
  • u/cantelope
    very fun, but too easy. i ended up just flying without shooting because i hadn't ever died. then i still didn't die lol
  • u/Joachim
    u/cantelope haha thanks for trying it! The main focus of the game is squirting robots, so if you just bypass them the game won't progress :)
  • u/poetaster
    I liked it too, but I only played to the 4th level :)
  • u/Joachim
    u/poetaster glad you liked it!! :D

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

  • Hitomezashi Stitch #Quine
  • u/cantelope
    fullscreen required
  • u/danny@hille.dk
    88b -> for(i=66;--i;T=code.charCodeAt(i)+t*3&1)x[m='fillRect'](g=t*90,s=i*30,T,T),x[m](s,g,T,T)
  • u/danny@hille.dk
    thicc lines -> for(i=66;--i;T=9*(code.charCodeAt(i)+t*3&1))x[m='fillRect'](g=t*90,s=i*30,T,T),x[m](s,g,T,T)

Please log in (or register) to comment.

Loading...
Next page