1D textures for quick contours

26th May 2006 @ 2:23 pm
Processing and Imported
You can generate simple contour maps from 1-dimensional textures. I think it's a trick I picked up from one of the editions of the OpenGL Red Book, but it works with Processing's 3D and OpenGL renderers too.

This example uses the Arcball and Triangulate libraries I put together for Processing Hacks, and I'll document it fully there in the next few days. In the meantime, here's the applet for safe keeping.