Inertia tensor calculation

On the left, you can draw a 2D shape. Left click to draw a line, and right click to fill the area. The color of the shape represents the height of the shape.

On the right, you can see the 3D shape of the drawn shape. you can zoom in and out by scrolling, rotate by dragging, and pan by holding the right mouse button.

The sphere and red line represents the particle model of the object.