Repository navigation
Conversation
…or along a path (102b row 1)
A live ARRAY on the object (userData.array, one objectParameters 'array' message and one props
undo per edit): every peer draws the copies itself as one InstancedMesh per source mesh beside
the object (arrayRuntime, lazy; scene-root visual, never saved or sent, raycast off). Count,
step / grid / radius + arc + face out / path + spacing + follow, a turn and growth per copy,
at most 500. Make real objects = the existing duplicate + move messages in ONE wire batch and
ONE history batch. Agents: update_objects {array, makeReal}; list_scene reports the array.
Pure pose maths in arrayCore.js (vitest); boot cost is the arrayTick leaf + appliers only.
Suite: array-tool (two peers + reload).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ner or edge middle (102b row 3) A momentary mode on top of 19-B element snap: while B is held during a translate drag, the search offers only exact points (the hovered triangle's corners, edge midpoints and the hovered object's box corners + box edge midpoints) and the anchor is the dragged object's NEAREST corner (its own vertices up to 4000, else its box corners; a multi-select pivot uses the primary's box). Works with grid snap; the stored snap targets are untouched; a text field types a B. V is voice push-to-talk, so the key is B, listed as a fixed row in Settings > Shortcuts. LOCAL, never sent. Suite: corner-snap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Layers: the table {id, name, color, locked?} rides the scenePhysics singleton as an optional
`layers` field (absent unless authored, so a scene without layers is byte-identical; no new
message); an object names its layer in userData.layer (objectParameters 'layer', props undo).
HIDE is this screen's only (layersRuntime, lazy; a park hook shows the objects for every
serializer, Play shows everything). LOCK is shared scene data: the editor pick pass makes locked
objects click-through (selectThrough via editorPass, never a game's rays) and the box selection
skips them; the object list can still pick them and shows a colour dot per layer.
Tidy (Inspector > Tidy, lazy): Layer picker, Select similar (shape / material / prefab / tag /
layer), Rename many ({n} counter, {name}, start, digits, preview) and Randomise (turn / size /
move within ranges, seeded) — each ONE history batch and ONE wire envelope. Configure Scene >
Layers lists, hides, locks, selects and removes layers. Agents: update_objects {layer: name},
list_scene reports the layer by name.
Pure halves in tidyCore.js + layersCore.js (vitest). Suites: tidy-layers (two peers + reload),
arrange-compat (a lane file opens in v1.71.0; an old scene loads unchanged — a lane proof across
two trees, excluded from the battery).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…through the renderer canvas
A locked object marked see-through was still the FALLBACK pick of primaryIndex when nothing
else was under the click, so a lone locked box selected. pickStack now drops entries on a
locked layer (editor pass only), so desktop clicks, Alt-cycling and the VR laser agree.
Suites: pixels from globalRenderer.domElement (querySelector('canvas') is another canvas),
the gizmo hook is three's 'change', a reloaded joiner rejoins by itself (wait, dial only if
not), rename across a rejoin uses hyphens (glTF sync sanitizes spaces — pre-existing), and
arrange-compat resets the scene physics block before building the old scene.
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.
Roadmap 102 batch 2, lane 102b-arrange (scout rows 2, 9, 21). No own release: rides the next integrator. One commit per row (row 1, row 3, row 2), plus one fix commit, so a row can be dropped.
What people get
userData.array, about 200 bytes), and every peer draws the copies itself as ONE InstancedMesh per source mesh beside it.duplicate+movemessages in ONE wire batch envelope and ONE history batch. No new message type.{n}counter,{name}, start, digits, live preview.update_objectsgainsarray,makeRealandlayer(by name; it makes the layer when new).list_scenereportsarrayandlayer.Proof (battery rule 21 Nov: lane suites, no lane battery)
battery.jsonsuites):array-tool(300 s; two peers + reload)corner-snap(180 s)tidy-layers(300 s; two peers + reload)arrange-compatis inexclude: a two-tree proof, run withARRANGE_COMPAT=baseon the older release's tree, then on the lane.userData.array,userData.layerand thelayerstable are kept and saved back; 1.71 just does not draw them.aaacd5ab66b14529both), and nothing new is written for it.layerskey in the scene snapshot (asserted) and noarraykey on objects.arrayCore(14),tidyCore(10, incl. the lock pick stack). Full unit suite green (468 files, 5264 tests).npm run buildgreen.boot-size.cjs --diff), within the ~3 KB rule.arrayTickandlayersCore, the hold-B listener, two validators, two appliers, two undo rows, the shortcut row and the Inspector/Objects wiring.For the integrator
objectParametersgainsparameter: 'array'and'layer'(validated). An older peer ignores them: it neither draws the copies nor knows the layer, and a lock does not apply on its screen.scenephysicssingleton as an optional field, and an older peer keeps it verbatim.~/.code/lanes-30/after-102/102-102b-arrange/(docs-fragment.md, summary.md).🤖 Generated with Claude Code