summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/app/search/live.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 3d5d17c..05dc4b1 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -123,7 +123,7 @@ 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:
+ if self.lerp and self.t >= (self.noise.speed.value + self.orbit_speed.value) and self.noise.n.value == 0 or self.noise.n.value == 1:
self.noise.switch()
self.t = 0
@@ -288,7 +288,7 @@ class Interpolator:
encoding_latent_placeholder = tf.constant(np.zeros(encoding_shape_np, dtype=np.float32))
encoding_stored = LerpParam('encoding_stored', shape=encoding_shape_np, datatype="noise")
- encoding_stored_sin = SinParam('encoding_orbit', shape=encoding_shape_np, datatype="noise", radius=0.05)
+ encoding_stored_sin = SinParam('encoding_orbit', shape=encoding_shape_np, datatype="noise", radius=0.02)
encoding_stored_sum = encoding_stored.output + encoding_stored_sin.output
encoding_stored_mix = LerpParam('encoding_stored_mix', a_in=encoding_latent_placeholder, b_in=encoding_stored_sum, shape=encoding_shape_np, datatype="encoding")