I need help to create an algorithm for this example

@Rh-3d-p as @Holo said all these are important points to note. Before posting try to do little research about the image your using. Because now you have all possibilities with Google Google lens etc… and read Forum’s rules before posting.

Info about the image you referred above is here:

https://corkworks.co.uk/product/corkwirl-corkpattern/

https://www.palissandre.ru/gencork/corkwirl/