manim-data-structures
manim-data-structures copied to clipboard
A Manim plugin that contains common data structures to create Manimations.
https://peps.python.org/pep-0585/#implementation Fixes https://github.com/ManimCommunity/manim/pull/3719#issuecomment-2081482865 ``` File "/Users/michol/opt/anaconda3/lib/python3.9/site-packages/manim_data_structures/m_array.py", line 630, in MArray def __calc_label_pos_and_mob(self) -> typing.Tuple[Square, np.ndarray]: AttributeError: module 'manim.typing' has no attribute 'Tuple' ``` A rapid migration to https://peps.python.org/pep-0585/#implementation might improve...
## Description of the proposed feature The default branch of this repo is `main` but all contributions must be made to the `dev` branch. This is unnecessarily confusing for new...
## Description of the proposed feature https://github.com/drageelr/manim-data-structures/tree/dev?tab=readme-ov-file#importing recommends that user make a wildcard import which is a bad idea as discussed in #23 * https://peps.python.org/pep-0008/#imports * https://docs.astral.sh/ruff/rules/undefined-local-with-import-star-usage/ * https://github.com/asmeurer/removestar ##...
## Description of the proposed feature The library requires an old version of python
same as #20, used my personal account for this PR instead of a group.
### Discussed in https://github.com/drageelr/manim-data-structures/discussions/17 Originally posted by **ttzytt** February 22, 2023 Found some places to improve when using the package to implement the animation of a simple binary search algorithm:...
Add support for 2D arrays as an `M2DArray` class. The accompanying pointer and sliding window classes (e.g., `M2DArrayPointer` and `M2DArraySlidingWindow`) should also be added.
## Description of the bug Under Windows, using the documentation in https://docs.manim.community/en/stable/installation/windows.html to grab the necessary dependencies and manim itself, as well as using pip to install this manim plugin,...