dwitter.net | snail_ (695)

+ 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
remix of d/2186 by u/snail_

function u(t) {

}//
127/140


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

  • just golfed

Please log in (or register) to comment.


function u(t) {

}//
90/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) {

}//
138/140


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

  • Parallax

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

  • Smokey 3D structure with joey's shadows

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/1829 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).

  • c.width=-1;for(j=2e3;j--;x.fillRect(T+50*S(t+a)+U*A+V*B,T+9*C(t+a)+V*A-U*B,3,9))B=9*S(a=j/1250)*S(j),A=(25*S(-a*5)+25)*C(j),U=S(r=S(t)/2),x.fillStyle=R(q=(j&128)-C(r+j)*T,V=C(r),T=99);
  • Show more comments…
  • u/yonatan
    You can try it: c.width=-1;for(j=2e3;j--;x.fillRect(99+9*S(a=j/1250)*S(j)+50*S(m=t*3+a),75+25*(S(-a*5)+1)*C(j),3,7))x.fillStyle=R(q=(j&128)-C(j)**3*99,q,q)
  • u/magna
    Very tropical
  • u/yonatan
    sorry, wrong code, I meant c.width=-1;for(j=0;j++<2e3;x.fillRect(99+9*S(a=j/1250)*S(j)+50*S(m=t*3+a),75+25*(S(-a*5)+1)*C(j),3,7))x.fillStyle=R(q=(j&128)-C(j)**3*99,q,q)
  • u/donbright
    dude...

Please log in (or register) to comment.


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

  • [Dwitter Compressor V1.37] Click in between the arrows. Paste your code in the INPUT element and go to a new tab. Then come back here to get your compressed code. From there, just copy the text in the INPUT element, and paste in your dweet to post it. Now supports characters ranging from 0-255. LImit of 184 bytes.

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

  • Scanimation Fish

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • Flying Paper Airplane

Please log in (or register) to comment.

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

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

  • Pair programming nightmare

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.

Loading...
Next page