SVG Polygon, Ellipse, Circle & Text Generator
Experiment with SVG
This is a svg regular polygon, circle, ellipse and text generator. The svg polygons, ellipses, circles and text appears on the svg canvas, the svg text markup appears in the textarea.
The border color is the text color. The X origin and Y origin is the center of the poygons, circles, ellipses and the start of text strings.
To stack shapes, start with largest and work down to the smallest.
The circle function and text function ignores the number of sides and rotational offset.
The SVG Generator provides only limited options with regards to shape, size, color and location but the svg textarea text can be modified and redrawn.
The polygon points are converted to the screen coordinate points required by the svg polygon. The ellipse requires a eccentricity value from 0 to 1.
It is difficult to modify the svg polygon screen coordinate points but it is not too difficult to modify the svg text and svg circles.