Monthly Archives: June 2012

Introducing MosaicaFantastica

MosaicaFantastica - Gorilla at Toronga Zoo, Sydney

Gorilla at Toronga Zoo, Sydney

MosaicaFantastica is a Java program that attempts to recreate an image using recursive colour sampling. The effect is to create a new image which approximates the source/target image in a style reminiscent of impressionism or pointillism.

MosicaFantastica recursively sub-divides the target and using a basic colour distance formula decides whether it can get away with using a basic shape (rectangle or oval) to fill the available space. If the colour difference is too great then it sub-divides and tests again.

Ultimately you get an image which is made up of basic shapes arranged using random parameters such as rotation and size variation to make interesting and unique interpretations.

This is a work in progress.