# teaching machines

## Bowl

June 11, 2021 by . Filed under public, slai-2021.

This post is part of a course on geometric modeling at the Summer Liberal Arts Institute for Computer Science held at Carleton College in 2021.

Every archaeological dig seems to turn up a bowl. Our species has been making them for millenia, so it only seems right to make one out of code.

Write a function named generateBowl to generate this kind of shape. Have it accept these parameters:

• The majorRadius of the bowl, which marks the distance from the y-axis to the outer rim.
• The minorRadius of the bowl, which marks the distance from the y-axis to the inner rim.

Use boolean operations to create your bowl.