Basic Shapes in SVG
✓ Published0🌍 Public
A black-and-white animation of concentric circles expands and contracts around a central point, with the radius cycling through increasing values. The SVG is manipulated entirely through basic JavaScript, creating and appending circle elements in a loop of alternating colors. The animation uses `setInterval` to update the state every millisecond, while `document.createElementNS` and `setAttributeNS` build each circle with the SVG namespace. The code defines a custom `computeState` function to progress the radius and delta, with the loop resetting when the radius exceeds 400.
AI-generated descriptionArtwork generated via basic JS SVG manipulation
MIT Licensed