ó
    ±®i“ˆ  ã                   óD  • S SK Jr  S SKr S SKJrJrJr  SrS r	S r
S rS rS	 rS
 rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS r S r!S r"S r#S  r$S! r%SLS" jr&SLS# jr'SLS$ jr(SLS% jr)SLS& jr*SLS' jr+S( r,S) r-S* r.S+ r/S, r0S- r1S. r2S/ r3S0 r4S1 r5S2 r6S3 r7S4 r8S5 r9S6 r:S7 r;S8 r<S9 r= SMS: jr>SMS; jr? SMS< jr@SMS= jrA SNS> jrBSNS? jrCSOS@ jrDSOSA jrESOSB jrFSOSC jrGSOSD jrHSOSE jrISF rJSG rKSH rLSI rMSJ rNSK rOg! \ a     GNf = f)Pé    )ÚdivisionN)ÚListÚTupleÚUnionz1.2.0c                 óü  • [        U 5      [        U5      [        U5      [        U5      4u  pp#/ n[        X1-
  5      [        X -
  5      :„  nU(       a  XpX2p2SnX:”  a  X p X1p1SnX -
  n[        X1-
  5      n[        US-  5      n	Un
SnX:  a  SnOSn[        XS-   5       HC  nU(       a  UR                  X¬45        OUR                  XÊ45        X˜-  n	U	S:  d  M;  X«-  n
X—-  n	ME     U(       a  UR	                  5         U$ )aì  Returns a list of (x, y) tuples of every point on a line between
(x1, y1) and (x2, y2). The x and y values inside the tuple are integers.

Line generated with the Bresenham algorithm.

Args:
  x1 (int, float): The x coordinate of the line's start point.
  y1 (int, float): The y coordinate of the line's start point.
  x2 (int, float): The x coordinate of the line's end point.
  y2 (int, float): The y coordiante of the line's end point.

Returns:
  [(x1, y1), (x2, y2), (x3, y3), ...]

Example:
>>> getLine(0, 0, 6, 6)
[(0, 0), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)]
>>> getLine(0, 0, 3, 6)
[(0, 0), (0, 1), (1, 2), (1, 3), (2, 4), (2, 5), (3, 6)]
>>> getLine(3, 3, -3, -3)
[(3, 3), (2, 2), (1, 1), (0, 0), (-1, -1), (-2, -2), (-3, -3)]
FTé   Né   éÿÿÿÿr   )ÚintÚabsÚrangeÚappendÚreverse)Úx1Úy1Úx2Úy2ÚpointsÚissteepÚrevÚdeltaxÚdeltayÚerrorÚyÚystepÚxs                Ú@C:\des-py\RoboSAPF\venv\Lib\site-packages\pytweening/__init__.pyÚgetLiner      s  € ô. ˜“Wœc "›g¤s¨2£w´°B³Ð7�N€BˆBØ€FÜ�"‘'‹lœS ¡›\Ñ)€GÞØˆBØˆBØ
€CØ	ƒwØˆBØˆBØˆØ‰W€FÜ�‘‹\€FÜ�˜‘
‹O€EØ
€AØ€EØ	ƒwØ‰àˆÜ�2˜A‘vÖˆÞØ�M‰M˜1˜&Õ!à�M‰M˜1˜&Ô!Ø‰ˆØ�1�9Ø‰JˆAØ‰OŠEñ ö Ø�‰ÔØ€Mó    c                 ó*   • X -
  U-  U -   X1-
  U-  U-   4$ )a¿  Returns the (x, y) tuple of the point that has progressed a proportion
n along the line defined by the two x, y coordinates.

Args:
  startX (int, float): The x coordinate of the line's start point.
  startY (int, float): The y coordinate of the line's start point.
  endX (int, float): The x coordinate of the line's end point.
  endY (int, float): The y coordinate of the line's end point.
  n (int, float): Progress along the line. 0.0 is the start point, 1.0 is the end point. 0.5 is the midpoint. This value can be less than 0.0 or greater than 1.0.

Returns:
  Tuple of floats for the x, y coordinate of the point.

Example:
>>> getPointOnLine(0, 0, 6, 6, 0)
(0, 0)
>>> getPointOnLine(0, 0, 6, 6, 1)
(6, 6)
>>> getPointOnLine(0, 0, 6, 6, 0.5)
(3.0, 3.0)
>>> getPointOnLine(0, 0, 6, 6, 0.75)
(4.5, 4.5)
>>> getPointOnLine(3, 3, -3, -3, 0.5)
(0.0, 0.0)
>>> getPointOnLine(3, 3, -3, -3, 0.25)
(1.5, 1.5)
>>> getPointOnLine(3, 3, -3, -3, 0.75)
(-1.5, -1.5)
© )ÚstartXÚstartYÚendXÚendYÚns        r   ÚgetPointOnLiner'   H   s(   € ð@ ‰m˜qÑ  FÑ*¨d©m¸qÑ-@ÀFÑ,JÐKÐKr   c              '   óú   #   • U" S/UQ76 nX -
  U-  U -   X1-
  U-  U-   4v •  UnUS-   S:  a.  U" U/UQ76 nX -
  U-  U -   X1-
  U-  U-   4v •  X„-  nUS-   S:  a  M.  U" S/UQ76 nX -
  U-  U -   X1-
  U-  U-   4v •  g 7f)Ng        g       <g      ð?r!   )	r"   r#   r$   r%   ÚintervalSizeÚtweeningFuncÚargsÚtir&   s	            r   Ú
