https://github.com/aweary/ln.js
https://github.com/aweary/ln.js
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aweary/ln.js
- Owner: aweary
- Created: 2018-12-29T18:20:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:26:10.000Z (about 3 years ago)
- Last Synced: 2025-04-08T01:51:20.384Z (11 months ago)
- Language: TypeScript
- Size: 1.79 MB
- Stars: 178
- Watchers: 3
- Forks: 6
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ln.js
A JavaScript port of the 3D line rendering engine [`ln`](https://github.com/fogleman/ln)
# Installation
The package is published as `@lnjs/core`.
```sh
npm install @lnjs/core
```
If you're using ES6 modules you can namespace everything by doing:
```js
import * as ln from "@lnjs/core";
```
Or you can import only the modules you use:
```js
import {Scene, Cube} from "@lnjs/core";
```
Or if you're just using CommonJS modules:
```js
const ln = require("@lnjs/core");
```
# API
Please see [the official API documentation](http://lnjs.surge.sh/globals.html)