courses I and II wired: cascade + up-down split animations, fleet-labels move in VI, the library, C-II hero + manifest
This commit is contained in:
+4
-1
@@ -84,6 +84,8 @@ def emit(name, tag, spec):
|
||||
p["dy"] = round((ay - p["cy"]) * nest, 2)
|
||||
del p["cx"]; del p["cy"]
|
||||
man = dict(scene=tag, source=f"assets/raw/{name}", parts=parts)
|
||||
if "stagger" in spec:
|
||||
man["stagger"] = spec["stagger"]
|
||||
out = ROOT / "pilot" / f"manifest-{tag}.json"
|
||||
out.write_text(json.dumps(man, indent=1))
|
||||
print(f"manifest-{tag}.json: {len(parts)} parts ->",
|
||||
@@ -92,7 +94,8 @@ def emit(name, tag, spec):
|
||||
if __name__ == "__main__":
|
||||
mode, scenes_json, outdir = sys.argv[1], sys.argv[2], sys.argv[3]
|
||||
scenes = json.loads(pathlib.Path(scenes_json).read_text()) if mode == "emit" else None
|
||||
heroes = [("course-VI-gitops.jpeg", "gitops"),
|
||||
heroes = [("course-II-cluster.jpeg", "cluster"),
|
||||
("course-VI-gitops.jpeg", "gitops"),
|
||||
("course-VII-supply-chain.jpeg", "supply"),
|
||||
("course-VIII-helm-press.jpeg", "helm")]
|
||||
for name, tag in heroes:
|
||||
|
||||
Reference in New Issue
Block a user