This piece of code draws spheres in a 3D image. It's purpose is to exhibt how to use Cython
to speed up Python
code and interact with numpy
arraies.
When using the code for the first time, run
./build.sh
to build the module draw
, so that one can import draw
in a python script
Please see the tiny jupyter notebook
This code was written by Yushi in a cloudy Tuesday morning