Skip to main content
100%

Fork of P5.js Example

✓ Published0🌍 Public
Ppeter@attachmentdivision.com
Last edited Jan 4, 2023
Created on Jan 4, 2023
Forked from 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.

AI-generated description

Demonstration of using P5.js.

Derived from the P5.js Functions Example.

MIT Licensed

Similar vizzes