A fun visualisation library for those that like boxes
Project description
Brickblock: A fun visualisation library for those that like boxes
This is a small library that uses blocks in matplotlib's visually appealing 3D extension - and aims to be the 'seaborn of matplotlib-3D'.
Core abstractions
At the centre of Brickblock is the Space
. A Space
represents a 3D cartesian coordinate space. It contains objects, and when a user wants a visualisation, they render the current state of the Space
- the rendered state is known as a Scene
.
There are objects used for composing visualisations in Brickblock, such as the Cube
. Cube
objects can be added into the Space
with a degree of control over their visual presentation: transparency, colour, line widths.
Having these abstractions allows programmers to more easily create animated 3D visualisations, like GIFs. You define a Space
, adding and mutating objects to evolve the state, and the Scene
objects are persisted to enable sequences of images for use in GIFs.
Contributing
Contributions are more than welcome! There is a very rough TODO in todo.md that outlines both short- and long-term goals for the library. However, there are some rules:
- Always follow the code of conduct
- All the tests should be passing with your change
- Explain your change (PR template coming soon)
- Add relevant tests and docstrings
- Format your changes with
black
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for brickblock-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf27eebad482b4ba7f6ce9e4f3753c47ffb4627734336e81c44bc7f864bae178 |
|
MD5 | 651dc4d36be91a44dbb3879b0a18d997 |
|
BLAKE2b-256 | c15196435c27bf18f793bcd884481c87894c8bb012373554fc06387f5721cdf0 |