mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Whoops, got 'symmetry' backwards
This commit is contained in:
parent
ed0f3f6810
commit
303accad16
@ -329,7 +329,7 @@ def convert_xform(xf, isfinal=False):
|
|||||||
# TODO: chaos
|
# TODO: chaos
|
||||||
xf = dict(xf)
|
xf = dict(xf)
|
||||||
symm = float(xf.pop('symmetry', 0))
|
symm = float(xf.pop('symmetry', 0))
|
||||||
anim = xf.pop('animate', symm >= 0)
|
anim = xf.pop('animate', symm <= 0)
|
||||||
out = dict((k, float(xf.pop(k, v))) for k, v in
|
out = dict((k, float(xf.pop(k, v))) for k, v in
|
||||||
dict(color=0, color_speed=(1-symm)/2, opacity=1).items())
|
dict(color=0, color_speed=(1-symm)/2, opacity=1).items())
|
||||||
if not isfinal:
|
if not isfinal:
|
||||||
|
Loading…
Reference in New Issue
Block a user