generator is a nice library for procedural geometry generation available on github. One missing piece is an example how to use this code in graphics applications - here is my demo written in Qt: You…