summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-16 12:53:51 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-16 12:53:51 +0200
commit202f40a2214eaca675d6bdb07eff1dcc8b94c449 (patch)
treeb2f29f0529d048c13be64f004abb8fd24f9fd722 /test-mogrify.py
parent0af2919408e56ce9a3853f84ebe3d844fab7019b (diff)
test script
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index b1ba30d..d7d7d9d 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -199,7 +199,7 @@ if __name__ == '__main__':
if data_opt.sequence and A_dir is not None:
A_img = Image.open(sequence_path).convert('RGB')
A_im = np.asarray(A_img)
- t = math.sin(i / 3000 * math.pi * 2 )
+ t = math.sin(i / 3000 * math.pi * 2 ) / 2 + 1
frac_a = data_opt.recursive_frac * (1 - t)
frac_b = data_opt.sequence_frac * (1 - t)
frac_c = 1.0 - frac_a - frac_b