summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-19 20:58:49 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-19 20:58:49 +0100
commitec097d294daae2fea7f9cb83aee8a00885f38426 (patch)
treedbb719dfa737e57b949d27eb569f30951019cc7e
parenta522fd19b165cb2a5337ff0f54821cfc5ae85f58 (diff)
easing functions
-rw-r--r--cli/app/search/live.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 722df89..f3a4ea7 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -123,9 +123,11 @@ class SinParam:
# randomize the orbit when possible -
# - check if we've done one full orbital period
# - check if the noise is done transitioning
+ """
if self.lerp and self.t >= self.orbit_speed.value and self.noise.n.value == 0 or self.noise.n.value == 1:
self.noise.switch()
self.t = 0
+ """
class LerpParam:
def __init__(self, name, shape, a_in=None, b_in=None, datatype="noise", ease=easing.QuadEaseInOut):