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
remix of d/15329 by u/tomxor

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

  • u/tomxor
    soothing :)
  • u/rep_movsd
    There are many fractal dweets who can be zoomed in to find some gems like this

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

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

  • u/joeytwiddle
    I perceive movement inwards, but the code says the only movement is up and down! 🤯 Want proof? Try growing i slowly with i=t*3|0. Or try reversing the movement with t-i/3 instead of t+i/3.
  • u/joeytwiddle
    This is also a rare-ish example of inverted Moire, by which I mean the interference patterns which most stand out are white rather than black.
  • u/joeytwiddle
    The remix simplifies the effect, making it a little easier to see what's happening.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
130/140


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

  • u/danny@hille.dk
    just an idea ->c.width=300;for(i=9;i--;x.fillStyle='#a72')x.fillText("🖐",i*19+72+19*S(t),70-2*C(t+i));for(i=19;i--;)x.fillRect(i*16,70-T(i+12)/4,15.5,2e3)
  • u/Agnes
    Oh, like they're reaching over a fence? That's a fun interpretation, I was going for "hands poking out of dirt" but obviously a brown rectangle can be anything.
  • u/Smiley1000
    To me, that looks like blood

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
121/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).

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

  • waves of rose

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
78/140


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

  • Moiré Spiral

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

  • t?c.width=-1:a=1 a+=(t%6)-3 x.arc(300+a,119-68*S(2*t%3.16),50,0,7) x.stroke() x.clip() x.font="6cm A" x.fillText("Dwitter",200*S(t)-200,160)

Please log in (or register) to comment.

Loading...
Next page