Gist dfcea3b47dd624057d397482a0ea6a9e
✓ Published0🌍 Public
Aandybak
Last edited May 14, 2021
Created on May 14, 2021
This interactive example demonstrates a parametric drawing tool that generates a repeating geometric pattern from adjustable turn angle, line length, and repeat count. The user modifies values in the input fields and clicks Run, which sends commands to a drawing server via the `XMLHttpRequest` API, using `GET` requests to an `/api/v1` endpoint. Each command sets brush properties such as color, size, type (comet), turn, and draw/move distances, while the color shift per repetition creates a gradual hue gradient. The pattern is built by repeatedly issuing turn, draw, and move commands, producing a starburst-like sequence.
AI-generated description