Repository navigation
Spec update: docs/layers.feature (captions split out, text stays in graphics, one raea export xml) - #167
Open
wackyza wants to merge 1 commit into
Open
Spec update: docs/layers.feature (captions split out, text stays in graphics, one raea export xml)#167wackyza wants to merge 1 commit into
wackyza wants to merge 1 commit into
Conversation
…the only layer split out of it docs/layers.feature after working through the implementation: - Text is part of the graphics layer. Pulling words apart from the graphics they're built into (kinetic type, words cut from a shape, a word behind a graphic) caused more problems than it solved; a text layer may come later, opt-in only (an element marked data-raea-role="text"), never guessed. - Captions are the only layer split from the graphics: marked data-raea-role="caption", nothing guessed. - One `raea export xml` for Premiere and Resolve; a command of an editor's own only if testing finds it reads the XML differently. - Leaner: the layers composited back is a test of the method, not run on every export; an export always renders its own reference; no `raea check` heuristic for unmarked captions; no moving covered captions (captions go on top). - What rendering the passes taught: the page keeps only the data-raea- props it names, it draws nothing inside a hidden element (so the captions pass clears what holds a caption), and 3D is Bevy's, so a layer without it leaves the 3D out of the scene and keeps its cameras. Spec only; no code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A heads-up on what's coming: an update to the layers spec merged in #166, after working through the implementation. Spec only, no code.
What changed
data-raea-role="text"), never guessed.data-raea-role="caption", and nothing is guessed.raea export xmlfor Premiere and Resolve. An editor gets its own command only if testing shows it reads the XML differently.raea checkwarning for unmarked captions.data-raea-props it names.What follows
The implementation is being built and tested end to end on my fork first. It will come as a set of stacked PRs:
RAEA_LAYERpasseslayers.json/raea export layers/ SRTlayers.jsonraea export xmlThat way each one has been proven working with the others before you merge it.
🤖 Generated with Claude Code