dwitter.net | mxfh (1240)

+ 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 1 remix fullscreen
remix of d/2180 by u/aemkei

function u(t) {

}//
110/140


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

  • arc all the things

Please log in (or register) to comment.

remix of d/23551 by u/mxfh

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

  • https://www.dwitter.net/d/23557 so with some space for setting up other buffer view, it speeds things up when treating rgba Uint8Clamped Array as single 32bit value
  • u/mxfh
    wondering if we could store that buffer somwhere to do truly iterative fractal stuff
  • u/taupelink
    trippy!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/2230 by u/mxfh

function u(t) {

}//
134/140


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

  • golfpunk brexit edition

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes fullscreen
remix of d/2113 by u/mxfh

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

remix of d/676 by u/mxfh

function u(t) {

}//
110/140


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

  • -19 new space for stuff.
  • u/Xen
    I=3?
  • u/mxfh
    @Xen if you can live with that static line on the left then.

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

  • crappy emoji world map reprojection

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes fullscreen
remix of d/683 by u/mxfh

function u(t) {

}//
129/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/22389 by u/mxfh

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

  • u/EliteDaMyth
    for(d=x.getImageData(o=-1,0,w=c.width=256,h=128),i=b=64;i>-b;i--)for(j=h;j>-h;j--)d.data[o+=4]=(i*j%~(T(t)*b-i))**8 x.putImageData(d,0,0) 137
  • u/EliteDaMyth
    for(d=x.getImageData(o=-1,0,w=c.width=256,h=128),i=b=64;i-->-b;)for(j=h;j>-h;j--)d.data[o+=4]=(i*j%~(T(t)*b-i))**8 x.putImageData(d,0,0) 136
  • u/mxfh
    for(d=x.getImageData(o=3,b=i=64,w=c.width=256,h=128);i-->-b;)for(j=h;j-->-h;)d.data[o+=4]=(i*j%~(T(t)*b-i))**8 x.putImageData(d,0,0) 132

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

Please log in (or register) to comment.

remix of d/2390 by u/mxfh

function u(t) {

}//
64/140


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

  • a bit more brute force; but hey: Triforce in 4³ bytes

Please log in (or register) to comment.

Loading...
Next page