Skip to content

mark-sim/QuadPixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuadPixel

Computer art based on quadtrees.

The program targets an input image. The input image is split into four quadrants. Each quadrant is assigned an averaged color based on the colors in the input image. The quadrant with the largest error is split into its four children quadrants to refine the image. This process is repeated N times.

Web Demo

A web-based version can be seen here:

https://marksim5.github.io/QuadPixel.html

Installation

If you want to try out QuadPixel in Java (Output image has better quality), Install

git clone https://github.com/marksim5/QuadPixel.git

mvn clean install -DskipTests

java -jar target/QuadPixel2D-1.0-SNAPSHOT-jar-with-dependencies.jar fullPathToImage

Animation

Pikachu Animation

Apple Animation

Samples

Statue of Liberty

Apple

Google Logo

Luigi

About

Computer art based on quadtrees.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published