Commit graph

177 commits

Author SHA1 Message Date
Olive Vaughn
14b0d6fa85 The bar keys nothing; it makes a symbol or a lane with a +
A key on a selected node was one button for what K, auto-key and the
inspector's marks already do where the value is, so the bar no longer
offers it. In a lane it still offers a drawing and a blank. The create
buttons read "+ symbol" and "+ lane", as the pool's does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 00:44:10 -04:00
Olive Vaughn
bbe20b3abf Drag a box from empty timeline space to select clips
Pressing on empty track space and dragging draws a box; every clip and
bar it touches, across lanes and rows, is outlined while it is drawn and
selected when it is let go, with shift or cmd adding to what was
selected. A press that does not move is still a click, and a
double-click in a lane still makes a drawing. On a phone one finger
draws the box and two scroll the rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:39:24 -04:00
Olive Vaughn
249ecfc054 A name is a name, even when it is the id
Reading a name equal to the id as no name was a guess at what older
documents meant, and it renamed a symbol called after its id to where it
is drawn. The automation suite's box is named, as it means to be.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:33:41 -04:00
Olive Vaughn
2b9f8638d5 Paste with what you copied selected goes beside it
Copying a symbol and pasting straight away tried to put the copy inside
the symbol itself, and was refused as a cycle. Figma's other case: with
the copied thing still selected, paste goes into what holds it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:10:25 -04:00
Olive Vaughn
c4040c789c Copy, cut, paste and duplicate on the timeline's bar
The edit menu went, and with it the only way to reach the clipboard
without a keyboard, which a phone does not have. They are icons in the
selection group: copy, cut and duplicate while something is selected,
paste while something is copied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:09:11 -04:00
Olive Vaughn
34956dc3c1 In a lane, K's button is a new drawing, not a key
It wore the channels' key mark, but in a lane K makes a drawing, as
Flash's F6 does. There it is "drawing", a sheet with a line on it, and
shift-K's is "blank", a bare sheet. On anything else K still keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:08:12 -04:00
Olive Vaughn
571e80d975 - and = are on the bar for a drawing, not a lane
With a lane's row selected they lengthened the whole lane, which is
not what holding a drawing longer means. They show for a cel or a
symbol, and not for the row that places a lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:07:34 -04:00
Olive Vaughn
796bb9ae6b Onion skin ghosts the lane a drawing is in
It ghosted the selected row, and a stroke selects the shape it drew,
which exists on its own cel's frames only: the ghosts went out at the
first stroke. Inside a lane, the nearest lane is what is ghosted, so the
neighbouring drawings stay on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:07:13 -04:00
Olive Vaughn
1a92a103cc Drawing in a lane draws into the drawing it shows
With the lane as the target, the brush and the pen made a new cel at the
playhead and cut the one showing there short. What is on screen is what
you are drawing on, so the shape goes into it, as if that cel were
selected; only where the lane shows nothing is a new cel made.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-11 00:07:13 -04:00
Olive Vaughn
86f2d96762 On a phone one finger draws and two move the view
A tap focused the overlay, which is the whole work area, and the phone
scrolled to show its corner: the stage jumped off screen and every point
after it landed sideways. Focus without scrolling, here and on the
timeline. One finger never scrolls the stage; only the first pointer
feeds a stroke; a second finger drops it and pans by the fingers' middle
and zooms by their spread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-10 23:56:35 -04:00
Olive Vaughn
0291d7c628 The timeline's bar shows what the selection can take
Blender's transport: the ends, the keys either side, a frame, play. Speed
is one button that steps. In and out set the loop marks, as I and O do.
Between them and making things, only what the selection can have done to
it: key and blank in a lane, - and = on anything with a span, split where
the playhead cuts it, and peg on one node, which leaves the edit menu with
nothing a key does not already do, so it goes. A button and its key send
the same thing, from one function.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-10 23:21:49 -04:00
Olive Vaughn
2f6fde26fb Paste onto your own paste goes beside it
A paste selects what it made, and went into what was selected, so pasting
a symbol twice nested the second copy inside the first. Figma's rule:
while the selection is still exactly what the last paste made, paste goes
where that one went. Select anything else and it follows the selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-10 23:18:21 -04:00
Olive Vaughn
831843aeb0 N's symbols are named by where they are drawn too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
2026-10-10 21:42:05 -04:00
Olive Vaughn
fbcbcd0321 The pool is a tree of what places what, and deletes
A drawing is named by where it is drawn, `body 12`, until it is given a
name of its own. The pool lists each symbol under what places it, with
the root's lanes always showing and anything placed nowhere at the top,
where it wants looking at. Delete or the cross removes a symbol and its
placements, asking first when it is used anywhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 21:38:35 -04:00
Olive Vaughn
4fe620f50a Shift-T traces the selection only
Tracing on for the tracing layers in the selection — the selected node,
what it places at any depth, its children, a face's own footage — and every
other layer off. Again, and every layer shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:52:15 -04:00
Olive Vaughn
ea2becf4c7 Plain letters, shift for a companion, never alt
T switches tracing and G onion skin (ghosts); shift-I and shift-O clear
the in and out marks; M and shift-M make a symbol or a lane at the top of
the tab. Alt types characters on a Mac and belongs to the browser
elsewhere, so no key uses it now, and shift only ever pairs with the plain
key it modifies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:43:41 -04:00
Olive Vaughn
af0df98a15 N makes a symbol, shift-N a lane, alt for the top of the tab; alt-T traces
N and shift-N make a symbol or a lane where the selection says, as the
timeline's buttons do; with alt, at the top of the tab whatever is
selected. A new symbol in a lane is a new drawing, so there N is shift-K:
one meaning for a new empty thing in a lane. Alt-T switches tracing, beside
alt-O for onion skin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:38:41 -04:00
Olive Vaughn
285a195fee The playhead's head is as wide as its number
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:38:41 -04:00
Olive Vaughn
e72d63214c Frames are cells: a grid through the rows, and a playhead a frame wide
As in Flash, a hairline at every frame over the rows and through the cels,
stronger at every second; too narrow to see, it steps by the fewest frames
that divide a second, and goes when even that is too dense. The playhead is
the frame it is on: a tinted cell with its line on the frame's left edge,
where the ruler's number is, and a head carrying the frame number. Too
narrow to tint, it is the line alone, as in Resolve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:36:51 -04:00
Olive Vaughn
b45f7307a3 Pause sticks while looping, play past the out mark, drag the marks
Pause during a loop restarted at once: the player's snapshot still said
playing for a frame after the clock stopped, and with marks that read as
running off the end. It now asks the db. Playback loops only on crossing
the out mark, so playing from past it plays on, as playing from before the
in already did. The marks have handles on the ruler. = and - move the end
of the selection's span, any symbol's, or the cel a selection in a lane is
in, rippling what follows in a lane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:31:20 -04:00
Olive Vaughn
1c6c45e465 I and O mark where playback loops, and the timeline dims the rest
Resolve's in and out marks, per tab. Play starts from the in mark when the
playhead is outside them and goes round from the out mark back to the in,
as Blender's preview range does; the loop is in the player's frame loop, so
both clocks do it the same way. Alt-X clears them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:20:33 -04:00
Olive Vaughn
246b6d6468 K keys or draws on, shift-K draws blank, = and - change a hold
In a lane, K is Flash's F6: a copy of the drawing showing, taking over
from the playhead, or on the next frame when the playhead is on a
drawing's first one, so pressing it again and again draws on. Shift-K is
F7, the same with an empty drawing. Elsewhere K is Blender's I: what is
animated, or else position, turn and scale, keyed at the playhead.
= and - lengthen and shorten the selected hold by a frame, as in Harmony.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:17:30 -04:00
Olive Vaughn
e96464459d One table of keyboard shortcuts, and ? to see it
Space plays and pauses, and still pans when held and dragged on the stage.
Arrows and WASD step frames and jump between keys and cel edges; Home/End
and shift go to the first and last frame; alt-O toggles onion skin. The
tool, undo and clipboard keys move into the same table, which the ? sheet
prints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:08:26 -04:00
Olive Vaughn
fcf2e20f78 Play from the last frame starts over, rather than playing one frame
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:02:42 -04:00
Olive Vaughn
c359ac650f Open the palette lane onto its selected transition, like any lane
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:52:34 -04:00
Olive Vaughn
1a6d6564c5 One palette per frame, chosen by the shallowest override in the open tab
A frame is drawn in exactly one palette, or one blend of two while a palette
lane tweens. Shapes store slots and the raster index is the slot, so the
palette is only the ramp a frame is expanded through: there is no way for two
palettes' colours to share a frame. The per-palette index banks are gone.

