Rounded Polygon Generator – Rounded Polygon

Category: Javascript | June 6, 2016
Views Total:1,031 views
Official Page:Go to website
Last Update:June 6, 2016


Rounded Polygon Generator – Rounded Polygon


A lightweight, standalone JavaScript library which helps you generate rounded, customizable, SVG based polygons.

How to use it:

Load the core JavaScript file in your html page.

<script src="index.js"></script>

Render a custom polygon using the roundedPolygon method:

  • N: <number> side count
  • L: <number> side length
  • R: <number> radius
  • padding: <number>
roundedPolygon(N, L, R, padding)

You Might Be Interested In:

Leave a Reply