A very simple implementation based on Volume increasing isometric deformations of convex polyhedra, by karate chops.
We start with a Tetrahedron, and we push each of its edges simultaneously in. New faces emerge and the shape has the same surface area, but larger volume (depends on how deep the chop is).
You can play with the size of the tetrahedron and karate chop using the two slide bars on the top-right.
I manually define the vertices and faces of the shape. Then, given a chop depth, I define a function with one parameter (
- Generalize to more polyhedrons