Procedural 3D image rendering with Python