Every symbol drawn says which palette it chooses — its lane, its instance's
palette, its own — and the shallowest wins, so a palette set on the open
symbol beats anything inside it, and a child set to one turns the whole frame
while it is drawn. Nothing chosen is the project's palette.

The palette grid follows the palette the stage is in, per tab, read from the
player rather than worked out again; mid-tween it holds the start palette.
Another can be opened per tab, with a button back to the active one.

The chooser puts the palettes the open symbol uses first, saying where, then
the project's, then palettes made in other projects (with their project, and
searchable by either name), each with the playhead's frame drawn in it;
hovering previews on the stage, `use` sets the symbol to it. The classics are
a folded shelf, now with VGA, Commodore 64, CGA and Workbench 1.3, and a new
project carries only the palette it was made with.

Unused slots are marked; solo shows and lets you click only what is drawn in
the chosen colour; ⌫ empties the open palette's unused slots in place.
The project palette can be changed in the inspector. The palette lane's
label no longer collides with the sidebar grid's styles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:47:44 -04:00
Olive Vaughn
641f1fa18c Hold a new cel in a lane, so stretching it shows what is drawn in it
A double-clicked or newly created cel in a lane was a one-frame symbol
playing at speed 1 and stopping at its end, so dragging its edge out left
every frame past the first empty. It is now held at speed 0, as a drawing
cel already is: the two are the same lane-creation operation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:45:38 -04:00
Olive Vaughn
cd02eb0477 Add symbols and uploads from the foot of the media pool
A "+ symbol" and an "upload…" button pinned to the bottom of the pool, where
a list's own "add one" goes. A new symbol goes into the library only, one
empty frame placed nowhere, as Flash's New Symbol, and its name opens for
editing. The pane head loses its "+". Converting footage reads "make roto".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 18:29:42 -04:00
Olive Vaughn
b2b6af8f26 Bring the browser tests up to date
- automation: pin the fixture to 120 frames; a blank document is 48 now,
  and the drags measure frames as fractions of a 120-frame ruler.
