dwitter.net | zanella (15449)

+ 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

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

  • Newton's cadle

Please log in (or register) to comment.


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

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 fullscreen
remix of d/9669 by u/f8f82804

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.


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

  • The night they arrived

Please log in (or register) to comment.

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

  • Existence is watermelon

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9637 by u/nodepond

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/lionleaf
    First thing I saw in d/9637 was a floppy disk, so had to do a quick remix :D
  • u/New_Core
    ah the good old floppy.. (I simplified and used clearRect, got down to 107)
  • u/donbright
    please insert disk 2 of 5 .... wrrrrr rrr rrrt
  • u/joeytwiddle
    You could fit 10,000 dweets on a floppy disk. Kids these days. SMH

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

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.

show FPS hide FPS share fullscreen

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.

Loading...
Next page