Pottery is a runtime pots editor made in Unity.
A shape is created as an array of rings placed on top of each other along the Y-axis (vertically). All rings have a radius, and they share the same number of edges set in the shape. The mesh is created based on the shape's height, ring radius, and edge count. All vertices are calculated using a simple trigonometric formula where:
- x = cos(Ï€ / faces * index)
- y = sin(Ï€ / faces * index)
- z = height / ringsCount * ringIndex