vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Add an orientation cube to the model viewer
d4764b08e9d56c48ff2bf2c8e8d6247e70f2d3e3 · Keenan Nemetz · 9d ago · parent 7178cad6
Add an orientation cube to the model viewer Replace the Front/Top/Right text row with a six-face CSS 3D cube. The cube follows the model's turn and the main camera, and clicking a face uses the existing turnTo snap path. A visually hidden six-button list keeps the views keyboard and screen-reader accessible; it appears when focused. No new dependency or WebGL context is added.
server/web/static/models/README.md +3−2
| @@ -2,8 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | 3 | `model-viewer.js` is Vole's viewer: it draws a blob into a canvas with | |
| 4 | 4 | drag-to-turn (a trackball, with no pole to stop at, whose gesture commits to one | |
| 5 | axis), wheel, pinch or button zoom, Front/Top/Right snap views, a wireframe | ||
| 6 | toggle, and a Sync button that turns the two viewers of a diff together. | ||
| 5 | axis), wheel, pinch or button zoom, a six-face orientation cube for snap | ||
| 6 | views, a wireframe toggle, and a Sync button that turns the two viewers of a | ||
| 7 | diff together. | ||
| 7 | 8 | `app.js` imports it only when a page contains a `[data-model]` element, so no | |
| 8 | 9 | other page downloads it. | |
| 9 | 10 | ||