This pen I am happy about. Random points are generated. A number of the closest points are used to draw a polygon. First I find them, then I sort them by angle related to current point. All based on another pen I made before.
You can regenerate with current settings or tweak the settings. You can also get the SVG ready for pasting into say Affinity Designer, and work further with the figure.