mark-sim / QuadPixel

Computer art based on quadtrees.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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


Languages

Language:Java 58.6%Language:JavaScript 41.4%