From b26e56f9b59714db2f51c041c4f2c82aa56c3ffa Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 19 May 2018 11:05:01 +0200 Subject: fix lol --- test-mogrify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index d01f530..50c011b 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -205,7 +205,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 = lerp(math.sin(i / data_opt.transition_period * math.pi * 2.0 ) / 2.0 + 1.0, data_opt.transition_min, 1.0) + t = lerp(math.sin(i / data_opt.transition_period * math.pi * 2.0 ) / 2.0 + 0.5, data_opt.transition_min, 1.0) frac_a = data_opt.recursive_frac * (1.0 - t) frac_b = data_opt.sequence_frac * (1.0 - t) frac_c = 1.0 - frac_a - frac_b -- cgit v1.2.3-70-g09d2