³ò
J%Gc           @   s/  d  Z  d Z d Z y e Wn d \ Z Z n Xyž d d k Z d d k Z d d k Z d d k Z d d k	 Z	 e i
 i e i
 i e	 i e i ƒ  ƒ d d d	 ƒ ƒ e e e i
 ƒ Z d d
 k l Z l Z Wn1 y e i i d e ƒ Wn e GHn X‚  n Xe i
 i e i d ƒ d Z e i
 i e ƒ d Z e i d ƒ i e ƒ i ƒ  Z d „  Z d „  Z d „  Z d „  Z d „  Z  e! d j ož e Z" e i d Z# e e j oR yD e$ e# ƒ o3 e% d e# d ƒ o e i d Z" e i d Z# n WqÿqÿXn e% d e" e e& e# ƒ ƒ f ƒ p d GHn d S(   s‘   fibonacci -- an attempt to create fractal images from the Fibonacci sequence

   an extension of the author's fascination with the Mandelbrot sets=  
    fibonacci -- make fractal images from the Fibonacci sequence
    Copyright (C) 2007  John Comeau <jc.unternet.net>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    s7   Not all needed libraries found, upgrade or check path: i   i    iÿÿÿÿNi   t   libt   python(   t   gplt	   jclicenses   %s
s   [0-9A-Za-z]+c          G   s   t  S(   N(   t   False(   t   whatever(    (    s   ./fibonacci.pyt
   DebugPrint2   s    c          G   s´   |  \ } } t  | ƒ t i j o t | ƒ } n t t d ƒ o | i | ƒ Sn^ d } xP t d t | ƒ ƒ D]9 } | | | } | t | ƒ d j o | | } qo qo W| Sd S(   s   for pythons without str.joint   joint    i    i   N(	   t   typet   typest
   StringTypet   evalt   hasattrt   strR   t   ranget   len(   t   argst   stringt   arrayt   joinedt   index(    (    s   ./fibonacci.pyR   5   s    & c          G   sg   |  \ } } t  | ƒ p
 d } n t d d ƒ o | i | ƒ Sn  t i t i | ƒ ƒ i | ƒ Sd S(   s   for pythons without str.splitR   t   splitN(   R   t   NoneR   R   t   ret   compilet   escape(   R   R   t   string_to_split(    (    s   ./fibonacci.pyR   C   s
    c         C   sB   |  |  g } x/ | d | j  o | i  | d | d ƒ q W| S(   Niÿÿÿÿiþÿÿÿ(   t   append(   t   startt   maxt   sequence(    (    s   ./fibonacci.pyt   fibonacci_sequenceN   s    c          G   s]   d \ } } y |  d } |  d } Wn) | p
 d } n | p
 d } qP n Xt  | | ƒ S(   s5   generate "fractal" images from the Fibonacci sequencei    i   gêŒ 9Y>)F(   i    i    (   R    (   R   R   R   (    (    s   ./fibonacci.pyt	   fibonacciT   s    
t   __main__s   type(%s) == types.FunctionTypei   s   %s%sR   (   i   i    ('   t   __doc__t	   Copyrightt   errormessaget   TrueR   t   syst   osR
   R   t   pwdt   pathR   R   t   getpwuidt   geteuidt   reprt   com.jcomeauR   R   t   stderrt   writeR   t   argvt   myselft   splitextt   commandR   t   searcht   groupt   originalselfR   R    R!   t   __name__t   functionR   R   R   t   tuple(    (    (    s   ./fibonacci.pys   <module>   sD   <5						"",