qnimate
An animated colorful Voronoi diagram powered by d3.
ScreenShot
Live demo
https://micooz.github.io/qnimate
Try it!
Install via npm:
$ git clone https://github.com/micooz/qnimate$ cd qnimate && npm i
Run in development:
$ npm start
Build and bundle:
$ npm run build
Usage
HTML:
<div id="playground"></div>
js:
<script src="qnimate.min.js"></script>
Qnimate
will be exposed to window
, create an instance of Qnimate
, pass an option object and then call run()
:
document;
Acknowledgments
d3.voronoi
- https://github.com/d3/d3-voronoi
Known issues
- New triangle appears suddenly.
- White triangle appears from time to time.
Any advice?
Send me issue.