dwitter.net | #FFF

+ 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.
Theme challenge of the month: #pumpkin

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/7009 by u/DirtyDan

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

  • If someone can shave 2 characters off, we can invert the colors! Like in d/7011
  • u/akm
    here, I shaved off 10 chars: with(x)for(fillStyle="#FFF",i=0;i++<44;lineWidth=44)beginPath(arc(960+S(a=t*i/11)*(d=i*t*S(t)),540+C(a)*d,i*3,0,7),fill(stroke()))

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

  • **LOVE** #text #effect x.fillStyle=t?'red':'#fff';x.font=t?"1em'":'7in"';t||x.fillText(LOVE,40,760);for(i=99;i--;){X=(r=Math.random)()*1920,Y=r()*1080;x.getImageData(X,Y,1,1).data[3]&&t?x.fillText('\u2764',X,Y):0}

Please log in (or register) to comment.

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

  • Find the Black Dots - Scintillating Grid Illusion

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/iverjo
    for(x.fillRect(0,0,i=c.width=960,i),w=i/2;i--;x.strokeStyle='#fff')[15,0,1].map(k=>{g=i-k,x.lineTo(w+S(q=g/(h=152.8)+t/3)*(Z=C(p=g/2.3873)+5)/(Z=C(q)*Z-9)*w,(S(p)-3)/Z*w)});x.stroke();

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

  • u/yonatan
    src: w=c.width=300;a=o=>{for(p in o)this[p[0]+p[6]]=p};a(x);x[gC]='darken';for(i=30;i--;x[fc](0,0,w,w))j=w+t*99,a(g=x[fy]=x[cR](X=S(i)*j%w,Y=C(i)*j%w,99,X,Y,0)),g[ao](0,'#fff'),g[ao](1,R())
  • u/lionleaf
    #worley

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

  • Find the Black Dots - Scintillating Grid Illusion
  • u/metamero
    c.width=w=777 c.style.background='#aaa' for(p=0;p<9;++p)for(q=0;q<9;++q)with(x)beginPath(),arc(r=p*99,s=q*99,13,0,7),fillStyle='#fff',fill(),fillStyle=R(),fillRect(r-92,s-92,84,84)
  • u/anotherkitten
    this image always makes me feel like the c.style.background there
  • u/metamero
    @anotherkitten you such cool and cute dwitter profile / person !! <3
  • u/metamero
    the only difference from this and the other is the balls are a bit smaller (r=12): arc(r=p*99,s=q*99,12,0,7)
  • u/metamero
    one can try different screens and also change the background to #888 or etc

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

  • "Illusory yellow distortion" by Akiyoshi Kitaoka
  • u/metamero
    "If observers approach or move away from the image fixating at the center, then the words appear to be distorted."
  • u/metamero
    uncompressed: with(x)for(i=-1,font="320px Arial Black";i++<99;t?0:i&&i<4?i^3?fillText(i^1?"yellow":"illusory",99,i*420):rotate(.785):fillRect(i*23-99,-2e3,i?13:2e3,4e3))fillStyle=i?i>3?"#FFF":"#555":"#00F";
  • u/metamero
    #illusion #opticalillusion
  • u/metamero
    d/14455 animated version

Please log in (or register) to comment.

Loading...
Next page