Skip to main content

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

brickblock-0.1.2.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

brickblock-0.1.2-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page