Nesting
Collections can be nested: the children of a collection do not have to be shaped, they can be collections as well. To create nested collections, we can apply the repeat operation on a collection, or apply the divide operation on shapes inside a collection.
Repeat a Collection
In this example, we first create a collection of pies by dividing a circle. Then we can repeat the pie collection to form a nested collection.
Divide Shapes in a Collection
In this example, we first create a collection of rectangles using repeat. Then we can divide the rectangles in the collection to form a nested collection.