dwitter.net | aleamb (77717)

+ 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
remix of d/12755 by u/Jezza

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

  • I haven't actually put the time into understanding how this works, but that doesn't stop me from remixing it!

Please log in (or register) to comment.

remix of d/12736 by u/Jezza

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

  • Shoutout to @katkip for #attractor rabbit hole.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/12739 by u/LimeLaser

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

  • Squeezed in some snow that floats left. ❄️❄️❄️

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
123/140


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

  • u/Undefined
    c.width|=0;for(i=n=19;i--;)Y=C(t*3+(i+n)%n),x.fillStyle=R(Y*250),x.fillRect(0+i*99,540+S(t*3+i)*300,99,Y*120) - Golf your code, 110
  • u/Undefined
    108 if you remove the unnecessary 0+
  • u/Xen
    for(c.width|=i=n=98;i--;x.fillRect(i*n,540+S(t*3+i)*300,n,Y*n))x.fillStyle=R((Y=C(t*3+i+n%n))*250) 98bytes with tiny tweak

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
122/140


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

  • u/Xen
    "snake, snake, ohhh its a snake!" song in y head now lol

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
128/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/Jezza
    ∫sin(x) from 0 to 2π = 0 :) :) :)

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
125/140


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

  • Electricity. Sadly, #compressed x.globalAlpha=.1;x.fillRect(0,0,2e3,2e3);r=Math.random;f=p=>S(-p/42+t*2)<S(t);for(i=899;i--;){X=r()*1910,Y=r()*1070;if(f(Y/4^X/4))x.clearRect(X,Y,10,10)};

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
125/140


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

  • odd... stripes? can i CALL them that??

Please log in (or register) to comment.

Loading...
Next page