Circles in circle
Exercise Type: Implementation
Instructions
Part 1
Write a bit of code to recreate this plot:
Some hints to understanding what is happening here:
- Use/write a function that plots a single circle from points, for instance the result of this exercise.
- There are 18 circles plotted, with a ‘resolution’ of 1° (a point is plotted at every whole-degree angle)
- The origins of the circles are also positioned according to a circle (20° apart, with the same radius as the actually plotted circles).
Part 2
Experiment with setting a different radius (either for the origins or for the actual circles).
Part 3
Modify your script to make it possible to change the color of every large circle!