dwitter.net | #Space

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

}//
137/140


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

  • a sun

Please log in (or register) to comment.

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

  • Inside The Nebula #Space

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

  • Chaotic Galaxies

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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 fullscreen

function u(t) {

}//
123/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).

  • 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 2 remixes fullscreen
remix of d/12820 by u/tomxor

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/10534 by u/tomxor

function u(t) {

}//
133/140


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

  • u/katkip
    oh wow
  • u/joeytwiddle
    Very nice. Set w=.2 if you don't want to #waitforit
  • u/tomxor
    Oops, this doesn't seem to work at all in some browsers... showing up the aignificant subpixel interpolation differences between canvas implementations. Works in chrome - soz

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

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

  • Black hole

Please log in (or register) to comment.

Loading...
Next page