This is a Python Derivative plotter made with manim
What does it do?
There are two main code here.
- useful_derivatives.py
- derivatives_simple.py
With both you can basically do the same
- Give it a simple polynomial function as a String like "2x4+3x2"
- It calculates the first and second derivatives of the function
- It plots all of them
- It shows you all their zero points
- It shows you the Extremes and Turning points of the function
The only difference between the two is, that the simple version only shows all that to you while the other one animates it look at the program outputs here
What do the results mean:
it's pretty self explanatory:
- blue is the main function and it's zeros
- green is the first derivative and it's zeros and in simple mode the extremes
- red is the second derivative and it's zeros and in simple mode the turns
- purple is where the main function is curved to the left
- yellow is where the main function is curved to the right
How did I build it
I used manim to animate and sympy for the zero points. I used perplexity and a little GitHub Copilot for research especially for specific manim functions and to write a few little functionalities with syntaxes I didn't know but never more than 2-3 lines. I also used it to understand the errors that were output. This is my first manim project and I'm quite happy with how it turned out and I plan to do more.
to Do (for future reference)
- maybe make interactive
- make input more user friendly
Metadata
Release files for manim-derivatives-TyrannoJ 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| manim_derivatives_tyrannoj-0.0.2.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manim_derivatives_tyrannoj-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / manim_derivatives_tyrannoj-0.0.2.tar.gz
| Download URL | manim_derivatives_tyrannoj-0.0.2.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7604119c085b94d63d17cda275e946389220b7d4e65d42ae57bd01ae3a41ab92
|
|
BLAKE2b-256 checksum How to use checksums |
552abc126842117c16735bd6a3220a08f1740f7a2676df210df1b932bcee092d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / manim_derivatives_tyrannoj-0.0.2-py3-none-any.whl
| Download URL | manim_derivatives_tyrannoj-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b4da0b5056cbdbb32cf4c6d91a01bdae835c936836d1127a845391ac9db2fb9
|
|
BLAKE2b-256 checksum How to use checksums |
af7a50d64da507e5faf760548bd9450da656bbd0782252996b6e7bc4c7a25abe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|