Hypotrochoid Curves (save as PNG feature)
240
40
150
Implementing formula are as follows:
x = (R - r) * Math.cos(t) + d * Math.cos(((R - r) / r) * t);
y = (R - r) * Math.sin(t) - d * Math.sin(((R - r) / r) * t);