- lane: create from the timeline's symbol/lane buttons, skip the palette
  lane when looking for lanes and rename buttons, and expect a lane's
  rename on its symbol.
- lane, peg: wait out the page reloading under the first probes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 18:28:03 -04:00
Olive Vaughn
4b780f9e91 Inspector: one row per channel, names from symbols, tweens you can see
The inspector shows what can be changed and nothing else. Ids, spans and the
facts the fields below them already said are gone; explanations are hover
text. Performance only appears for a face.

Every animatable thing is one row: ◀ ◆ ▶, its name, its value, its gap. The
arrows jump to the key before and after on every channel. A drawing's keys
are an ordinary `shape` row, as are a palette placement's and a tracing
layer's holds. The gap switch is about the gap the playhead is in, and on a
key the one arriving at it, so keying B asks about A→B.

The timeline draws every gap on a channel row, tween or hold, and a click
switches it.

An instance has no name of its own: it is called what it places, a rename
renames the symbol, and `(n)` says how many places show it. Export numbers
two placements of one symbol. Instance names in old documents are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 18:28:03 -04:00
Olive Vaughn
e2ca251ef4 finlly fixed it 2026-10-10 17:48:54 -04:00
Olive Vaughn
a10d7b2d9f fix frme rte things 2026-10-10 15:13:21 -04:00
Olive Vaughn
9af21c5d10 Draw off the stage, on a work area that grows to hold it
A brush stroke was cut at the stage's edge, because its mask was the
stage's size, and anything drawn off the stage was invisible, because the
raster and the canvas were. Flash draws on a pasteboard and lets the
passepartout do the hiding; so does this now.

