diff options
author | Leonard Kugis <leonard@kug.is> | 2020-08-22 02:43:45 +0200 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2020-08-22 02:43:45 +0200 |
commit | 3b47fad88c8b714c83c1c90cf6726d85688b300f (patch) | |
tree | dd3a110bd9fd159ec34ceb643eb16e6d71e8ca2b /AutopyExtended/mouse.py | |
parent | a4a32e491de5ad56f3d01ed713202ae378e2672a (diff) |
BezierCurve
Added linear interpolation between two points.
Now non-discrete times are valid.
Diffstat (limited to 'AutopyExtended/mouse.py')
-rw-r--r-- | AutopyExtended/mouse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AutopyExtended/mouse.py b/AutopyExtended/mouse.py index e50c7ec..0b06c11 100644 --- a/AutopyExtended/mouse.py +++ b/AutopyExtended/mouse.py @@ -1,3 +1,4 @@ import autopy -def move(target, time, curve, ) +def move(target, time, curve, time_scale=(lambda x : 1 * x)): + |