dwitter.net | f8f82804 (1346)

+ 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

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

  • u/katkip
    It is getting so beautiful after 1 minute

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
remix of d/9416 by u/katkip

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.

remix of d/9413 by u/f8f82804

function u(t) {

}//
86/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/9412 by u/f8f82804

function u(t) {

}//
86/140


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

  • riding the rails

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
60/140


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

  • Road trip!
  • u/f8f82804
    No idea how this will work on other browsers or platforms. It works OK, though a little choppy, on Firefox 61/Linux

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

}//
140/140


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

Loading...
Next page