mike chambers | about

JavaScript Voronoi port

Thursday, March 24, 2011

I have always been amazed by some of the digital art work that Mario Klingemann (aka @Quasimondo has created using with Voronois. After doing some searching, I found an early ActionScript 1 Voronoi implementation that Mario did, and I ported it to JavaScript.

I wanted to share the results:
<!--more-->

Here is a graphic I created by playing around with the code:

title

The code is pretty much a straight up port, with some minor optimizations for JavaScript. I also replaced the rendering from the Flash display list API, to EaselJS. All of the credit really goes to Mario who wrote the original code.

You can view all of the code on my GitHub repository, and grab the original code from Mario's website.

comments powered by Disqus
twitter github flickr behance rss