Repository navigation
feat(visualizer): drawn-path visualizer and four music-video styles - #1276
Merged
Merged
Conversation
The Now Playing card timed its intro animation from the frame clock t. In the timeline composition t is the show time: it freezes on pause and goes backwards on rewind, so the card stayed on the first, transparent intro frame until playback moved. This also hid the placeholder. The card now keeps its own clock from summed frame durations; export is unchanged (dt is one video frame there). An enabled timeline also reports the clip under a paused playhead (playing: false), so the card keeps showing the timeline's track. Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
Drawn Path (pathviz): bars, spikes, dots or a wave along a shape, outside, inside or on both sides. Presets (triangle, square, trapezoid, diamond, hexagon, star, heart, circle, line, wavy line) or a custom path edited in the layer card: drag points, click an edge to add one, double/right-click to delete, or draw freehand (simplified and fitted to the box; returning to the start closes it). Bars are spaced by arc length; the outward side comes from the signed area, so drawing direction does not matter. Layout editor moves and resizes it. Geometry lives in shared/path-shapes.js, shared by the renderer and the editor. New modes in generative4.js: Light Strips (vertical strips flashing on the beat with colour-split edges), Neon Tunnel (jagged polygon rings rushing forward), Spike Crown (curved blades around an empty ring) and Lit Blobs (shaded merging metaballs). All seeded and allocation-free per frame. Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
…bing backwards A backwards step rebuilds every clip's layer stack. The Now Playing card restarted its entrance animation and images reloaded on each step, so both stayed invisible while dragging back. Their state is now carried to the new stack, like video players already were; particles, envelopes and modulation still rebuild. 'Show on change' with the default (null) durations read them as 0 and withdrew the card after a tenth of a second; null now falls back to the speed preset. Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
… Now Playing fix Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.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.
Drawn Path (pathviz)
A visualizer that follows a shape. Bars, spikes, dots or a wave sit outside, inside or on both sides of the path.
shared/path-shapes.js, used by both the renderer and the editor.New styles (
generative4.js)All of them are seeded, use the frame clock and allocate nothing per frame, so export is repeatable.
Wiring
Catalog, defaults, schema ranges, modulation labels, English strings, all five pages, the layout editor, and regenerated mode thumbnails. README mode counts and lists updated (71 → 76).
Tests
tests/path-shapes.test.js:Full suite: 4946 tests, 0 failures. Checked in the app: editor, freehand drawing, and each mode in the preview.