feat(cam): WebGL web rendering backend mockup (CAM/web) #47

Closed
patman wants to merge 1 commit from patman/cam-web into patman/uom-typed-integrator AGit
Owner

Self-contained raw-WebGL CAM toolpath viewer — GPU counterpart to the CPU mockup in CAM/viz. Same canned scene (orbit machine bed, serpentine pocket toolpath as a cut-progress gradient ribbon, tool head + axis tripod) in real WebGL; HUD is DOM/CSS over the canvas. Zero runtime deps; classic script (loads over file://). Ribbon triangles (GL lineWidth unreliable); path/tool as depth-independent overlay so the pocket-floor pass is not buried in the slab. Headless-verified on the Pi via Playwright headless_shell + SwiftShader (CAM/web/verify.sh) — no GPU/display. Mockup geometry only, NOT the CAM path core. Stacks on #43.

Self-contained raw-WebGL CAM toolpath viewer — GPU counterpart to the CPU mockup in CAM/viz. Same canned scene (orbit machine bed, serpentine pocket toolpath as a cut-progress gradient ribbon, tool head + axis tripod) in real WebGL; HUD is DOM/CSS over the canvas. Zero runtime deps; classic script (loads over file://). Ribbon triangles (GL lineWidth unreliable); path/tool as depth-independent overlay so the pocket-floor pass is not buried in the slab. Headless-verified on the Pi via Playwright headless_shell + SwiftShader (CAM/web/verify.sh) — no GPU/display. Mockup geometry only, NOT the CAM path core. Stacks on #43.
Self-contained raw-WebGL CAM toolpath viewer — the GPU-capable counterpart to
the CPU mockup in CAM/viz. Renders the same canned scene (orbit machine bed,
serpentine pocket toolpath as a cut-progress gradient ribbon, tool head + axis,
axis tripod) in real WebGL; HUD chrome is DOM/CSS over the canvas. Zero runtime
deps; classic script so it loads over file://. Toolpath drawn as triangle
ribbons (GL lineWidth is unreliable) and as a depth-independent overlay so the
pocket-floor pass is not buried in the solid stock.

Headless-verified on the Pi via the cached Playwright headless_shell +
SwiftShader (CAM/web/verify.sh) — no GPU/display. Mockup geometry only, NOT the
CAM path core.

Stacks on #43.

Co-authored-by: patman-assist <patrick-ai@kgroo.co>
patman force-pushed patman/cam-web from 223672bab1 to a7ac71407b 2026-06-27 21:13:42 +00:00 Compare
patman force-pushed patman/cam-web from a7ac71407b to 6c299d5989 2026-06-27 23:20:51 +00:00 Compare
patman closed this pull request 2026-07-09 23:30:51 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.