_iterTweenr-   k   sÊ   é € Ù	�cÐ	!˜DÒ	!€BØ‰]˜bÑ  FÑ*¨d©m¸rÑ-AÀVÑ,KÐ
LÒLà€Að Ð$Ñ
$ sÓ
*Ù˜!Ð#˜dÒ#ˆØ‘ "Ñ$¨Ñ.°$±-À2Ñ1EÈÑ0OÐPÒPØ	Ñˆð Ð$Ñ
$ sÕ
*ñ
 
�cÐ	!˜DÒ	!€BØ‰]˜bÑ  FÑ*¨d©m¸rÑ-AÀVÑ,KÐ
LÓLùs   ‚AA;Á A;c                 ó   • U $ )z¡Constant speed tween function.

Example:
>>> linear(0.0)
0.0
>>> linear(0.2)
0.2
>>> linear(0.4)
0.4
>>> linear(0.6)
0.6
>>> linear(0.8)
0.8
>>> linear(1.0)
1.0
r!   ©r&   s    r   Úlinearr0   {   s	   € ð" €Hr   c           
      ó8   • [        [        XX#U[        5      5      $ )zÞReturns an iterator of a linear tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)Úiterr-   r0   ©r"   r#   r$   r%   r)   s        r   Ú
iterLinearr4   �   s   € ô ”
˜6¨4°|ÄVÓLÓMÐMr   c                 ó   • U S-  $ )zóStart slow and accelerate (Quadratic function).

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r!   r/   s    r   Ú
easeInQuadr6   –   ó   € ð ˆa‰4€Kr   c           
      ó8   • [        [        XX#U[        5      5      $ )zâReturns an iterator of a easeInQuad tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r6   r3   s        r   ÚiterEaseInQuadr9   ¢   ó   € ô ”
˜6¨4°|ÄZÓPÓQÐQr   c                 ó   • U * U S-
  -  $ )zþStarts fast and decelerates to stop. (Quadratic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r!   r/   s    r   ÚeaseOutQuadr<   ©   s   € ð ˆ2��Q‘‰<Ðr   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeOutQuad tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r<   r3   s        r   ÚiterEaseOutQuadr>   µ   ó   € ô ”
˜6¨4°|Ä[ÓQÓRÐRr   c                 óH   • U S:  a  SU S-  -  $ U S-  S-
  n SX S-
  -  S-
  -  $ )a  Accelerates, reaches the midpoint, and then decelerates. (Quadratic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
ç      à?r   r	   ç      à¿r!   r/   s    r   ÚeaseInOutQuadrC   ¼   s:   € ð 	ˆ3ƒwØ�1�a‘4‰xˆà�‰E�A‰IˆØ�q ™E‘{ Q‘Ñ'Ð'r   c           
      ó8   • [        [        XX#U[        5      5      $ )zåReturns an iterator of a easeInOutQuad tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rC   r3   s        r   ÚiterEaseInOutQuadrE   Ì   ó   € ô ”
˜6¨4°|Ä]ÓSÓTÐTr   c                 ó   • U S-  $ )zòStarts fast and decelerates. (Cubic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
é   r!   r/   s    r   ÚeaseInCubicrI   Ó   r7   r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeInCubic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rI   r3   s        r   ÚiterEaseInCubicrK   ß   r?   r   c                 ó   • U S-  n U S-  S-   $ )zúStarts fast and decelerates to stop. (Cubic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   rH   r!   r/   s    r   ÚeaseOutCubicrM   æ   ó   € ð ˆ�F€AØˆa‰4�!‰8€Or   c           
      ó8   • [        [        XX#U[        5      5      $ )zäReturns an iterator of a easeOutCubic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rM   r3   s        r   ÚiterEaseOutCubicrP   ó   ó   € ô ”
˜6¨4°|Ä\ÓRÓSÐSr   c                 óH   • U S-  n U S:  a  SU S-  -  $ U S-  n SU S-  S-   -  $ )a  Accelerates, reaches the midpoint, and then decelerates. (Cubic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   rA   rH   r!   r/   s    r   ÚeaseInOutCubicrS   ú   ó>   € ð ˆ�F€AØˆ1ƒuØ�Q˜‘T‰zÐà	ˆQ‰ˆØ�a˜‘d˜Q‘hÑÐr   c           
      ó8   • [        [        XX#U[        5      5      $ )zæReturns an iterator of a easeInOutCubic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rS   r3   s        r   ÚiterEaseInOutCubicrV     ó   € ô ”
˜6¨4°|Ä^ÓTÓUÐUr   c                 ó   • U S-  $ )zôStarts fast and decelerates. (Quartic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
é   r!   r/   s    r   ÚeaseInQuartrZ     r7   r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeInQuart tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rZ   r3   s        r   ÚiterEaseInQuartr\     r?   r   c                 ó   • U S-  n U S-  S-
  * $ )züStarts fast and decelerates to stop. (Quartic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   rY   r!   r/   s    r   ÚeaseOutQuartr^   %  s   € ð ˆ�F€AØ�‰T�A‰Xˆ;Ðr   c           
      ó8   • [        [        XX#U[        5      5      $ )zäReturns an iterator of a easeOutQuart tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r^   r3   s        r   ÚiterEaseOutQuartr`   2  rQ   r   c                 óH   • U S-  n U S:  a  SU S-  -  $ U S-  n SU S-  S-
  -  $ )a  Accelerates, reaches the midpoint, and then decelerates. (Quartic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   rA   rY   rB   r!   r/   s    r   ÚeaseInOutQuartrb   9  s>   € ð ˆ�F€AØˆ1ƒuØ�Q˜‘T‰zÐà	ˆQ‰ˆØ�q˜!‘t˜a‘xÑ Ð r   c           
      ó8   • [        [        XX#U[        5      5      $ )zæReturns an iterator of a easeInOutQuart tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rb   r3   s        r   ÚiterEaseInOutQuartrd   J  rW   r   c                 ó   • U S-  $ )zôStarts fast and decelerates. (Quintic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
é   r!   r/   s    r   ÚeaseInQuintrg   Q  r7   r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeInQuint tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rg   r3   s        r   ÚiterEaseInQuintri   ]  r?   r   c                 ó   • U S-  n U S-  S-   $ )züStarts fast and decelerates to stop. (Quintic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   rf   r!   r/   s    r   ÚeaseOutQuintrk   d  rN   r   c           
      ó8   • [        [        XX#U[        5      5      $ )zäReturns an iterator of a easeOutQuint tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rk   r3   s        r   ÚiterEaseOutQuintrm   q  rQ   r   c                 óH   • U S-  n U S:  a  SU S-  -  $ U S-  n SU S-  S-   -  $ )a  Accelerates, reaches the midpoint, and then decelerates. (Quintic function.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   rA   rf   r!   r/   s    r   ÚeaseInOutQuintro   x  rT   r   c           
      ó8   • [        [        XX#U[        5      5      $ )zæReturns an iterator of a easeInOutQuint tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   ro   r3   s        r   ÚiterEaseInOutQuintrq   ‰  rW   r   c                 ób   • [        U[        [        45      (       a  US:  a  [        S5      eX-  $ )aH  Starts fast and decelerates. (Polynomial function with custom degree.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.
  degree (int, float): The degree of the polynomial function.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   ú*degree argument must be a positive number.)Ú
isinstancer   ÚfloatÚ
ValueError©r&   Údegrees     r   Ú
easeInPolyry   �  s/   € ô �fœs¤E˜l×+Ñ+¨v¸«zÜÐEÓFÐFØ‰9Ðr   c                 ó:   • [        [        XX#U[        U5      5      $ )zâReturns an iterator of a easeInPoly tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   ry   ©r"   r#   r$   r%   r)   rx   s         r   ÚiterEaseInPolyr|   Ÿ  s   € ô ”
˜6¨4°|ÄZÐQWÓXÓYÐYr   c                 ó‚   • [        U[        [        45      (       a  US:  a  [        S5      eS[	        U S-
  U-  5      -
  $ )áP  Starts fast and decelerates to stop. (Polynomial function with custom degree.)

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.
  degree (int, float): The degree of the polynomial function.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   rs   r	   ©rt   r   ru   rv   r   rw   s     r   ÚeaseOutPolyr€   ¦  s@   € ô �fœs¤E˜l×+Ñ+¨v¸«zÜÐEÓFÐFØŒs�A˜‘E˜fÑ$Ó%Ñ%Ð%r   c                 ó:   • [        [        XX#U[        U5      5      $ )zãReturns an iterator of a easeOutPoly tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r€   r{   s         r   ÚiterEaseOutPolyr‚   µ  s   € ô ”
˜6¨4°|Ä[ÐRXÓYÓZÐZr   c                 ó®   • [        U[        [        45      (       a  US:  a  [        S5      eU S-  n U S:  a  SX-  -  $ U S-  n SS[	        X-  5      -  -
  $ )r~   r   rs   r   r	   rA   r   rw   s     r   ÚeaseInOutPolyr„   ¼  sb   € ô �fœs¤E˜l×+Ñ+¨v¸«zÜÐEÓFÐFàˆ�F€AØˆ1ƒuØ�Q‘Y‰Ðà	ˆQ‰ˆØ�3œ˜Q™Y›Ñ'Ñ'Ð'r   c                 ó:   • [        [        XX#U[        U5      5      $ )zåReturns an iterator of a easeInOutPoly tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r„   r{   s         r   ÚiterEaseInOutPolyr†   Ñ  s   € ô ”
˜6¨4°|Ä]ÐTZÓ[Ó\Ð\r   c                 ób   • S[         R                  " U [         R                  -  S-  5      -  S-   $ )a  A sinusoidal tween function that begins slow and then accelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r
   r   r	   ©ÚmathÚcosÚpir/   s    r   Ú
easeInSinerŒ   Ø  s)   € ð ”—’˜œTŸW™W™ q™Ó)Ñ)¨AÑ-Ð-r   c           
      ó8   • [        [        XX#U[        5      5      $ )zâReturns an iterator of a easeInSine tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rŒ   r3   s        r   ÚiterEaseInSinerŽ   ä  r:   r   c                 óV   • [         R                  " U [         R                  -  S-  5      $ )a  A sinusoidal tween function that begins fast and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   )r‰   Úsinr‹   r/   s    r   ÚeaseOutSiner‘   ë  s   € ô �8Š8�AœŸ™‘K !‘OÓ$Ð$r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeOutSine tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r‘   r3   s        r   ÚiterEaseOutSiner“   ÷  r?   r   c                 ó\   • S[         R                  " [         R                  U -  5      S-
  -  $ )a  A sinusoidal tween function that accelerates, reaches the midpoint, and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
rB   r	   rˆ   r/   s    r   ÚeaseInOutSiner•   þ  s%   € ð ”4—8’8œDŸG™G a™KÓ(¨1Ñ,Ñ-Ð-r   c           
      ó8   • [        [        XX#U[        5      5      $ )zåReturns an iterator of a easeInOutSine tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r•   r3   s        r   ÚiterEaseInOutSiner—   
  rF   r   c                 ó&   • U S:X  a  gSSU S-
  -  -  $ )a  An exponential tween function that begins slow and then accelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r   é
   r	   r!   r/   s    r   Ú
easeInExporš     s!   € ð 	ˆAƒvØà�R˜1˜q™5‘\Ñ"Ð"r   c           
      ó8   • [        [        XX#U[        5      5      $ )zâReturns an iterator of a easeInExpo tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rš   r3   s        r   ÚiterEaseInExporœ      r:   r   c                 ó(   • U S:X  a  gSSU -  -  * S-   $ )a  An exponential tween function that begins fast and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   r   éöÿÿÿr!   r/   s    r   ÚeaseOutExporŸ   '  s$   € ð 	ˆAƒvØà�s˜Q‘w‘Ð  1Ñ$Ð$r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeOutExpo tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rŸ   r3   s        r   ÚiterEaseOutExpor¡   6  r?   r   c                 ó|   • U S:X  a  gU S:X  a  gU S-  n U S:  a  SSSU S-
  -  -  -  $ U S-  n SSSSU -  -  -  S-   -  $ )a  An exponential tween function that accelerates, reaches the midpoint, and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   r   rA   r™   r
   rž   r!   r/   s    r   ÚeaseInOutExpor£   =  sf   € ð 	ˆAƒvØØ	
ˆa‹Øà	ˆQ‰ˆØˆq‹5Ø˜˜r Q¨¡U™|Ñ,Ñ,Ð,à�‰FˆAà˜"  c¨A¡g¡Ñ/°!Ñ3Ñ4Ð4r   c           
      ó8   • [        [        XX#U[        5      5      $ )zåReturns an iterator of a easeInOutExpo tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r£   r3   s        r   ÚiterEaseInOutExpor¥   T  rF   r   c                 óD   • S[         R                  " SX -  -
  5      S-
  -  $ )a  A circular tween function that begins slow and then accelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r
   r	   ©r‰   Úsqrtr/   s    r   Ú
easeInCircr©   [  s#   € ð ”—’˜1˜q™u™9Ó%¨Ñ)Ñ*Ð*r   c           
      ó8   • [        [        XX#U[        5      5      $ )zâReturns an iterator of a easeInCirc tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r©   r3   s        r   ÚiterEaseInCircr«   g  r:   r   c                 óB   • U S-  n [         R                  " SX -  -
  5      $ )a  A circular tween function that begins fast and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   r§   r/   s    r   ÚeaseOutCircr­   n  s"   € ð ˆ�F€AÜ�9Š9�Q˜!™%‘[Ó!Ð!r   c           
      ó8   • [        [        XX#U[        5      5      $ )zãReturns an iterator of a easeOutCirc tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r­   r3   s        r   ÚiterEaseOutCircr¯   {  r?   r   c                 óª   • U S-  n U S:  a"  S[         R                  " SU S-  -
  5      S-
  -  $ U S-  n S[         R                  " SU S-  -
  5      S-   -  $ )a  A circular tween function that accelerates, reaches the midpoint, and then decelerates.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   rB   rA   r§   r/   s    r   ÚeaseInOutCircr±   ‚  s_   € ð ˆ�F€AØˆ1ƒuØ”t—y’y  Q¨¡T¡Ó*¨QÑ.Ñ/Ð/à	ˆQ‰ˆØ”d—i’i  A q¡D¡Ó)¨AÑ-Ñ.Ð.r   c           
      ó8   • [        [        XX#U[        5      5      $ )zåReturns an iterator of a easeInOutCirc tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r±   r3   s        r   ÚiterEaseInOutCircr³   “  rF   r   c                 ó"   • S[        SU -
  XS9-
  $ )a(  An elastic tween function that begins with an increasing wobble and then snaps into the destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   ©Ú	amplitudeÚperiod)ÚeaseOutElastic©r&   r¶   r·   s      r   ÚeaseInElasticrº   š  s   € ð Œ~˜a !™e¨yÑHÑHÐHr   c                 ó:   • [        [        XX#U[        XV5      5      $ )zåReturns an iterator of a easeInElastic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rº   ©r"   r#   r$   r%   r)   r¶   r·   s          r   ÚiterEaseInElasticr½   ¨  s   € ô ”
˜6¨4°|Ä]ÐT]ÓfÓgÐgr   c                 óú   • US:  a  SnUS-  nO0US[         R                  -  -  [         R                  " SU-  5      -  nUSSU -  -  -  [         R                  " X-
  S[         R                  -  U-  -  5      -  S-   $ )a+  An elastic tween function that overshoots the destination and then "rubber bands" into the destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   rY   r   rž   )r‰   r‹   Úasinr�   )r&   r¶   r·   Úss       r   r¸   r¸   ¯  sx   € ð �1ƒ}Øˆ	Ø�Q‰J‰à�aœ$Ÿ'™'‘kÑ"¤T§Y¢Y¨q°9©}Ó%=Ñ=ˆà�q˜S 1™W‘~Ñ%¬¯ª°!±%¸AÄÇÁ¹KÈ&Ñ<PÑ1QÓ(RÑRÐUVÑVÐVr   c                 ó:   • [        [        XX#U[        XV5      5      $ )zæReturns an iterator of a easeOutElastic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r¸   r¼   s          r   ÚiterEaseOutElasticrÂ   Ä  s   € ô ”
˜6¨4°|Ä^ÐU^ÓgÓhÐhr   c                 óX   • U S-  n U S:  a  [        XUS9S-  $ [        U S-
  XS9S-  S-   $ )zûAn elastic tween function wobbles towards the midpoint.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   rµ   rA   )rº   r¸   r¹   s      r   ÚeaseInOutElasticrÄ   Ë  sA   € ð ˆ�F€AØˆ1ƒuÜ˜Q¸FÑCÀaÑGÐGä˜a !™e¨yÑHÈ1ÑLÈsÑRÐRr   c                 ó:   • [        [        XX#U[        XV5      5      $ )zèReturns an iterator of a easeInOutElastic tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÄ   r¼   s          r   ÚiterEaseInOutElasticrÆ   Ý  s   € ô ”
˜6¨4°|ÔEUÐW`ÓiÓjÐjr   c                 ó"   • X -  US-   U -  U-
  -  $ )a  A tween function that backs up first at the start and then goes to the destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   r!   ©r&   rÀ   s     r   Ú
easeInBackrÉ   ä  s   € ð ‰5�Q˜‘U˜a‘K !‘OÑ$Ð$r   c                 ó:   • [        [        XX#U[        U5      5      $ )zâReturns an iterator of a easeInBack tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÉ   ©r"   r#   r$   r%   r)   rÀ   s         r   ÚiterEaseInBackrÌ   ð  s   € ô ”
˜6¨4°|ÄZÐQRÓSÓTÐTr   c                 ó2   • U S-  n X -  US-   U -  U-   -  S-   $ )a"  A tween function that overshoots the destination a little and then backs into the destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   r!   rÈ   s     r   ÚeaseOutBackrÎ   ÷  s+   € ð ˆ�F€AØ‰5�Q˜‘U˜a‘K !‘OÑ$ qÑ(Ð(r   c                 ó:   • [        [        XX#U[        U5      5      $ )zãReturns an iterator of a easeOutBack tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÎ   rË   s         r   ÚiterEaseOutBackrÐ     s   € ô ”
˜6¨4°|Ä[ÐRSÓTÓUÐUr   c                 óˆ   • U S-  n U S:  a  US-  nSX -  US-   U -  U-
  -  -  $ U S-  n US-  nSX -  US-   U -  U-   -  S-   -  $ )a  A "back-in" tween function that overshoots both the start and destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r   r	   gffffffø?rA   r!   rÈ   s     r   ÚeaseInOutBackrÒ     sp   € ð ˆ�F€AØˆ1ƒuØ	ˆU‰
ˆØ�a‘e  A¡¨™{¨Q™Ñ/Ñ0Ð0à	ˆQ‰ˆØ	ˆU‰
ˆØ�a‘e  A¡¨™{¨Q™Ñ/°!Ñ3Ñ4Ð4r   c                 ó:   • [        [        XX#U[        U5      5      $ )zåReturns an iterator of a easeInOutBack tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÒ   rË   s         r   ÚiterEaseInOutBackrÔ     s   € ô ”
˜6¨4°|Ä]ÐTUÓVÓWÐWr   c                 ó$   • S[        SU -
  5      -
  $ )a  A bouncing tween function that begins bouncing and then jumps to the destination.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
r	   )ÚeaseOutBouncer/   s    r   ÚeaseInBouncer×   %  s   € ð Œ}˜Q ™UÓ#Ñ#Ð#r   c           
      ó8   • [        [        XX#U[        5      5      $ )zäReturns an iterator of a easeInBounce tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   r×   r3   s        r   ÚiterEaseInBouncerÙ   1  rQ   r   c                 ó–   • U S:  a  SU -  U -  $ U S:  a  U S-  n SU -  U -  S-   $ U S:  a  U S-  n SU -  U -  S-   $ U S	-  n SU -  U -  S
-   $ )a  A bouncing tween function that hits the destination and then bounces to rest.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
gF]tÑE×?g     @@gF]tÑEç?gtÑE]tá?g      è?g]tÑEí?g/ºè¢‹.ê?g      î?gÖ¾aíÖî?g     €ï?r!   r/   s    r   rÖ   rÖ   8  s~   € ð 	ˆHƒ~Ø˜‰z˜A‰~ÐØ	
ˆh‹Ø	ˆZ‰ˆØ˜‰z˜A‰~ Ñ$Ð$Ø	
ˆjÓ	Ø	ˆ[ÑˆØ˜‰z˜A‰~ Ñ&Ð&à	ˆ[ÑˆØ˜‰z˜A‰~ Ñ(Ð(r   c           
      ó8   • [        [        XX#U[        5      5      $ )zåReturns an iterator of a easeOutBounce tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÖ   r3   s        r   ÚiterEaseOutBouncerÜ   N  rF   r   c                 ó^   • U S:  a  [        U S-  5      S-  $ [        U S-  S-
  5      S-  S-   $ )a   A bouncing tween function that bounces at the start and end.

Args:
  n (int, float): The time progress, starting at 0.0 and ending at 1.0.

Returns:
  (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
rA   r   r	   )r×   rÖ   r/   s    r   ÚeaseInOutBouncerÞ   U  s<   € ð 	ˆ3ƒwÜ˜A ™EÓ" SÑ(Ð(ä˜Q ™U Q™YÓ'¨#Ñ-°Ñ3Ð3r   c           
      ó8   • [        [        XX#U[        5      5      $ )zçReturns an iterator of a easeInOutBounce tween between the start and end points, incrementing the
interpolation factor by intervalSize each time. Guaranteed to return the point for 0.0 first
and 1.0 last no matter the intervalSize.)r2   r-   rÞ   r3   s        r   ÚiterEaseInOutBouncerà   d  s   € ô ”
˜6¨4°|Ä_ÓUÓVÐVr   )r   )r	   g333333Ó?)r	   rA   )gaq8ó«9û?)PÚ
__future__r   r‰   Útypingr   r   r   ÚImportErrorÚ__version__r   r'   r-   r0   r4   r6   r9   r<   r>   rC   rE   rI   rK   rM   rP   rS   rV   rZ   r\   r^   r`   rb   rd   rg   ri   rk   rm   ro   rq   ry   r|   r€   r‚   r„   r†   rŒ   rŽ   r‘   r“   r•   r—   rš   rœ   rŸ   r¡   r£   r¥   r©   r«   r­   r¯   r±   r³   rº   r½   r¸   rÂ   rÄ   rÆ   rÉ   rÌ   rÎ   rÐ   rÒ   rÔ   r×   rÙ   rÖ   rÜ   rÞ   rà   r!   r   r   Ú<module>rå      sÍ  ðÝ ã ð	ß)Ñ)ð €ò7òt LòFMò ò(Nò	òRò	òSò(ò Uò	òSò
òTò ò"Vò	òSò
òTò!ò"Vò	òSò
òTò ò"VôôZô&ô[ô(ô*]ò	.òRò	%òSò	.òUò#òRò%òSò5ò.Uò	+òRò
"òSò/ò"Uð ôIôhð ôWô*ið ôSô$kô	%ôUô
)ôVô5ô&Xò	$òTò)ò,Uò4óWøð{ ó 	Úð	ús   Œ
D ÄDÄD