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.

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.0.tar.gz (18.0 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.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

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

Hashes for mf_algebra-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9dcd133e4ad568c82bdf5124bb17c00f8c266a99eb850fd14e203d724fe209e5
MD5 3b17028f124669853fff93e4c6f30f40
BLAKE2b-256 5fe8be9c5446cb554261c088c5e1cb0335c49c738c9f78ee7e4c2a9ed201721f

See more details on using hashes here.

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

Hashes for mf_algebra-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67080bcf2715cc6497474a61e84a845912fcdce0cb410c3907b12f0efae1c4ce
MD5 45ebdcda9fbf0b69254a6d3e38006f3c
BLAKE2b-256 c4d3e3fca867582cb4723482b0e509fbefac7822b8c735eb28b6168918ebfa28

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