Bubble chamber simulation in Blender + Python
A spiritual successor to my previous 2D project written in Rust+Amethyst, this time written in Python and rendering in 3D with Blender. It simulates the phenomena that occur in bubble chambers or cloud chambers where decaying, charged particles leave spiraling trails as they move through a magnetic field.
- Blender 2.80 or higher
- Clone the repository and run
pipenv install
inside the project.
- Run
blender -P <path_to_repo>/bubble_chamber_bpy/blender.py
- The simulation should run and Blender should open up with a fully populated scene + animations
- Hit 'Render Animation' or play around with the scene/animations.
- Clone this repository
cd bubble_chamber_bpy
- Run
pipenv install --dev
- Run
make lint
to run linting and type checking. - Run
make test
to run tests. - Run
pipenv run tox
to do the above in dedicated environments and across all configured Python versions.