Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

VoronoiMap

Simple program to generate Voronoi Maps (https://en.wikipedia.org/wiki/Voronoi_diagram) of user supplied images. The program accepts arguments from the user for image (.jpg or .png, chosen from a file picker), number of nodes, and distance formula to be used (Manhattan or Euclidian). I developed the algorithm pretty quickly so there is definitely room for optimization, but for now this works and I am content with it.

Inspiration

Inspiration for this came from https://codegolf.stackexchange.com/questions/50299/draw-an-image-as-a-voronoi-map

#Examples

Original


n = 100

n = 500

n = 1000

n = 2500

Original


n = 100

n = 500

n = 1000

n = 2500

Original


n = 100

n = 500

n = 1000

n = 2500

More info

More information on Voronoi Maps: https://en.wikipedia.org/wiki/Voronoi_diagram

About

Simple program to generate Voronoi Maps of user supplied images.

Resources

Releases

No releases published

Packages

No packages published

Languages