dwitter.net | #fibonacci

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

}//
131/140


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

  • Fibonacci spiral
  • u/katkip
    Owwww woottt thats awesome
  • u/rodrigo.siqueira
    SOURCE CODE: for(c.width|=i=9;i--;x.transform(k=.62*C(a=S(t)*1.57),s=.62*S(a),-s,k,w,w))x.rect(1,1,x.lineWidth=w=300,w),x.quadraticCurveTo((z=150)+S(t)*z,z-S(t)*z,w,w);x.stroke();
  • u/rodrigo.siqueira
    Animated Golden Rectangle #Fibonacci Sequence
  • u/vain
    very cool golden ratio / rectangle fx. (never seen before like this, great!)

Please log in (or register) to comment.

show FPS hide FPS share 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).

  • best fullscreen. Couldn't have done it without the help of the dark knight, who prefers to remain anonymous. :)
  • u/donbright
    yeahhhhh!!!!! cool
  • u/cantelope
    there's an odd bug in chrome where if hardware acceleration is disabled, or the dweet appears far down the page, the arcs close their paths and create unwelcome diagonal lines. I have a more robust version but it does not fit in 140b.
  • u/katkip
    #fibonacci

Please log in (or register) to comment.

remix of d/18061 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).

  • 480bit #Fibonacci sequence using 1-bit serial adder
  • u/tomxor
    Familiar!? Just realised that this is equivalent to an elementary cellular automata with a 2 state history.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Xen

function u(t) {

}//
39/140


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

  • Certain its been done before

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
46/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/8663 by u/firegodjr

function u(t) {

}//
110/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.


function u(t) {

}//
74/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.


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

  • The first #fibonacci spiral to ever grace Dwitter! :D

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
115/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/18062 by u/tomxor

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

  • 1920bit #Fibonacci sequence using 1-bit serial adder

Please log in (or register) to comment.

Loading...
Next page