37degree-studio / linejig
linejig
Draws interactive 3D line illustrations in three.js. One object is built from a few rounded solids and drawn in an isometric view (2:1 axonometric) with one fine line width, in line art (white and black, hierarchy by tone) or in the Brand, Dots, Readout and Pencil styles, so all figures keep a consistent illustration style. It builds in (stack or draw-on), then its one hero part (a needle, a lid, the keys of a keyboard) answers hover and click, and the user can drag to turn and zoom it. No capti
Install
npx skills add https://github.com/37degree-studio/linejig --skill linejigVerify
Capture frozen frames
ES modules from a CDN work from file://, but if the page loads other local files, serve it:
- Capture the start, middle and end of each move (for example
freeze=300,900,1600) and the settled state (freeze=4000), plus?reduced=1. - Capture at desktop width in both palettes (
--force-dark-mode, or a?theme=light|darkhook on the page). - Capture the click state with
?click=ID@MS(the hero member's hit id, clicked at MS; it works under?freeze). - Under the kernel, frames are driven by timers while
?freezeis set and the hand never turns on, so drive hover and drag checks in the browser pane, not headless. - Blank frozen frames in headless Chrome: create the renderer with
preserveDrawingBuffer: truewhen?freezeis set, and render once more in a finalrequestAnimationFrame. The kernel does both. A frame PNG of only a few KB is blank; check before judging it. - Headless Chrome will not size a window below about 500 px wide. Check phone width (375 × 812) in the browser pane with a viewport resize instead.
- Any
Uncaughtline in the console output is a failure. Ignore Chrome's owncv_display_linknoise.
Look for
- Lines all the same width, including at phone size and on high-density screens.
- One
hipart only, and the tone ramp reading clearly:hi>edge>mid>lo(measure on real pixels). - No part smaller than about 4% of the drawing's width; no stray detail.
- Near parts hiding far ones cleanly, with no lines showing through fills and no z-fighting on edges.
- The object inside the plate at every frame of the move.
- No text anywhere in the illustration.
- No horizontal scroll at 375 px.