Security. Looked for: code run from text (none: no eval, no Function made from text), text written into the page as markup, pages and messages from elsewhere, links opened, what is fetched, the packages' known faults (npm audit: none).
- A project file can come from anyone, and three things in one reached the page as markup. A body's colour was written into a tool's button ("<span style=background:...>"): a file with markup for a colour had it on the page when that body's tools were listed. A colour is given to the swatch as a colour now; and a project read from a file keeps only colours that are colours ("#rgb", "#rrggbb", "#rrggbbaa") and see-through levels that are numbers - anything else is dropped. A drawing's ids and its text's size, weight and colour went into the sheet's SVG as they were: escaped now, as its texts were.
- The site sends security headers on every file: a Content-Security-Policy (only the site's own scripts run - none written into the page, none from another site, no plugins; pictures and the Browser window's pages may come from anywhere, they are what the user opens), nosniff, and a referrer that names only the site. 'unsafe-eval' is in it for the geometry engine, which builds part of itself as it starts: without it the engine did not start (tried). With the policy, on a build served with these headers: the app opened, the engine started, the tutorial's first 24 steps were built (sketches, extrudes, chamfers), the Technical Sheet and Drawings opened - no violation reported.
- Found sound: the Browser window opens http and https pages only, in a sandboxed frame; links open with noopener; the About page escapes its text.
Speed. Measured, on a ten-step part:
- A change that leaves the model's steps as they were - a body renamed, coloured or hidden, a material, a joint, an assembly's pose (saved at the end of every drag), a pin - went to the geometry engine and back all the same: about a fifth of a second each. What is shown is brought up to date from the model there is now, the engine not asked (only when the model on the screen is the project's own, and none is being made). A change to a step still makes the model again; undo and redo as before.
- Nothing to change: the tutorial's work each frame and an assembly's parts placed on each move of a drag are a few thousandths of a millisecond; nothing is drawn while nothing happens, with the tutorial open or not.
Words. Help: Insert (Image on plane, File, Project), Assemblies (the pose is kept; Joint from two picked faces; where the parts are shown while a tool is open), the tutorial (New project at its end). About (the README): the tutorial, BIM and Assemblies, Insert, what a .super file holds, the project's joints and pose for scripts.
In the app: a project loaded with markup for a body's colour, its see-through level and a material's colour - none of it kept, nothing run, the body's tools listed; a pose saved five times - no engine call, the pose there; a colour and a name changed - shown, no engine call; a step's size changed and undone - the model made again each time. tests: joints, linked, sketchfollow, holepattern pass.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- sg (the browser's console): the project, tool, hint, open window,
selection, errors and bodies in one look; pick things by name; list and
run what's offered; read and set the open window's rows (slots, numbers,
choices, toggles); give a waiting slot a face or edge; Done / Cancel;
wait for the engine; each body's health; open a project. sg.help() lists it.
- npm run check <project>: rebuilds it step by step and says what each step
made, changed or took away, its error, and how sound each body is.
- npm run render <project> <out.png>: a shaded picture with edges from any
side, drawn without a browser.
- tests/kit.ts: the engine started once, check / done, and quick sketches,
shapes and steps (wrap.test.ts uses it).
- version.json on the site: the commit it was built from; npm run live says
whether main is live (--wait until it is).
- The engine measures each body's health on request (valid, closed, solids,
faces, volume, box).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every tool's guide text rewritten for beginners: what to tap, in order, in
everyday words. An empty project says to start with Sketch, which pulses.
- More -> Offline mode: the app's files are kept on the device (a service
worker and a file list the build writes), so it opens with no connection.
While online, a new version is downloaded in the background.
- Phones sideways: the guide text shows with History open, the sketch tools
show their names until one is picked (tap it again to see them), and the
right column's buttons are wider.
- Touch screens: press and hold any icon button to see its name.
- Phones: the Snap and Units cards are no taller than History.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>