Fork of https://github.com/jscad/OpenJSCAD.org/tree/V2/packages/utils/regl-renderer
3D renderer for JSCAD geometries : small, fast
This is a early version of this viewer ! Expect changes !
- webgl renderer (barebones, uses regl)
- works in the browser
- work in node (headless, see below for more details)
Install the following packages manually. NOTE: There are issues with CI, so these are not installed as dev dependencies.
npm install gl
Try the demo by running npm run demo-cli
.
If all goes well you should end up with an image (test.png) rendering of the demo design (a few solids).
Try the demo by running npm run demo-web
and open the URL shown.
If all goes well you should end up with a web page with a rotating camera (no mouse controls) that displays the demo design (a few solids).
The MIT License (MIT) (unless specified otherwise)