From: James Edward Gray II Date: 2006-03-04T04:16:08+09:00 Subject: Re: [QUIZ] The Golden Fibonacci Ratio (#69) On Mar 3, 2006, at 11:50 AM, Jacob Fugal wrote: > On 3/3/06, James Edward Gray II wrote: >> On Mar 3, 2006, at 8:25 AM, Robert Retzbach wrote: >> >>> Hi, >>> the description is really exciting :> >>> But the main task is for me not clear too. >> >> Basically the goal is to visualize the sequence. Perhaps you want to >> take a parameter and show the blocks that many steps in, or maybe you >> want to make it more like geek cinema and watch the sequence progress >> block by block... >> >> James Edward Gray II > > Sample output for my solution, this may be a little clearer than > James' (still requires monospace font, of course): > > $ ruby fibonacci_block.rb 6 > > ########################### > # # # # # > ##### # # > # # # # > # # # # > # # # # > ########### # > # # # > # # # > # # # > # # # > # # # > # # # > # # # > # # # > # # # > ########################### It might be good to note that multiple layouts are possible. For example, the above could also spiral as follows: ########################### # # # # # # # # # # # # # # # # # # # # # # # # # # # # ########### # # # # # # ##### # # # # # # # # # # # # # ########################### James Edward Gray II