Rounded Polygon Generator – Rounded Polygon

Category: Javascript | June 6, 2016
Author: weareoutman
Views Total: 717 views
Official Page: Go to website
Last Update: June 6, 2016
License: MIT

Preview:

Rounded Polygon Generator – Rounded Polygon

Description:

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