wip more dioramas

This commit is contained in:
David Allemang
2026-07-09 17:33:04 -04:00
parent c126a42599
commit 046fb89214
11 changed files with 282 additions and 937 deletions

View File

@@ -59,6 +59,5 @@
if autoplay != auto { attrs.insert("autoplay", if (autoplay) { "" } else { "false" }) }
if loop != auto { attrs.insert("loop", if (loop) { "" } else { "false" }) }
if subticks != auto { attrs.insert("subticks", if (subticks) { "" } else { "false" }) }
html.elem("mc-diorama", body, attrs: attrs)
html.elem("mc-diorama", html.script(body, type: "text/mc-world"), attrs: attrs)
}
#let world(body) = html.script(body, type: "text/mc-world")