I have and algorithm that generates seashell geometry in Python. I’d like to rewrite it in three.js and generate many different types of shells on the web.
I’ve searched this forum and Stackoverflow and am still not sure. Can Three.js create a complex mesh from a generative point array? I’ve looked at BufferGeometry and it doesn’t look like it can, but I’m not sure.
My algorithm generates points from curves, (“cross sections”, “ellipses”, “ribs”) along a spline. It’s kind of like extruding a shape along a path, except the shapes increase in size and points the further they get along down the path. I’ve looked into the path extruding methods and they don’t seem like they’d work.
I’m three.js newbie and will welcome any advice on what tools, methods or examples I should be looking at and trying. Thanks!