This is version 2 with some code, lighting, and graphical setup improvements from webinar # 4.
C code: https://cutt.ly/VfBQ520
The next step is to do the equivalent algorithm in Python.
Follow me:
Facebook: / drakerdg
Instagram: / drakerdgx