Proposal: <star> element

Hi all

I've put together a humble little proposal for a new class of shapes - the
"star polygon".

Adding support for star polygons would allow the author to easily produce
not only the regular polygons (pentagon, hexagon, etc) but also the related
star shapes.

My draft definition for a new <star> element can be found here:

I've also created a polyfill script which can be used if you want to have a
play with the shapes.
The script works in Chrome.  I haven't tried getting it working in other

The script is here:

See for an example of an SVG
that uses the script.



PS. Just discovered that there was a similar proposal from Doug Schepers
back in 2005.

I can't find what, if anything, became of it though.

Received on Sunday, 9 March 2014 15:59:04 UTC