P5.js Example
✓ Published1🌍 Public
This example renders a set of concentric circular targets that overlap across the canvas. Each target consists of a series of filled ellipses with decreasing size, where the fill color shifts from dark to light based on the number of rings. It uses the P5.js library, specifically the `createCanvas`, `background`, `noStroke`, `noLoop`, `fill`, and `ellipse` APIs. The drawing logic is split into a `setup` function that initializes the canvas and a `draw` function that calls a custom `drawTarget` routine four times with different positions, sizes, and ring counts, producing the visual composition.
AI-generated descriptionDemonstration of using P5.js.
Derived from the P5.js Functions Example.
MIT Licensed