Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aweary/ln.js
https://github.com/aweary/ln.js
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aweary/ln.js
- Owner: aweary
- Created: 2018-12-29T18:20:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:26:10.000Z (almost 2 years ago)
- Last Synced: 2024-12-10T05:42:08.752Z (16 days ago)
- Language: TypeScript
- Size: 1.79 MB
- Stars: 175
- Watchers: 4
- 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)