2D and 3D Meshes for manim for displaying and educational Purposes.
Project description
Manim for Meshes
⚠️ Work in progress
Most of the code will be rearranged or changed to use OpenGL, but OpenGL is not yet used throughout manim-ce. Stay tuned.
Manim-Trimeshes implements manim functionalities for different types of meshes using either basic node-face data structures or for importing the python trimesh library.
It is mainly developed as a Project for Interactive Graphics Systems Group (GRIS) at TU Darmstadt, but is publicly available for everyone interested in rendering and animating meshes.
Installation
If published to pypi, can be installed using:
pip install manim-meshes
Usage
from manim_meshes import *
Example
In venv Run one of the minimal test examples: manim tests/test_scene.py ConeScene
.
Multiple other examples can be found in the tests/test_scene.py
file.
Development
Set ./src/
-folder as project sources root and ./tests/
-folder as tests sources root if necessary.
Activate venv: cd ./manim_meshes/
, then poetry shell
Install: poetry install
Update packages and .lock file: poetry update
If you implemented some features, update version using poetry: poetry version prerelease|patch|minor|major
See the Poetry Documentation.
Even though if CI works properly, Publish is automatically, it can be done manually with: poetry publish --build
Project details
Release history Release notifications | RSS feed
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 manim_meshes-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2589eddc3dc594e32754615b20ecf5a3ec90b8886fe578ff6481771dbd6f8a4 |
|
MD5 | 097be12a54bee0b29f11f93fb0d05bab |
|
BLAKE2b-256 | 43622c7aa9fbf2c6fd9f740b23fbb90fcde2e8d24a5523dab29d30d89e3f4a7f |