dwitter.net | #compressed

+ 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 fullscreen
remix of d/9793 by u/f8f82804

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
remix of d/9746 by u/f8f82804

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 fullscreen
remix of d/9676 by u/f8f82804

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/9508 by u/f8f82804

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

  • A tribute to _(Dés)Ordres_ -- Vera Molnár, 1974

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/9489 by u/f8f82804

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

  • u/f8f82804
    e=[];for(a=60;a--;)for(b=s=34,E=e[b-1]|0;b--;x.fillRect(s*a,b*s,s,s))p=99+a*b*S(t)/2+E,x.fillStyle=R(q=s*(p/s|0),q/7,q/2),E=e[b-1]|0,c=p-q,e[b-1]=c/=16,e[b]+=c*5,e[b+1]+=c*3,E+=c*7

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9491 by u/Xen

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/f8f82804
    if(t%.2<.01)with(new OscillatorNode(a=new AudioContext,{frequency:110*S(9*t^t)}))connect(g=a.createGain()),g.connect(a.destination),g.gain.setTargetAtTime(0,.15,.01),start(),stop(.2)

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

  • Just a game of single-player pong!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9402 by u/katkip

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

  • u/f8f82804
    x[s='fillStyle']=R();x[f='fillRect'](55*(t%36|0),900+40*(t%2|0),16,12);x[s]='#c0b09002';x[f](0,700,p=2e3,p);for(i=p;i--;x[s]=hsl(${p+i%10} 90%50%)x[f](i,C(i)*S(i+t)*700,25,6)
  • u/katkip
    the footsteps are wierd

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

  • u/f8f82804
    G=(a,b)=>b?G(b,a%b):a;L=(a,b)=>a*b/G(a,b);p=(i=39*Math.random()|0)*i+i+41;q=++i*i+i+41;n=p*q;e=65537;for(d=1;d*e%L(p-1,q-1)-1;d++);c=7;for(;--e;c=c*7%n);C=c;for(;--d;C=C*c%n);throw C
  • u/f8f82804
    Will throw 7 if the decryption works correctly. #slow
  • u/katkip
    it lags so much
  • u/f8f82804
    it should be possible to optimize the modular inversion and exponentiation, but it would probably go over the character limit

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • Random virtual ant that actually builds underground tunnels. Inspired from Langton's Ant and compressed using d/9207

Please log in (or register) to comment.

Loading...
Next page