Triangulate your pictures and give them a nice polygonish look.
This software is stiff in Work In Progress
- Put your image on the data folder
- Rename baseImage on line 71 to match the file name
- Change the size() on line 64 values to match your image dimensions
You can now create some points on your canvas ! When you are ready, play with the settings !
- Display circles : Display the points
- Display color : Show the average color of the current triangle
- Triangles only : Display only the triangles
- Display epicenter : Display the point used for the visual stuff
- Triangle creation - Click on the picture to create some points, they are automatically linked to each other to create a triangle.
- Auto triangle - Click one time on the picture, a new triangle is created, linked to the two nearst points
- Move - Select a point and drag to move it
- Delete - Delete a point (and the triangles connected to this one)
Other major options
- Save : Saves the current points/triangles positions (WARNING : didn't save the settings)
- Load : Load the last data saved
- Save as PDf : well... save as pdf!
This sketch uses ControlP5 by Andreas Schlegel.
- new random seed
- zoom function( ducplication in bigger the 100px around)