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.
Use a turntable drag in the model viewer
f865b269cec588f02dc39892e053d19a463896d5 · Keenan Nemetz · 9d ago · parent d4764b08
Use a turntable drag in the model viewer Spin a horizontal drag about the model's own up axis and tip a vertical drag about the screen's horizontal axis. The two mix without roll and the model can be carried over the top. Replace the per-gesture axis lock; the orientation cube and snap views follow the same turn.
server/web/static/models/README.md +4−4
| @@ -1,10 +1,10 @@ | |||
| 1 | 1 | # 3D model preview | |
| 2 | 2 | ||
| 3 | 3 | `model-viewer.js` is Vole's viewer: it draws a blob into a canvas with | |
| 4 | drag-to-turn (a trackball, with no pole to stop at, whose gesture commits to one | ||
| 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. | ||
| 4 | drag-to-turn (a turntable: sideways spins the model about its own up axis, up | ||
| 5 | and down tips it over the top, and the two mix without rolling it), wheel, | ||
| 6 | pinch or button zoom, a six-face orientation cube for snap views, a wireframe | ||
| 7 | toggle, and a Sync button that turns the two viewers of a diff together. | ||
| 8 | 8 | `app.js` imports it only when a page contains a `[data-model]` element, so no | |
| 9 | 9 | other page downloads it. | |
| 10 | 10 | ||