Skip to main content

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, and sin(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.

License Summary

This project is free for individuals and educators who create publicly available educational content.
✅ Examples: YouTube videos, TikToks, livestreams, tutorials, classroom materials (even if ad-monetized but free to watch).

🚫 Commercial use requires a paid license.
Examples: websites or apps where users interact with the software (e.g. “solve any equation” sites), paid courses, subscription platforms, paywalled content, textbooks, or e-books.

🙏 If you’re a free user, please consider supporting development via GitHub Sponsors or Buy Me A Coffee.
💼 For commercial licensing inquiries, contact: [johnconnelltutor@gmail.com].

See LICENSE for the full terms.

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

mf_algebra-0.5.1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mf_algebra-0.5.1-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file mf_algebra-0.5.1.tar.gz.

File metadata

  • Download URL: mf_algebra-0.5.1.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.6.0

File hashes

Hashes for mf_algebra-0.5.1.tar.gz
Algorithm Hash digest
SHA256 7b27ab67a6d51eec341628635f8c41c9085a523b6df372fa16463bc5bace36bc
MD5 5a509920e93544c05fbe6ecc642c331e
BLAKE2b-256 c67f566c8c9a4490538e5653762c946cbaab590f8cd2f0a32903df538817d798

See more details on using hashes here.

File details

Details for the file mf_algebra-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: mf_algebra-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.6.0

File hashes

Hashes for mf_algebra-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1148af1171edc752017c2615c77200078303cb255e74ce5639bd7832e0e2657
MD5 058ad244120ae5d53f3b950ef6b3ca44
BLAKE2b-256 cf072d4c280ffcb8dfba41bf3c1ed041d1f53805dcc54821b9b43ab84aff7481

See more details on using hashes here.

Supported by

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