https://github.com/samuelyuan/rust-quadtree-art
Quadtree art in Rust
https://github.com/samuelyuan/rust-quadtree-art
Last synced: 3 months ago
JSON representation
Quadtree art in Rust
- Host: GitHub
- URL: https://github.com/samuelyuan/rust-quadtree-art
- Owner: samuelyuan
- Created: 2023-02-09T03:30:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T03:02:45.000Z (over 1 year ago)
- Last Synced: 2024-10-31T02:42:49.495Z (7 months ago)
- Language: Rust
- Size: 1.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-quadtree-art
## Getting Started
1. Clone the project
2. Run the program
```
cargo run [input image filename]
```## About
Quadtree art takes an image and recursively divides the image into 4 quadrants until the difference between the average color and each pixel is less than the color distance threshold or the size of each quadrant is smaller than the image dimension threshold.
The result will be a target image that approximates the source image.
Input:
![]()
Output:
![]()