https://github.com/automata/tri-delaunay
Generative paintings by Delaunay triangulation
https://github.com/automata/tri-delaunay
Last synced: 3 months ago
JSON representation
Generative paintings by Delaunay triangulation
- Host: GitHub
- URL: https://github.com/automata/tri-delaunay
- Owner: automata
- License: mit
- Created: 2013-09-27T21:06:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-01T05:52:35.000Z (about 11 years ago)
- Last Synced: 2025-01-07T22:18:29.699Z (4 months ago)
- Language: Python
- Size: 20.7 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tri-delaunay
============Generative paintings by Delaunay triangulation.

Presented at SIFISC 3 (2013) at IFSC/USP as:
Pinturas generativas por tesselação de Delaunay. Estudo #4
----------------------------------------------------------Imagens de pinturas originais dos movimentos Barroco e Moderno foram
segmentadas. Coordenadas de pontos pertencentes a esses segmentos foram dadas
como entrada para o algoritmo de tesselação de Delaunay. O algoritmo cria uma
malha a partir da triangulação das coordenadas dadas, sem cruzamentos de
arestas. A cor de cada triângulo da malha equivale à cor média do segmento da
pintura original.All generated paintings ([the whole set](http://www.flickr.com/photos/auto_mata/sets/72157634660390040/)):
Details of the exposition:


# Installation
At a Linux workstation:
sudo apt-get install python python-numpy python-matplotlib python-setuptools git
git clone https://github.com/scikit-image/scikit-image.git
cd scikit-image
sudo python setup.py install
cd ..
git clone https://github.com/automata/tri-delaunay.git
cd tri-delaunay# Usage
To generate a painting from any PNG file:
python tri.py foo.png
It will generate ''foo_pintura.svg''.
To generate a file showing all the steps:python tri_passos.py foo.png
It will generate ''foo_passos.svg''.# Acknowledgements
LabMacambira.sf.net, IFSC/USP.