This repository contains code for creating mathematical animations using the Manim library. The animations include visualizations of geometric shapes, integration concepts, and more.
To run the code in this repository, you need to have the following packages installed:
manim==0.15.2
numpy==1.21.0
You can install the required packages using the following command:
pip install -r requirements.txt
This file contains classes and methods to create animations related to integration concepts. Key classes include:
GetAreaExample(Scene)
: Demonstrates the area of a shaded region using integration.pp(ZoomedScene)
: Creates a zoomed-in view of the integration process with Riemann rectangles.
This file contains the Try(ThreeDScene)
class, which creates 3D animations of geometric shapes, including cubes and their diagonals. It also includes angle calculations and visualizations.
This file contains the Try(Scene)
class, which demonstrates Rolle's Theorem using a graph with labeled axes and points.
Lists the required Python packages to run the animations.
An empty file that imports the Manim library.
Specifies files and directories to be ignored by Git, including __pycache__
, tempCodeRunnerFile.py
, and media
.
To run an animation, use the following command:
manim -pql <filename.py> <ClassName>
For example, to run the GetAreaExample
animation from integration.py
, use:
manim -pql integration.py GetAreaExample
This project is licensed under the MIT License. See the LICENSE file for details.