Repository navigation
Web: resize the viewer; 3D views turn, move and zoom like the phones - #37
Merged
Merged
Conversation
The line between the thread and the viewer is a handle: the resize cursor over it, a drag sets the viewer's width (the thread keeps 360 px, the viewer 320), kept in the browser; a double-click gives the usual share back. The 3D canvas redraws at its new size. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The camera was a turntable whose pan ignored the tilt and whose wheel zoomed at the centre; a touchpad's two-finger scroll came as wheel events, so moving the model zoomed it instead. Port the phones' free orbit: the model under the pointer follows a drag; right or middle (or shift/ctrl) drag moves it in the view plane; alt rolls; the wheel and a pinch zoom at the pointer, bounded by the fitted distance. A touchpad's two fingers move the model, in 3D and on boards and schematics alike; on a touch screen one finger turns and two move, pinch and twist. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
jlcjak
marked this pull request as ready for review
October 2, 2026 14:22
Snaiderbg
pushed a commit
to Snaiderbg/Backplane
that referenced
this pull request
Oct 9, 2026
…ine-rooms Shared rooms across machines
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.
Two web viewer fixes: the viewer can be resized, and the 3D views now turn, move and zoom like the phones and the window.
Resize the viewer
3D controls (
solid.js)The old camera was a turntable. Its pan ignored the tilt, its wheel zoomed at the centre, and a touchpad's two-finger scroll arrived as wheel events, so trying to move the model zoomed it. It now uses the phones' free orbit (
Orbit, ported fromPlotView.kt):plot2d.js).Tested
scripts/check.shandscripts/test.shpass.bun test/tools/orbit_test.ts(new, 15 checks):Note: a touchpad is told from a mouse wheel by its small or sideways steps. A smooth-scrolling mouse with very fine steps could read as a touchpad and pan. Ctrl+wheel still zooms.
🤖 Generated with Claude Code