dwitter.net

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

function u(t) {

}//
95/140


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

  • u/lionleaf
    Starts off nice looking and becomes extremely trippy and hypnotic!
  • u/inviso
    mesmerizing
  • u/ilSilvano
    wow that escalated quickly.
  • u/elanimus
    someone tell me how to run this please
  • u/Xen
    Golfed and tweeked, #2909 ;-)
  • u/sparr
    This is a browser glitch, right? It only looks cool because the browser starts using too few segments to draw the spiral. Would be boring in a fixed browser.
  • u/Haabilo
    @sparr Not really a glitch. The code uses lineTo as means to straw the lines. It also sets the maximum amount 5
  • u/Haabilo
    ...of the segments. Damn, I didn't think mistapping backspace on mobile would send the comment as-is...
  • u/ArtsyBiker1
    Awesome
  • u/blackvitriol
    welcome to time travels :)
  • u/hoppla1232
    Sir Moire apprecetiates this
  • u/Freak
    This is like one of those nightmares I have where everything keeps on getting faster and it scares me and I love it
  • u/joeytwiddle
    This is for me the definitive dwitter dweet #spiral
  • u/geb
    #background

Please log in (or register) to comment.

u(t) is called 60 times per second. t: elapsed time in seconds. c: A 1920x1080 canvas. x: A 2D context for that canvas. S: Math.sin C: Math.cos T: Math.tan R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)