Skip to main content

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

  1. Give it a simple polynomial function as a String like "2x4+3x2"
  2. It calculates the first and second derivatives of the function
  3. It plots all of them
  4. It shows you all their zero points
  5. 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manim-derivatives-TyrannoJ 0.0.1
File Size Uploaded
manim_derivatives_tyrannoj-0.0.1.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manim-derivatives-TyrannoJ 0.0.1
File Interpreter ABI Platform
manim_derivatives_tyrannoj-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / manim_derivatives_tyrannoj-0.0.1.tar.gz

Download URL manim_derivatives_tyrannoj-0.0.1.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c97ef71b936b592285662388751b0cdabd4be9dfd48668f16fb5150fa54cd4dd
BLAKE2b-256 checksum
How to use checksums
052bae820ba54630edc6f8f4a649d0abcdc0d3ade1a08b1d44c3249b7e3f274e
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.1-py3-none-any.whl

Download URL manim_derivatives_tyrannoj-0.0.1-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05ea5ae408ad41278a61ab7caad21c58cd407df9f5845bfa35620587b9731f92
BLAKE2b-256 checksum
How to use checksums
5b020d7a30db6e826f84c22c9807b0eb73727f154bd22426a255ae269d2fe0ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release history Release notifications | RSS feed

0.0.2

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page