Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datamine/image-approximator
Renders images by splitting triangles to configurable depth; animates rendering process
https://github.com/datamine/image-approximator
Last synced: 7 days ago
JSON representation
Renders images by splitting triangles to configurable depth; animates rendering process
- Host: GitHub
- URL: https://github.com/datamine/image-approximator
- Owner: Datamine
- Created: 2014-12-16T20:44:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-13T20:31:04.000Z (almost 10 years ago)
- Last Synced: 2024-12-03T15:31:01.823Z (24 days ago)
- Language: Python
- Homepage:
- Size: 7.34 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Image-Approximator
Renders an image by splitting triangles, which yields a cool animation.
Requires:
*PyGame 1.9.2a0
*Python Imaging Library 1.1.6+## Todo
The following are areas for improvement:
* ~~There are currently lines drawn on the image as an artifact of the triangle-splitting. Should get rid of those lines -- they're ugly/distracting.~~
(Done, with an option to have them in the image for a more `tiled' look.)* ~~Current rendering process is DFS. Should also have a BFS option.~~
(Done)* Should split triangles into triangles of random dimensons, rather than into right-angle triangles (a bit boring).
* Could do this with random polygons at random positions. Maybe doing nothing but color inversions to approximate the image.
* This needs to be sped up! Some optimization is called for.
* Should make a shortcut-mode that bypasses the animation and instead just renders the final image, directly.
* Does not yet work on certain grayscale images (e.g. Kitten.jpg.).