# ao-mesher

> Voxel ambient occlusion mesher

Latest version **0.2.10** (published 2014-04-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install ao-mesher
pnpm add ao-mesher
yarn add ao-mesher
bun add ao-mesher
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.10 |
| Published | 2014-04-05 |
| First published | 2013-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 41 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | voxel, ambient, occlusion, mesher, ndarray |

## Links

- npm: https://www.npmjs.com/package/ao-mesher
- Repository: https://github.com/mikolalysenko/ao-mesher
- Issues: https://github.com/mikolalysenko/ao-mesher/issues
- npm.io page: https://npm.io/package/ao-mesher

## Dependencies (4)

- [ndarray](https://npm.io/package/ndarray.md) ~1.0.1
- [greedy-mesher](https://npm.io/package/greedy-mesher.md) ~1.0.0
- [cwise-compiler](https://npm.io/package/cwise-compiler.md) ~0.1.0
- [typedarray-pool](https://npm.io/package/typedarray-pool.md) ~0.1.1

## Recent versions

- 0.2.10 (latest) — 2014-04-05
- 0.2.9 — 2013-07-18
- 0.2.8 — 2013-07-17
- 0.2.7 — 2013-07-09
- 0.2.6 — 2013-07-09
- 0.2.5 — 2013-07-09
- 0.2.4 — 2013-07-09
- 0.2.2 — 2013-07-07
- 0.2.0 — 2013-07-02
- 0.1.1 — 2013-07-01
- 0.1.0 — 2013-07-01
- 0.0.0 — 2013-06-30

## README

ao-mesher
=========
A voxel mesher for ndarrays that handles ambient occlusion and transparency.

## Install

    npm install ao-mesher

### `require("ao-mesher")(array)`
Constructs a mesh for `array`. 

* `array` is a 3D ndarray of voxels

**Returns** A uint8array encoding the mesh, or else null if there were no facets.  This is in the same format that `ao-shader` expects.


# Credits
(c) 2013 Mikola Lysenko. MIT License

---
_Source: https://npm.io/package/ao-mesher · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
