dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Golden spiral

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    24

    resolved [RESOLVED] Golden spiral

    I want to write a script that will trace a golden spiral for at leasts 360 degrees. I'm having a hard time thinking about the math, i think art school erased that part of my brain. For people that don't know, the spiral is based on the golden rectangle.


    http://en.wikipedia.org/wiki/Golden_ratio


    Visually, you can fake the spiral by using connected quarter circles, but I wouldn't know what to write to get the quarter circles to line up with each other. A true spiral is a logarithmic function, and i figured it would be possible (and maybe simple) to write a script for it because flash like radians so much.

    I know that this is a big question, but I'm having a hard time wrapping my head around this one, and i don't really know how to write a Math function. I would appreciate any help to get the ball rolling on this one.

    Related to this, James Mellers made a pretty cool application in a flash projector. It's a really simple, elegant phi calculator:

    http://www.thismanslife.co.uk/main.asp?contentid=phiculator

  2. #2
    Junior Member
    Join Date
    Jan 2008
    Posts
    24
    Sorry, this is an AS 2 question, I posted it in this forum accidentally.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center