/voronoi.js

A library for generating voronoi diagrams.

Primary LanguageJavaScriptMIT LicenseMIT

voronoi

npm version

A library for generating voronoi diagrams.

This library borrows from the work of George Does Code:

Table of contents

Usage

Install

npm

npm i @romellogoodman/voronoi

unpkg

<script src="https://unpkg.com/@romellogoodman/voronoi"></script>

Use

import {generateVoronoiDiagram} from '@romellogoodman/voronoi';

const field = generateVoronoiDiagram({  width: 1024, height: 1024, points: [], relaxIterations: 8});

## API

Tk.

## Contributing

All contributors and all contributions both big and small are welcome in this project.