next up previous
Next: Iterate Up: Assignment 5: Moiré patterns Previous: Draw a target

Draw a better target

1.
Change paintTarget so that instead of drawing 4 circles it draws 8, equally spaced.
2.
Now make it draw 16.

3.
Now make it draw 32. No, don't. At this point you should be thinking that this is a collosal waste of time. There must be a better way. And, of course, there is.



Allen B. Downey
3/3/1998