- This code is mainly using some sdf function to produce a rabbit and other stuff
- This work is mainly inspired by an art work from INFINITE JOURNEYS
- The original author loves his wife who doing crochet about 10 years, which really touches me
- So this work is also a salute to the author
Make sure your pip
is up-to-date:
pip3 install pip --upgrade
Assume you have a Python 3 environment, simply run:
pip3 install -r requirements.txt
to install the dependencies of the voxel renderer.
python3 main.py # example1/2/3/.../7/8.py
Mouse and keyboard interface:
- Drag with your left mouse button to rotate the camera.
- Press
W/A/S/D/Q/E
to move the camera. - Press
P
to save a screenshot.