The picture is rasterised over what is drawn AND on screen, not over the
whole work area: each frame takes the bounds of its ops, cuts them to the
pane, and draws that. A frame with nothing off the stage is the stage, and
costs what it did; a background many stages wide costs the pane it is
seen through. Measured on a 320x200 stage at 200%, 12 shapes: 1.39 ms a
frame before, 1.46 after; with a 5000 px background, 1.65.

  - a raster may have an :origin, the stage point its first pixel is, and
    ops stay in stage pixels
  - off the stage the raster has coverage, and what nothing drew on is
    left transparent, so the work area shows through
  - the work area grows to everything drawn and a stage round it, in steps
    of 64, and never shrinks under the view; it is margins on the stage
    box, so it scrolls left and up as well as right and down
  - a brush stroke's mask is what is on screen
  - onion ghosts and tracing reach off the stage the same way

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:55:16 -04:00
Your Name
ddef5c6bfd A node has a pivot
Rotation and scale are composed about `[:xform :pivot]`, a point in the
node's own coordinates:

    local = T(pos) · T(piv) · R · K · S · T(-piv)

Schema 7 deleted this field, on the argument that an anchor is a peg. The
algebra was right and the conclusion was not. The identity holds between a
pivot and a peg THAT ALREADY EXISTS; it says nothing about what a node
turns about when nobody has made one, and that default is what a person
meets. With no pivot in the composition, a turn about anything but the
node's own origin has to be paid for by solving `pos` per frame —
`gesture/about` — and that solution is an arc in the angle while `pos`
tweens along the chord. Right on the frame it is written, wrong on every
frame between two keys.

A drawing escaped it: `paint/centred` puts a shape's origin on the middle
of what it draws. A symbol instance cannot — its origin is its symbol's,
and a symbol is drawn on the stage, so its origin is the top-left corner
of the stage. Off the document this was reported on: a symbol's content
centred 161 px from its own origin, and one instance of it keyed rot 0→60
put the drawing where it was put on both keys and at (-88, 121) halfway
between, a stage and a half away. The advice on offer was "make a peg
first", for wanting to spin a drawing.

So a turn now writes `rot` and nothing else, always, and the pivot is held
exactly between two keys because the matrix is built about it on every
frame. The default, and the way back to it, are the parts the old anchor
was missing:

  - a node nobody has pivoted turns about the middle of what it draws,
    `pick/bounds-of` — the same bounds the selection box comes from
  - the first turn or scale writes that middle down, in the same edit,
    with the `pos` that holds the picture still (`gesture/with-pivot`)
  - `clip/place-symbol` stores the middle of what a symbol draws as the
    instance's pivot, so a drop spins in place from the start
  - ⌃/⌘-drag the cross on the stage to put the pivot anywhere, moving
    nothing — on any node now, not pegs alone
  - ⌖ beside the pivot row in the inspector puts it back on the middle of
    what the node draws NOW (`gesture/centred`)

A pivot is a CHOICE and does not follow the drawing: once it is the node's
own, adding a shape inside a symbol cannot re-aim a keyed spin of any
instance of it. `instance-test` has asserted both answers to that now, and
the stored one is right.

A peg stays a peg, for the three things a node's own pivot is not: a pivot
SHARED between nodes, a SECOND transform on one node, and a hand transform
over a measured one. `nest/repivot` is gone — a pivot inside the node's own
transform has nothing to correct in anybody else's `:pinv`, so the gesture
works on every node and is no longer refused on an animated one. A measured
node's pivot is authored like any other, so a traced mouth can be told
where to turn without a peg.

