Epicycloid is generated by a circle rolled outside of another circle, whereas a hypocycloid is circle rolled inside another circle.

Epicycloid and Hypocycloid

Epicycloid is generated by a circle rolled outside of another circle, whereas a hypocycloid is circle…