Grid: Spider Web

Hi community!

Here is a picture:
SpiderWeb

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

8 Likes

Looks very cool! :spider_web: :spider:

1 Like

2 Likes

@Usnul @Fyrestar thank you, guys :beers:

1 Like