Schema 8, and the first version that converts rather than refusing: an
absent pivot reads as [0 0] and T(pos)·T(0)·M·T(-0) is T(pos)·M to the
bit, so every stored document composes to exactly the matrices it did and
the migration only restamps the version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-06 14:33:35 -04:00
Your Name
e7f5f82845 A drawing's origin is the middle of what it draws
A shape keyed from the bottom left to the top centre with a 360° turn on the way
left the stage completely in the middle of the spin and came back. The keys were
right and every frame between them was wrong, which is the signature of a wrong
pivot and a full turn: 0° and 360° are the only two frames where a wrong pivot
cannot be seen at all.

`paint/new-shape` stored a stroke EXACTLY AS DRAWN, in the containing symbol's
coordinates, and wrote no `pos`. So a drawing's origin was the SYMBOL's origin —
on the stage, its top-left corner. `node/local!` turns and scales about the
node's own origin and nothing else, deliberately, since `[:xform :anchor]` was
deleted in 925c12f. A node whose origin is nowhere near its content therefore
turns about nowhere near its content: the reported shape orbited at a radius of
126 px on a 320x200 stage.

It could not be seen while a drag was the only way to turn something, because
`gesture/about` solves for the `pos` that holds the chosen pivot still and
`turn` wrote it alongside the rotation — exactly right on the frame of the drag.
But that solution is `p' = c + R(θ)(p − c)`, an ARC, and `pos` interpolates along
the CHORD. Right on a drag, right on a key, wrong on every frame between two.

So `paint/centred` splits a stroke into a ring about its own middle and the `pos`
that puts it back, and `new-shape` is the one place every drawing is born — the
pen, the brush, and each piece the eraser leaves. The pivot rule is unchanged,
the middle of what the node draws; for a drawing that point is now its ORIGIN, so
`gesture/at-origin?` holds, `turn` writes `rot` alone, `scale` writes `scale`
alone, and a keyed turn is right on every frame. `pos` goes back to being the
motion path it reads as. Hand-authored scenes were always written this way:
`demo/scene.edn`'s card is `[-44 -30 44 -30 44 30 -44 30]` with its place in
`pos`.

NOT the universal rule, and `a-face-part-scales-about-its-own-middle` is why. A
measured part's points and position are dense tier-2 geometry in the footage's
space and cannot be re-originated, so its pivot is not its origin and `about` is
the only thing that will hold it; the same is true of an instance, whose origin
IS its symbol's coordinate system. Both still drag correctly about their middle,
both are inexact if that drag is keyed, and for both a pivot that has to persist
or be keyed is a peg — which is a node, so its pivot is its own origin, so it
collapses again one level up.

`cut/erase` took EVERY leftover piece back through `world⁻¹`, the cut shape's own
coordinates, and handed the offcuts to `new-shape`, which gives them a fresh
identity transform. Those two spaces coincide only while a shape has `pos [0 0]`,
which was every shape, so erasing anything that had been moved already scattered
its offcuts, silently. The kept piece comes back through `world⁻¹` and the new
ones through `parent⁻¹`, the space a node's `pos` lives in.

And `::adjust-last` re-traces the same stroke from stage pixels, so it goes
through `paint/place-points` rather than writing symbol-space points into a node
that now has a position of its own.

No schema change: the same fields, better values. An existing document keeps
evaluating exactly as it does now.

`a-keyed-turn-holds-its-pivot-between-its-keys` checks all 31 frames of the
tween. Checking the keys is what let this through. 604 CLJS tests pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-06 10:37:31 -04:00
Your Name
2e021a13eb Give a remap shape something to drag it by
A remap draws light rather than colour, so `pick/hit-op` let a click go THROUGH
it to what it lights, and `op-bounds` left it out of a marquee's reach. Both of
those rules are about getting PAST a shape, and neither has anything to say
about the shape you have in your hands — but the stage's move gesture IS that
hit-test, while `handles` hangs its box and corners off `pick/bounds-of`, which
reads the node's points and knows nothing about colour.

