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 1 remix fullscreen

function u(t) {

}//
126/140


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

  • Color change over time to help keep track of the wee sot.

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

  • More Eschery

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
131/140


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

  • u/jgobi
    it's very pleasing to vary the Math.PI's exponent and see what happens. particularly i liked a lot the 9 (d/19684), 11 and 19. I tried to adjust this to auto change this, but it always get bigger than 140 characters ^^"
  • u/jgobi
    ops, the https://www.dwitter.net/d/19684 is for the 11 variation

Please log in (or register) to comment.

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

  • Do you want Asteroids? Because that's how you get Asteroid belts.
  • u/Billedluh
    c.width|=w=600 if(t==0)y=[],v=[] for(i=0;i<w;i++) {o=i+w;if(t<.1)y[i]=y[o]=9,v[i]=v[o]=i*t%5 a=((d=w-y[i])*d+(f=w-y[o])*f)**1.5 x.fillRect(y[o]+=v[o]+=f*(q=2e5/a),y[i]-=v[i]-=d*q,9,9)}

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

  • Shwimp

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
IV
remix of d/19494 by u/IV

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

  • xor squares (i^j%w) #xor

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
IV

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

  • Hello Dwitter

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

  • Sammich Factory
  • u/magna
    Awesome!
  • u/Billedluh
    c.width|=onmousemove=e=>c.a=e.y,a=c.a if(!a)y=Array(6).fill(0),v=[...y] y[0]=a*3 x.font="25em'" for(i=1;i<5;i++)r=y[i]+=v[i]+=2+((b=y[i-1]-y[i]-84)<0?b/5-v[i]/2:0),x.fillText('\u{1F96a}',500,r)

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

  • C64 style copperbars/rasterbars
  • u/Xen
    love it
  • u/danny@hille.dk
    much better version:for(w=c.width=200,x.fillRect(0,0,w,w),q=5;q--;)for(i=9;i--;)x.fillStyle=hsl(${q*50},70%,${99-Math.abs((i-4)*20)}%,x.fillRect(0,9+S(C(t/9)+S(t*2-q))*9+i,w,1);x.fillText('C64',94,18)
  • u/marc8
    #c64

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • idk

Please log in (or register) to comment.

Loading...
Next page