EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
CMP-7: document Essential Graphics, templates, responsive time, proxies and expression data
Brandon Thomasb927964d9834
diff --git a/docs/architecture.md b/docs/architecture.mdindex 95bad818f..a030e26c1 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -205,11 +205,33 @@ auto-scale; cached per analysis and settings) and warps each frame; Synthesize Eborders from neighbouring frames read with `EffectHost::self_at`. The effect lives in theeffects crate, hence the `effects → track` edge.+**Essential Graphics** (`project::essential`, `engine::commands::essential`): a comp's+`essential` field lists its exposed controls (properties, Media Replacement, groups, comments).+Every precomp layer of such a comp gets an Essential Properties group (`GroupKind::Essential`,+children `eg<control id>`), kept in step by `Session::edit`; editing a child overrides it for+that instance. The renderer draws an instance with overrides from a copy of the project with the+overridden source properties set (`essential::with_overrides`). Templates are `.ectemplate`+ZIPs: `manifest.json` (controls), `project.ecproj` (the comp and its dependencies), `media/…` and+`poster.png`; importing offsets every id past the project's (`essential::offset_ids`).+**Responsive Design — Time**: a time-stretched precomp maps time piecewise so its protected+marker regions play at 100 % (`eval::responsive_source_time`).++**Proxies and interpretation**: an item's `proxy` (footage or comp) is decoded in its place at+the source's nominal size when `RenderOpts::proxy` (Render Settings ▸ Proxy Use) allows it.+Interpret Footage's Separate Fields turns each field into a frame at twice the rate (the other+lines interpolated); pixel aspect stretches footage, solids and precomps in the comp+(`EvalCtx::par_ratio`, not inherited by children); Invert Alpha and Interpret As Linear Light+apply after decoding.+## 5. ExpressionsExpressions are JavaScript, run by boa, with After Effects' object model (`thisComp`, `thisLayer`,`time`, `value`, `wiggle`, `loopOut`, vector maths on arrays, and so on). A syntax error keeps the-text, disables the expression and shows a warning, like After Effects.+text, disables the expression and shows a warning, like After Effects. `sampleImage` renders the+sampled layer through the evaluating renderer's footage source (`EvalCtx::footage`), cached per+thread and frame; `footage(name)` reads data footage (JSON, CSV, TSV imported with File ▸ Import,+text kept in the project) through `sourceData`, `sourceText` and `dataValue`. `expr.errors`+lists failing expressions for the viewer's error bar.## 6. Commands, the UI seam and automationdiff --git a/docs/parity.md b/docs/parity.mdindex 419b407cc..37b2d670a 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -89,14 +89,14 @@ and OCIO, landed in M9.11.)| Import | 78% | 4.5 | PSD, SVG as shapes, Lottie || Automation | 76% | 3.3 | a JavaScript scripting object model || Shapes | 68% | 3.9 | taper and wave strokes (pen tool for shape paths and vertex editing landed in M6.5) |-| Compositions | 67% | 7.4 | marker dialog, flowchart, Essential Graphics |+| Compositions | ≈ 75% | 5.0 | marker dialog, flowchart (Essential Graphics with master properties, `.ectemplate` templates and Responsive Design — Time landed: CMP-7) || Animation | 65% | 10.4 | puppet, Wiggler/Smoother/Motion Sketch (motion-path handles and the graph editor transform box landed in M5.8) || Text | ≈ 86% | 1.3 | vertical type is basic (upright characters, no tate-chu-yoko), no OpenType feature panel, no extruded strokes (extruded, bevelled text landed in M7.6); per-character styles, paragraph settings, on-canvas editing and the `sourceText` style API landed (M9.9–M9.10) || Web | 60% | 2.5 | threads, browser storage, audio || 3D | 72% | 12.0 | 3D camera tracker, multi-view layouts, Advanced 3D motion blur and blend modes, cameras/lights from models; Advanced 3D (glTF/OBJ models, primitives, extruded text and shapes, PBR, image-based light, shadow maps, GPU rasteriser) landed in M7.4–M7.6 || Effects | ≈ 75% | 5.0 | GPU versions of more effects and the 3D Camera Tracker (every other After Effects effect exists since M9.11 and M12.5) || Interface | 55% | 10.4 | drag-to-dock and floating panels, preferences, native macOS menus (viewer rulers/snapping/channels/snapshots landed in M0.13) |-| Project | 53% | 8.1 | 8/16/32-bit pipeline and colour management, auto-save, proxies, folder moves |+| Project | ≈ 60% | 6.5 | 8/16/32-bit pipeline and colour management, auto-save, folder moves (proxies and Interpret Footage fields / pixel aspect / alpha guess landed: PRJ-8, PRJ-3) || Masks & roto | 52% | 10.0 | Roto Brush, variable-width mask feather points (mask tracking and Mask Interpolation landed in M6.6) || Preview | 55% | 6.1 | GPU 3D and adjustment layers, disk cache (region of interest, snapshots, exposure and Fast Previews landed in M0.13) || Tracking | ≈ 70% | 4.0 | 3D camera tracker, face tracking and Subspace Warp's mesh warp (Rolling Shutter Repair landed in M9.11; point tracker, mask tracking and Warp Stabilizer landed in M6.x / M12.5) |@@ -136,7 +136,7 @@ Mocha and Cineware are third-party and not counted.9. A real 8/16/32-bit pipeline with linear blending and colour management.10. Drag-to-dock and floating panels, saved workspaces, native macOS menus.11. Auto-save, crash recovery, recent projects (in progress).-12. Expression gaps: `sampleImage`, `footage()` (the `sourceText` style API landed in M9.9).+12. ~~Expression gaps: `sampleImage`, `footage()`~~ (landed with data footage, the error bar and the Expression Language menu; the `sourceText` style API landed in M9.9).13. Lottie (in progress), WebM, SVG and PSD import.14. Puppet and paint tools (in progress).15. Preferences and a shortcut editor that can rebind (in progress); real Wiggler, Smoother and Motion Sketch; the marker dialog.