So a remap shape got a full set of handles over a shape that answered no point
on the stage at all. The first press on it started a marquee, the marquee
selected nothing, and the selection a timeline row had just given it was thrown
away: selectable in the timeline, and then neither movable nor resizable, with
the handles sitting right there. A knockout was the same bug for the same
reason, and both of them read as handles that do not work.

`hit-op` now takes what is selected, and what is selected is never
click-through. That is `choose`'s own rule — a click inside what is selected
keeps it, so a deep selection can be dragged — reaching one step further down;
clicking a remap you have NOT selected still goes through to what it lights,
which is the point of it. `op-bounds` keeps a hole's and a light's bounds like
anything else, so a marquee reaches one without going to the timeline for it.

`browser/remap.mjs` asserts it as `peg.mjs` does, with real pointer events
through the handles, and for the same reason: every assertion about the maths
passed throughout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-05 22:22:52 -04:00
Your Name
39c436584b Place a peg's pivot with ⌃/⌘ rather than ⌥
⌥-drag does not survive the trip. Most Linux window managers grab Alt-drag to
move the window, so the page never sees the pointer and the gesture is simply
absent — on the machine it is absent from, with no error and nothing to find.
Reported from one.

⌃ (⌘ on a Mac) now places the pivot, which is the modifier the rest of this
stage already reaches for. ⌥ keeps working for anyone whose desktop leaves it
alone; ⇧ is deliberately not it, since it means CONSTRAIN everywhere else here —
uniform scale, 15° turn steps — and is what a snap to the child's corners will
want when this drag grows one.

The menu row says so, because a modifier nothing mentions is a modifier nobody
finds: "add peg · ⌃/⌘-drag its cross to place the pivot".

`peg.mjs` now asserts each modifier through real pointer events instead of
reading the handler, which is the only way this class of bug shows up — all
three place the pivot with a child drift of 0, and an unmodified drag still
translates.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HkinzDz1VtahZVsujAGRBD
2026-10-05 21:48:59 -04:00
Your Name
357ff1f3b9 Move a peg's pivot without moving what hangs off it
Two bugs in the handles, and the second one meant a peg still had no movable
pivot — which is the complaint pegs exist to answer.

`.peg-grab` was drawn LAST, on top of the four scale corners, and at r=7 against
corners spanning 5.2 to 8.8 from the middle it swallowed the inner half of each
one. It is drawn first now, at r=5, so it stops short of them.

And dragging a peg's cross is a TRANSLATE, not a new pivot. It writes the peg's
`pos`, and a peg is a parent, so everything under it comes along — `peg.mjs` said
so all along: "dragging the peg cross moved its child — dx=18.000". That is the
right behaviour for the drag and no way to say "put the pivot here", so a peg
could be made with its pivot wherever `nest/peg` happened to put it and never
moved again.

⌥-drag now relocates it, which is After Effects' pan-behind split. `nest/repivot`
moves the peg and solves

    pinv(child)' = local'⁻¹ · local · pinv(child)

for each child, because only `local(peg) · pinv(child)` reaches a child, so
preserving that product holds the picture exactly still — verified as a drift of
0, both in `nest-test` and through real ⌥-pointer events in `peg.mjs`. The
child's own channels are never touched, so this works over a measured child,
which is the case the peg exists for.

Refused on a peg whose position is animated, rather than quietly wrong: the
compensation depends on the peg's own transform, so a keyed position wants a
different `pinv` on every frame and one stored matrix is not it. The message says
to put a peg over it instead.

One edit at the end of the drag, not per pointermove: a repivot moves nothing on
screen by construction, so only the cross needs to follow the pointer.

