🍸 Pottery 🍷
Pottery is runtime 3D shapes generator similar to lathe.
How it works
Shape is created which simply array of rings placed on top of each another by Y axis (vertically).
All rings have radius. Rings share the same amount of edges set in shape.
Mesh is created by shape height, ring radius and edges count.
All vertices are calculated using simple trigonometric formula where:
x = cos(π / faces * index)
y = sin(π / faces * index)
z = height / rignsCount * ringIndex