I came to this small project after watching video by Daniel Shiffman

I haven’t made a full version of star patterns yet, before finishing I found this interesting pattern: draw a shape (hexagon, scuare or triangle), then find a random point in each edge of figure, and draw a random lines between this random points. Sometimes you can get an interesting results with this simple rules. Try it and save the result with download button!


Set SVG width: Set SVG height:
Set number of lines (multiply by number of edges):
Set figure background color: Set line color:
Figure: Add size (from center to corner): Offset: