see http://wiki.processing.org/w/Triangulation
credit: Paul Bourke, Florian Jenett, Tom Carden
I just rewrote the library so you can use ArrayList and PVector objects.
Get it here:
http://n.clavaud.free.fr/processing/triangulate/triangulate-20100628.zip
click to create a bunch of particles.
press [c] to clear the screen.
Very simple sketch. I like the result.
very alpha release of a very simple "gis" library (geographical information system)
[en] A real picture is used as fake screen to render an animation.
[fr] Une vraie photo est utilisée comme support pour le rendu d'une animation. Chaque carreau de carrelage correspond à un pixel.
(Nov. 2008)
Click on a box to change its color.
The picking library makes it really easy to pick an object in a 3d scene.
The Picking library makes it really easy to add picking to your sketches!
Very alpha release is here:
http://n.clavaud.free.fr/processing/picking-library/
The idea of a Picking library that wouldn't require much changes in your code comes from that sketch by Thomas Fifield:
http://openprocessing.org/visuals/?visualID=7707
Press a key to make them fly away.
Each pixel of the original image is replaced by a line of same color. The lines have random directions.
UP/DOWN: increase/decrease lines size
LEFT/RIGHT: increase/decrease stroke weight
R: enable/disabled random stroke weight
This is an example of how to find the shortest path from one cell to another on a grid area (with obstacles). Could be helpful to someone willing to build its own tower-defense game or other stuff.
Press g to see the grid.
Press v to see the values.
Click to create/remove a wall (you cannot create a wall that would block the path)
Arcs are draggable. You can rotate them and change their height. I used my favorite off-screen buffer picking technique.
The idea of 3d arcs was submitted by jazz on the Processing forum.
Some part of the code to draw the tree is from "Recursive Tree" by Daniel Shiffman.
tiny sketch competition submission
give focus to the applet and type some text to see how words fly away
tiny sketch competition submission
tiny sketch competition submission
tiny sketch competition submission
click and drag the mouse to create new blocks.
it uses jbox2d and a custom rendering method.