Manim plugin which aims to make it much easier to meaningfully transform algebra expressions.
Project description
Introduction
This is a ManimGL / ManimCE plugin (still under construction) for the automated animation of algebra. It consists of a few key components:
- Expression: These objects contain a tree structure representing algebra expressions/equations, such as
3x^2,5+9, andsin(y)=14e^x, as well as a method for producing a corresponding Tex/MathTex mobject. - Action: These objects contain methods to convert between expressions/equations, such as adding something to both sides, or substituting a variable for a value. This conversion can be static or animated.
- Timeline: These objects contain an alternating sequence of expressions and actions, and methods for automatically determining these sequences, and animating them.
Expression
There are many subclasses of Expression:
Expression
├── Variable
├── Number
│ ├── Integer
│ └── Real
├── Combiner
│ ├── Operation
│ │ ├── Add
│ │ ├── Sub
│ │ ├── Mul
│ │ ├── Div
│ │ └── Pow
│ ├── Relation
│ │ ├── Equation
│ │ ├── LessThan
│ │ ├── ...
│ └── Sequence
├── Function
└── Negative
Every Expression contains an attribute called children, which is a list. Sometimes this list is empty, such as for variables and numbers. But often this list contains other Expressions, such as for operations and functions.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mf_algebra-0.5.0.tar.gz.
File metadata
- Download URL: mf_algebra-0.5.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dcd133e4ad568c82bdf5124bb17c00f8c266a99eb850fd14e203d724fe209e5
|
|
| MD5 |
3b17028f124669853fff93e4c6f30f40
|
|
| BLAKE2b-256 |
5fe8be9c5446cb554261c088c5e1cb0335c49c738c9f78ee7e4c2a9ed201721f
|
File details
Details for the file mf_algebra-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mf_algebra-0.5.0-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67080bcf2715cc6497474a61e84a845912fcdce0cb410c3907b12f0efae1c4ce
|
|
| MD5 |
45ebdcda9fbf0b69254a6d3e38006f3c
|
|
| BLAKE2b-256 |
c4d3e3fca867582cb4723482b0e509fbefac7822b8c735eb28b6168918ebfa28
|