# \[SOLUTION\] The Golden Fibonacci Ration (#69)

**URL:** <https://www.ruby-forum.com/t/solution-the-golden-fibonacci-ration-69/77095>\
**Category:** Ruby\
**Created:** [March 5, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/solution-the-golden-fibonacci-ration-69/77095 "2006-03-05T22:59:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Mattern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@Brian\_Mattern](https://www.ruby-forum.com/u/Brian_Mattern)\
**Post date:** [March 5, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/solution-the-golden-fibonacci-ration-69/77095/1 "2006-03-05T22:59:22Z")

</div>

Here is my text based (and animated) solution.

The parameters are:  
ruby 69.rb [number of steps] [scaling factor]

by default, it shows 6 steps with a scaling factor of 2. (The square  
with side i is scaled to (m \* i + 1) where m is the scaling factor and  
the extra +1 accounts for the fact that there are no 0 width lines in  
ascii art).
