1
0
Fork
You've already forked voronoi
0
No description
  • C++ 97.1%
  • C 2%
  • Makefile 0.7%
  • Batchfile 0.2%
2025年04月23日 23:18:38 +02:00
corpus Split program into command line interface and library. 2011年12月26日 21:52:15 -05:00
picopng fix warnings and deprecations, enable more optimizations 2025年04月23日 23:18:38 +02:00
stippler fix warnings and deprecations, enable more optimizations 2025年04月23日 23:18:38 +02:00
voronoi fix warnings and deprecations, enable more optimizations 2025年04月23日 23:18:38 +02:00
.gitignore Add a .gitignore file. 2015年04月21日 20:49:43 -04:00
.hgignore Add a .gitignore file. 2015年04月21日 20:49:43 -04:00
.hgtags Added tag 20120413_Release for changeset 31c2ac8d97d2 2012年04月13日 07:59:28 -04:00
license.txt First check-in of Stippling program. 2011年05月23日 17:15:17 -04:00
Makefile fix warnings and deprecations, enable more optimizations 2025年04月23日 23:18:38 +02:00
README.md h3 for Linux as well. 2015年04月21日 20:52:31 -04:00
voronoi.bat Fix a spelling mistake. 2014年12月30日 00:32:29 -05:00
voronoi.sln Move license file reference around a bit. 2014年12月30日 00:24:14 -05:00

Weighted Voronoi Stippler

The Weighted Voronoi Stippler is a command line tool that creates stippling art in SVG format based on an input PNG image.

Usage Instructions

Usage instructions are available via the documentation page.

Windows Binary

A Windows binary is available via the project homepage.

Building from Source

Windows

There is a Visual Studio solution file included with the project that you can use to compile the application from source. However, you must have the Boost library installed on your system before it will compile cleanly.

Mac OS X

A makefile was contributed (thanks!) which can be used to build a binary from source on Mac OS X. Using Homebrew, you can quickly install Boost as a necessary dependency.

brew install boost

Then, simply compile with

make

Note that by default, Mac OS X uses the Clang compiler which does not support the OpenMP library and as such will see significant deterioriated performance. GCC is available for Mac OS X and can be used to compile the application, but installing GCC, Boost, and OpenMP are beyond the scope of this document.

Building on Linux

The makefile works on Linux as well, so as long as you install Boost and OpenMP on your machine (either using your distribution's package manager or via source), it should just work.

Testing

There are no unit tests (contributions welcome!), but there is a corpus of images included with the tool to do repetitive testing with.

Included Third Party Libraries

The following two libraries are included and have been tweaked slightly to get rid of compilation warnings.

  • picoPNG (included in the source tree).
  • An implementation of Fortune's algorithm provided by O'Sullivan (included in the source tree).