Hi community!
Here is a picture:
And there is a working demo:
https://codepen.io/prisoner849/pen/RzGWdY
createWeb()
function takes several paremeters:
radius
- radius of the web
radialSegments
- amount of radial segments
circleSegments
- amount of circles
linkingLevel
- chance of omitting of a segment of a circle [0…1], the lower value the higher chance of omitting
lastCircle
- boolean, drawing the last (outer) circle
circleInaccuracy
- inaccuracy for circles [0…1], the greater the more inaccuracy
angleInaccuracy
- inaccuracy for radial segments [0…1], the greater the more inaccuracy