603 CLJS tests, and peg.mjs and onion.mjs pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HkinzDz1VtahZVsujAGRBD
2026-10-05 19:25:04 -04:00
Your Name
00b8ed34ee Give a peg handles on the stage
A peg was reachable and not usable. It is a `:group`, so it draws nothing, and
both of the stage's ways in key off a DRAWN op: `pick/choose` hit-tests the ops,
so a click never found it, and `handles` hangs its box, corners and turn knob off
`pick/bounds-of`, so it got only the pivot cross — which is `pointer-events:
none`. So the pivot `gesture/refusal` tells you to make could be made, and then
only typed at in the inspector, and reselected only from a timeline row.

Every assertion about the maths passed throughout, which is the point: nothing
under `domain/` can see this.

So the handles fall back to a fixed-size rosette about the peg's own origin —
cross to move, knob to turn, four corners to scale. Fixed size, in stage pixels,
because there is no drawing for it to be proportional to. The cross gets a
transparent `.peg-grab` disc rather than taking the handler itself, since
`.pivot` must stay `pointer-events: none` everywhere else: it is a mark on the
picture and must not eat a click meant for the shape under it.

`test/browser/peg.mjs` asserts the handles as DOM and drags through them with
real pointer events, because that is the half a unit test cannot reach: a peg
appears with no drift at all, is selected, renders one knob, four corners and no
box, and dragging its cross moves its child by exactly the drag.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HkinzDz1VtahZVsujAGRBD
2026-10-05 19:17:59 -04:00
Your Name
925c12fc77 An anchor is a peg
`[:xform :anchor]` is deleted. `T(a)·M·T(-a)` is a transform conjugated by a
translation — "do M in a frame shifted by a" — and a parent already IS a shifted
frame, so an anchor was a peg written inline: one that could not be selected,
keyed, shared between nodes, or placed above a measured channel. Same expressive
content, strictly less reach. `node-test` asserts the two produce the same matrix.

Its two jobs split, and neither is a field on a node any more.

A pivot nobody chose is DERIVED PER DRAG and stored nowhere. `gesture/pivot` is
the middle of what the node draws — `pick/bounds-of`, the same call the stage
draws the selection box from, on the same frame — or the node's own origin when it
draws nothing. `gesture/about` solves for the position that holds that point
still, so a turn now writes `pos` as well as `rot`. Nothing is cached, so nothing
goes stale: the stored anchor was that same middle captured once at creation while
the box beside it was recomputed every render, so on anything edited since it was
made the cross and the box disagreed and the pivot was wrong. A symbol with more
than one node diverged on its first edit.

A pivot somebody chose is a PEG — `nest/peg`, an ordinary `:group` parent sitting
on the derived pivot with `:pinv` captured so nothing moves. It is the answer to
the three things a derived pivot cannot do: a pivot that persists (an arm about
its shoulder), a pivot that travels (a keyed `pos`), and a hand transform over a
measured one. The last was impossible before — `local`'s translation is
`pos − M·a`, so under a measured `M` writing an anchor moves the thing it was
meant to leave alone. `flow/freeze`'s `pivoted` pass knew this and skipped every
`node/measured?` node, which is exactly why the traced mouth pivoted about
(-234, -395) on a 320x200 stage: the top-left corner of the footage. That pass is
gone; there is no node a derived pivot can be missing from.

`demo/stage` is the one place the anchor did work a static `pos` cannot: `:scale`
is keyed, and the source's middle has to stay on its authored centre throughout.
It is now seven pegs, identical to the pixel.

Also: `events/ui`'s `fitted` rescales a dropped tracing right after placement, and
the anchor had been silently keeping the picture centred through that; it solves
for the middle explicitly now.

Schema 7. Nothing is converted, as in 6: every project is marked 7 and one still
carrying an anchor is refused by name, with what to do about it. Dropping an
anchor is pixel-exact wherever rotation and scale are the identity — everywhere a
freeze or a drop wrote one — but not on anything since turned by hand, and not at
all where `pos` is dense, so a conversion would be silent and wrong for exactly
the nodes somebody had placed themselves.

