Fork of P5.js Example
This example demonstrates concentric circular targets drawn with varying shades of gray, each created by a series of overlapping ellipses. It shows how a reusable function, `drawTarget`, produces different visual patterns based on parameters for location, size, and number of rings. The sketch uses the P5.js library, specifically the `createCanvas`, `ellipse`, and `fill` functions, within the `setup` and `draw` lifecycle methods. It renders three targets positioned across the canvas, with the color of each ring derived from an arithmetic sequence based on the ring count.