Home page


SVG Drawings

This page allows you to draw polygons and stars.

Polygon

The code for drawing these polygons is in polygon.js, the buttons are svg objects defined in buttons.svg. Click on the buttons to change the associated attribute of the polygon.

  • Sides
  • Step
  • Fill
  • Fill Style

(c) John Whitehouse 2013