Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making
Component 3D viewer: play-once / no-loop option for animations
Separate from the ground-shadow (#55), a second viewer knob: let component animations play a fixed number of times and stop, instead of looping forever.
The component 3D viewer autoplays glTF animation groups on an infinite loop. For a pick-and-place animation (chip descends onto the footprint, e.g. adom/stm32f103c8t6), a constant up/down loop is visually distracting — it should play once or twice at load and then rest in the assembled state.
Requested: a play-once / repeat-count option, any of:
?loop=0(or?anim-repeat=1|2) on/viewer/3d/component/<slug>, or- default component embeds to play-once (play the groups with
{ from, to }once, then hold the last frame), or - a page.json toggle (e.g.
component.parts.model_3d_loop:false).
Babylon: animationGroup.play(false) / .start(false, 1.0, from, to) plays once; the loop is what needs to be off for component embeds. Frame 0 stays the assembled state (so ?animate=0 still works). Pairs naturally with the #55 ground fix.