601 CLJS tests, 68 Django tests, and the onion and take browser suites pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HkinzDz1VtahZVsujAGRBD
2026-10-05 19:12:16 -04:00
Your Name
a6b6c116c6 Count the upload in the status line
The transfer is the longest part of an import on anything but a local
server, and it was the only part with no number on it: `uploading video…`
sat unchanged from the first byte to the last, however many there were, and
only the extraction that followed it ever counted. Most of what "slow"
means to whoever is waiting was a spinner of unknown length.

`fetch` cannot report this. A Request built from a FormData gives no way to
observe its own upload — the promise settles when the response arrives — so
`POST-form` gained an XMLHttpRequest arity, which is the one thing XHR can
still do that fetch cannot. `fail` became `failure`, building the ex-info
rather than throwing it, because the two transports raise it differently:
fetch throws inside a `.then` and XHR has to reject by hand.

`sending` dispatches only when the whole percentage moves, since the
browser fires progress as often as it pleases and each dispatch re-renders
the pane. Video, sound and image uploads all report.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-04 23:22:58 -04:00
Olive Vaughn
8d20097e61 Repaint the stage after edits that move the selection; onion any symbol
The player's tracker derefed its inputs one by one inside `ratom/run!`. An
edit that also changed the selection ran it from the selection's change: it
read `::render/shown` while still stale, then pulled the dirty
`::render/clip`, which re-ran it nested with the new resolver — and the outer
run, finishing last, wrote the old one back. A deleted layer stayed on the
stage until something else ran the tracker. The snapshot is now one sub, so
the tracker derefs a single clean input and is never re-entered.

Onion skinning only ghosted cels in `:display :lane` symbols, so a drawing
made of keyed shapes showed nothing. A ghost is now just the picture the
resolver draws n frames back and ahead, limited to the selection when there
is one. The scope setting is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:35:04 -04:00
Olive Vaughn
78fb120edd ikd mn 2026-10-04 18:14:05 -04:00
Olive Vaughn
208dddee07 Put the top bar back to words
The icon run in the top bar read worse than what it replaced. Restore the
earlier top bar — pane words, new, open ▾, undo ▾ redo, the edit menu,
snapshots ▾, title, status, export… — and its CSS. The stage bar's overlay
switches, the palette chooser and `menu/popover` stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 03:16:09 -04:00
Olive Vaughn
f238ff4f62 Put the top bar on the surface as icons, and give palettes a real chooser
Top bar: every document command is an icon button in a run — panes, new/open,
undo/history/redo, cut/copy/paste/duplicate, snapshots — with the title and
status in the middle and export, share and account on the right. Pane toggles
are pictures of the window with that pane filled in.

Stage bar: tracing, onion and passepartout are all the same toggle-plus-settings
split button, followed by one zoom group, with fit inside it.

Popovers: one `menu/popover`, measured against its button and dismissed by a
scrim, replaces the <details> popouts that never closed on an outside click.

Palette: the strip ends in a palette button whose popover lists every palette
with its swatch strip, renames the open one in place, and marks the ones on
the stage. An info badge says when the palette being edited is not one the
stage draws in at the playhead; both ends of a palette-lane blend count.
`clip/palette-at` is the resolver's root palette lookup, pulled out so the
strip asks the same question the renderer answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 03:08:21 -04:00
Olive Vaughn
eca1a96b82 correction things 2026-10-04 02:47:29 -04:00
Olive Vaughn
064a3d7c19 Cover large timeline keyframe selections in the browser suite 2026-10-04 02:14:02 -04:00
Olive Vaughn
6de71c4c66 Align stage multi-selection modifiers with the timeline 2026-10-04 02:12:06 -04:00
Olive Vaughn
9bc406f413 Show project settings only when the root is selected 2026-10-04 02:12:06 -04:00
Olive Vaughn
1c520e6a68 Add instance playback controls to the inspector 2026-10-04 02:12:06 -04:00