No-Library (pure JS), HTML, CSS, JavaScript
No-Library (pure JS), HTML, SCSS, JavaScript
jQuery Compat (edge), HTML, CSS, JavaScript
The star() function created for this example is capable of drawing a wide range of different forms. Try placing different numbers into the star() function calls within draw() to explore.