add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
3

�
�^�c@sTddlmZmZddlmZGdd�de�Zdd�ZedkrPe�Ze	e�e�dS)	�)�Turtle�mainloop)�clockc@sTeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�ZdS)�DesignercCs�|j�xVtd�D]J}|jd|�|j�|j|j�|�|j�|jd|�|jd�qW|j�|j|�|jd�|jd|�|jd�|j�|j	d|d|�|j
�jd	�dS)
N�g�����)P@�H�$g�8@i�i.g������a@T)�up�range�forward�down�wheel�position�backward�right�goto�centerpiece�	getscreen�tracer)�selfZhomePos�scale�i�r�-/usr/lib64/python3.6/turtledemo/bytedesign.py�design s 


zDesigner.designcCs�|jd�xtd�D]}|j||�qW|j�|jd�xtd�D]}|j||�qDW|jd�xFtd�D]:}|j�|jd�|jd|�|j�|jd|�qlW|jd�|j	�j
�dS)Ni6�rrri)rr	�	pentpiecer�left�tripiecer
rrr�update)r�initposrrrrrr2s 




zDesigner.wheelcCs�|j�}|j�|jd|�|jd||�|j�|j|�|j|�|j�|jd|�|jd||�|j�|j|�|j|�|jd�|j	�j
�dS)Ng@g�?@r)�headingrr�tripolyrrr�
setheading�tripolylrrr)rrr�oldhrrrrDs




zDesigner.tripiececCs|j�}|j�|jd|�|j�x(td�D]}|jd|�|jd�q0W|jd|d|�|j�|j|�|j|�|jd|�|j�x(td�D]}|jd|�|jd�q�W|j	d|d|�|j�|j|�|j|�|j
d�|j�j�dS)NiririK)
r rr
rr	r�pentrrr"�pentlrrr)rrrr$rrrrrUs,




zDesigner.pentpiececC�>|d|krdS|j|�|j|�|j|d|||�dS�N�gR���Q�?)r
rr&�r�sideZangrrrrr&m�


zDesigner.pentlcCr'r()r
rr%r*rrrr%sr,zDesigner.pentrcC�h|d|krdS|j|�|jd�|j|d�|jd�|j|d�|jd�|j|d|�dS�Nriog{�G�z�?g�������?i�g�?)r
rr!�rr+rrrrr!y�



zDesigner.tripolyrcCr-r.)r
rr#r/rrrr#�r0zDesigner.tripolylcCs>|j|�|j|�|d|kr$dS|j|d|||�dS)Ng@g333333�?)r
rr)rZsZarrrrr�s


zDesigner.centerpieceN)�__name__Z
__module__Z__qualname__rrrrr&r%r!r#rrrrrrs

rcCs\t�}|jd�|j�|j�jd�|j�jd�t�}|j|j�d�t�}d||S)Nrr)zruntime: %.2f sec.)	rZspeedZ
hideturtlerZdelayrrrr
)ZtZatZetrrr�main�s
r2Z__main__N)
ZturtlerrZtimerrr2r1ZmsgZprintrrrrZ<module>su