dwitter.net | #seamless

+ 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

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

  • Mars Panorama
  • Show more comments…
  • u/Xen
    t?0:(a=4e4,j=b=y=917) with(x){z=q=>fillStyle=q,z('#000'),f=fillRect,f(X=0,X,w=2e3,h=1e3),z('#ABCEF123');for(Y=y,J=j;X++<4e3;X^4||(y=Y,j=J))f(X%w,Y=Y-3+6*J/a,9,J/2),f(X%w,J%b,2,9),J=J*b%a}
  • u/rep_movsd
    @Xen - can you post the above as a remix? it seems to have errors - is it a parallax version?
  • u/Xen
    not parallax just mildly golfed sorry
  • u/Xen
    take space before "with" and replace with newline

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/6939 by u/snydej

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

function u(t) {

}//
112/140


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

  • seemless

Please log in (or register) to comment.

You've reached the end.