Skip to content

atrismen/mosais

Repository files navigation

Mosais

Mosaic Maker

An application for transforming a picture into a unique mosaic.

This program will work on the image formats that are part of the standard Java ImageIO class: JPG, PNG, GIF, and BMP.

The original file is not changed, but the mosaic can be saved to any of the input formats.

The mosaic is created by generating a random distribution of points in a field the size of the image, then re-coloring all pixels of the image the color of the closest point. This concept is called a Voronoi Diagram or Voronoi Tesselation.

Two types of distributions are currently supported:

  • Pure random distribution using the standard Java random library.
  • A uniform distribution using Poisson disc sampling.

Credits

License

This project is licensed under the GPL v3

Releases

No releases published

Packages

No packages published

Languages