
    g                         d dl mZ d dlZd dlZd dlmZ d	dZ ej                  dd        ej                  d        ej                  d        e         ee       y)
    )AnyN)	show_codec                  :   t         j                  j                  ddddd      } t         j                  j                  dddd	      }t         j                  j                  d
      }t         j                  j	                         }t        j                         }d\  }}}t        j                  | |z  ||z  |      j                  d|f      }t        j                  | |z  ||z  |      j                  |df      }	t        t        j                  ddt
        j                  z  d            D ]5  \  }
}|j                  |
       |j                  d|
dz   z         |t        j                  d|z        z  }t        j                  ||df      dt        j                  |	d|f      z  z   }t        j                  ||f|      }t        j                  ||fdt              }t        j                  ||f      }t!        |       D ]6  }||   ||   z  ||   z   ||<   d|t        j"                  |      dkD  <   |||<   8 |j%                  d||j'                         z  z
  d       8 |j	                          |j	                          t        j(                  d       y )NzLevel of detail      
      
Separationgffffff?g       @gZd;?r   )i  i  i  )numg           d   zFrame %i/100y              ?T)dtypeFg      ?)use_container_widthRerun)stsidebarsliderprogressemptynplinspacereshape	enumeratepitextexptilefullboolzerosrangeabsimagemaxbutton)
iterations
separationprogress_bar
frame_textr#   mnsxy	frame_numacZCMNis                     S/var/www/openai/venv/lib/python3.12/site-packages/streamlit/hello/animation_demo.pyanimation_demor8      s3    ""#4aRCJ""<c6BJ ::&&q)L !!#JHHJEGAq!
QBFAEq)111a&9A
QBFAEq)111a&9A!"++c1ruu9c"BC	1i()a-89 Q'GGA1vbgga!Q&8!88GGQFA!QT2HHaVz"AQ4!A$;1%AaD$AbffQi!mAaD # 	C1quuw;'TB% D* 
 IIg    zAnimation demoz:material/animation:)
page_title	page_iconz
    This app shows how you can use Streamlit to build cool animations.
    It displays an animated fractal based on the Julia Set. Use the slider
    to tune different parameters.
    )returnN)typingr   numpyr   	streamlitr   streamlit.hello.utilsr   r8   set_page_configtitlewrite r9   r7   <module>rE      sa       +.b   .:P Q 	     	. r9   