2.6.8 • Published 3 months ago

@jscad/regl-renderer v2.6.8

Weekly downloads
48
License
MIT
Repository
github
Last release
3 months ago

@jscad-regl-renderer

Renderer for JSCAD geometries, both 2D and 3D

NPM version NPM downloads Build Status Stability License

User Group Lerna JavaScript Style Guide

Backers Sponsors

What is it?

  • webgl renderer (barebones, uses regl)
  • small, compact, and fast
  • works in all browsers
  • works in Node.js projects (headless rendering to PNG images)

Installation

This package is published and available for download via NPM

npm install @jscad/regl-renderer

In addition this package is hosted at UNPKG, and can be imported directly into webpages.

<script language="javascript" src="https://unpkg.com/@jscad/regl-renderer"</script>

Usage

Node.js (headless)

Install the following packages manually.

NOTE: There are issues with continous integration testing, so 'gl' is not installed initially.

 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) that renders the demo design.

The demo code can be found in 'demo-cli.js'

Browsers

From a browser, try opening the file 'demo.html'. This should show the demo design.

Developers

Run the development web server using npm run dev, then 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).

After making changes, all tests must pass. Run npm test

License

The MIT License (MIT) (unless specified otherwise)

2.6.8

3 months ago

3.0.0-alpha.0

8 months ago

2.6.7

11 months ago

2.6.6

1 year ago

2.6.5

1 year ago

2.6.4

1 year ago

2.6.3

2 years ago

2.6.1

2 years ago

2.6.2

2 years ago

2.6.0

2 years ago

2.5.8

2 years ago

2.5.7

2 years ago

2.5.9

2 years ago

2.5.6

2 years ago

2.5.5

2 years ago

2.5.4

2 years ago

2.5.3

2 years ago

2.5.2

2 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.2

3 years ago

2.1.3

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-alpha.13

3 years ago

2.0.0-alpha.12

3 years ago

2.0.0-alpha.11

3 years ago

2.0.0-alpha.10

3 years ago

2.0.0-alpha.9

4 years ago

2.0.0-alpha.8

4 years ago

2.0.0-alpha.7

4 years ago

2.0.0-alpha.6

4 years ago