Initial commit

This commit is contained in:
Justin Oros
2026-04-13 18:03:33 -07:00
commit 73d16c9b69
26 changed files with 1660 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
def group_into_pages(scenes, mode="normal"):
if mode == "tiny":
return [[s] for s in scenes]
pages = []
temp = []
for s in scenes:
temp.append(s)
if len(temp) == 3:
pages.append(temp)
temp = []
if temp:
pages.append(temp)
return pages