# Composition Patterns How to architect a project: the `index.html` orchestrator at scale, and the common sub-composition archetypes. Pair with `minimal-composition.md` (single-file shape) and `sub-compositions.md` (mechanics of a sub-comp file). ## Two Architectures | | Monolithic (single file) | Modular (sub-compositions) | | --------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Project layout | `index.html` only | `index.html` + `compositions/.html` per scene | | Where scenes live | Inline `
` siblings under the root | Each scene is a separate file wrapped in `