diff --git a/docs/images/lib-starburst-1.JPG b/docs/images/lib-starburst-1.JPG new file mode 100644 index 00000000..9a83eeec Binary files /dev/null and b/docs/images/lib-starburst-1.JPG differ diff --git a/docs/lib-starburst.md b/docs/lib-starburst.md new file mode 100644 index 00000000..1d83d708 --- /dev/null +++ b/docs/lib-starburst.md @@ -0,0 +1,22 @@ +# starburst + +A 3D version of [shape_starburst](https://openhome.cc/eGossip/OpenSCAD/lib-shape_starburst.html). + +## Parameters + +- `r1` : The outer radius of the starburst. +- `r2` : The inner radius of the starburst. +- `n` : The number of vertices. +- `height` : The height of the starburst. + +## Examples + + include ; + + starburst(10, 5, 5, 5); + translate([20, 0, 0]) starburst(10, 5, 6, 5); + translate([40, 0, 0]) starburst(10, 5, 12, 10); + translate([60, 0, 0]) starburst(10, 5, 4, 3); + +![starburst](images/lib-starburst-1.JPG) +