SplineExtrude.pde http://www.davebollinger.com The technique intended to be illustrated here is how to use Processing's PMatrix and spherical coordinates to build a mesh around a curve. A Bezier spline is used here, but this demo really isn't about Beziers, it's about using a PMatrix to transform points - so take technique and apply elsewhere. (note that this demo is overly simple, and creates curves that are entirely random that may contain sharp "cusps" that won't generate "nice" meshes -- the mesh may self-intersect, or "twist" wildly along its length, etc -- you'd want to avoid such curves in actual use, or use a smaller radius, or more steps, attempting to better capture such detail) drag to rotate right-click to generate next shape
Source code: SplineExtrude
Built with Processing