Circle with Triangle
✓ Published0🌍 Public
A blue circle filled via the Canvas 2D API’s `arc` and `fill` methods forms the backdrop for a red triangle drawn with `moveTo`, `lineTo`, `closePath`, and `fill`. Both shapes are rendered on a 400×400 canvas element in an HTML page, with no external libraries or data sources. The example demonstrates basic geometric drawing and color fills using native JavaScript canvas commands.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed