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-plotter 1.0.0

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-plotter 1.0.0
File Size Uploaded
manim_derivatives_plotter-1.0.0.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manim-derivatives-plotter 1.0.0
File Interpreter ABI Platform
manim_derivatives_plotter-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / manim_derivatives_plotter-1.0.0.tar.gz

Download URL manim_derivatives_plotter-1.0.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df5b4a6e78b9aca78df4872a43e1702d5bc5f895f9a37e50e3c1603d55efbdee
BLAKE2b-256 checksum
How to use checksums
d5d3326b32e1a9dc37e6e4c1e3b7c944a86b5c1eef9e030dc9408ae87cf5862c
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_plotter-1.0.0-py3-none-any.whl

Download URL manim_derivatives_plotter-1.0.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbb565cb3d6809e73ec667714daf8f9123acbd09e7595cf6aae94ebae319aed6
BLAKE2b-256 checksum
How to use checksums
4ee98978cd34c0ad0678129d8e7450100f4fb0b5804adb8836fd8d2004a0d8ef
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

This release

1.0.0 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