1
0
Fork 0

synthesize order

This commit is contained in:
Sean Sube 2023-09-10 23:15:01 -05:00
parent feb9ea9e1a
commit b0df6247b2
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 4 additions and 2 deletions

View File

@ -37,8 +37,10 @@ class BlendGridStage(BaseStage):
output = Image.new("RGB", (size[0] * width, size[1] * height))
# TODO: labels
order = order or range(len(sources))
for i in len(order):
if order is None:
order = range(len(sources))
for i in range(len(order)):
x = i % width
y = i // width