Monday, November 1, 2010

Voronoi in Proce$$ing

I've encountered a very interesting programming tool called Proce$$ing, which is aimed at creating applications with primary visual output in fast and easy way.

You can check proce$$ing at it's home page www.processing.org.

I've yet to fully explore all it's functions, but my first tries are very promising.
Here's the same Voronoi program I've written in Actionscript before, but this time in Proce$$ing. The code is much shorter and the application much faster.



Proce$$ing enables the user to export the code as a standalone Win/Mac application or as a Java applet - which you can see right here.

Controls: Left-click to add a new node.
Hold left mouse button on a node and drag to move the node.

Source code: Can be found here.