Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aweary/ln.js


https://github.com/aweary/ln.js

Last synced: 7 days ago
JSON representation

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)