Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.).