dwitter.net | #WaitForIt

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
127/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) {

}//
134/140


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

  • Mandelbrot Set
  • Show more comments…
  • u/joeytwiddle
    Novel!
  • u/iverjo
    Nice! Now make the rectangles progressively smaller, so that the image becomes more and more detailed over time
  • u/MudkipGuy
    heh! I was already playing around with that... for(r=Math.random,j=99;j--;){for(a=3*r(),b=2*r(),i=c=d=0;i<30&&c*c<4;i++)e=c,c=c*c-d*d+a-2,d=2*d*e+b-1;x.fillStyle="hsl("+i*8+",50%,50%)",x.fillRect(640*a,540*b,p=30/t**.5,p)}
  • u/katkip
    Awesome!

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.


function u(t) {

}//
79/140


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

  • Shortened by a whopping 55 characters
  • u/donbright
    inspired by @Purpzie #interference i simplified an old one ... what fascinates me is the entire pattern is based on modulo function applied to Quadrance, there is no cosine, sine, trig, or even really commands to draw colors based on posiiton. #waitforit
  • u/donbright
    sorry meant to post that on my remix
  • u/Purpzie
    oh pfft it's okay

Please log in (or register) to comment.

remix of d/8735 by u/DataMeta

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

  • Gemstone

Please log in (or register) to comment.

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

function u(t) {

}//
126/140


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

  • Show my gilfriend another live code, was mean to be a starfield but i kinda carried on sorry #waitforit
  • u/lewdev
    What the heck is happening!? This is amazing!

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

function u(t) {

}//
121/140


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

  • Rocky Mountain - Chaos Photograph

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • What my phone sees when I try to scan a QR code

Please log in (or register) to comment.

Loading...
Next page