3D View - Cross Sections of n-sided pyramid and a plane

What cross sections can be created by an n-sided pyramid and a plane? Use the sliders to change the pyramid and also adjust the orientation of the plane.

What are the least number of sides in any cross section? What were the most sides on a cross section could you get in a square pyramid? pentagonal pyramid? n-sided pyramid?