why my computer display: name ‘cv2’ is not defined, need i to install some packages before using taichi? Which kinds of packages? thank you for your answers.
Some examples program may need opencv: https://pypi.org/project/opencv-python/ just pip install opencv-python
Sorry that script is a bit out-dated. Please clone the DiffTaichi repo (https://github.com/yuanming-hu/difftaichi) and run this one: https://github.com/yuanming-hu/difftaichi/blob/master/examples/water_renderer.py