Saturday, April 13, 2013

L is for Logarithmic Spirals

This text is displayed if your browser does not support HTML5 Canvas.
Oh wow! I am so proud of this! Sorry I'm late, but I was playing with the draw function in HTML5. The picture you see is a spiral I drew! There are many different shapes and sizes that they can come in, and they follow a pattern of r=e^(a*theta), where r is the distance from the origin, e is Euler's Number (about 1.618282) and a is the angle. I lied above, what I drew is an Archimedes spiral with an equation of r=a+b(theta). I know, it should be a logarithmic function, but I've already spent a day on this trying to get this right. It's easier, especially for someone with little programing experience. This spiral uses (1 + sqrt(5))/2 as it's angle. Why? Well, I'll explain it on P day.

4 comments:

  1. When I first discovered the art I could make using fractal creation programs, I locked myself in my room for days.

    Dropping by from A to Z. This is my first year participating and I am having a blast.

    Brett Minor
    Transformed Nonconformist

    ReplyDelete
  2. Who thought you could do such fun things with math. :) That is pretty cool.

    ReplyDelete
  3. I'm so confused by why you're saying that e is Euler's Number (about 1.618282). Isn't it approximately 2.718281828...

    ReplyDelete