D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
lib64
/
python2.7
/
Demo
/
tkinter
/
guido
/
Filename :
brownian.pyc
back
Copy
� ��^c @ s� d d l Td d l Z d d l Z d d l Z d d l Z d Z d Z d Z d Z d Z d Z d Z d a d � Z d � Z e � d S( i����( t *Ni� i, i i t redi c C s� t } t j t d t � } t j t d t � } | j | | | | | | | | d t �} xv t s� t j d t � } t j d t � } t j t � } y | j | | | � Wn t k r� Pn Xt j | � qc Wd S( Ng @t filli ( t RADIUSt randomt gausst WIDTHt SIGMAt HEIGHTt create_ovalt FILLt stopt BUZZt expovariatet LAMBDAt movet TclErrort timet sleep( t canvast rt xt yt pt dxt dyt dt( ( s3 /usr/lib64/python2.7/Demo/tkinter/guido/brownian.pyt particle s . c C s� t � } t | d t d t �} | j d d d d � d } t j d r` t t j d � } n x9 t | � D]+ } t j d t d | f � } | j � qm Wz | j � Wd d a Xd S( Nt widtht heightR t botht expandi i t targett args( t Tkt CanvasR R t packt syst argvt intt ranget threadingt ThreadR t startt mainloopR ( t rootR t npt it t( ( s3 /usr/lib64/python2.7/Demo/tkinter/guido/brownian.pyt main"