🌍 Public
Viewing a saved revision (read-only)
6078f1f72d084be7a4b9c6754ee2d3f5
Equilateral Triangle Inscribed in a Rotated Circle
This visualization shows an equilateral triangle inscribed within a circle that has been rotated 30 degrees. The circle is divided into three equal sectors using SVG path elements, with each sector filled with a distinct hue from the HSL color space. The triangle is drawn as a semi-transparent yellow polygon over these sectors, while the circle itself remains unfilled with a black stroke. The code uses vanilla JavaScript to create SVG elements dynamically, calculating vertex positions with trigonometric functions based on the triangle’s geometric properties.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.