Skip to content

This repository contains code for creating mathematical animations using the Manim library. The animations include visualizations of geometric shapes, integration concepts, and more.

Notifications You must be signed in to change notification settings

anujpaude1/Maths_Animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maths Animation

This repository contains code for creating mathematical animations using the Manim library. The animations include visualizations of geometric shapes, integration concepts, and more.

Requirements

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

File Descriptions

integration.py

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.

cube.py

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.

rolles_theorem.py

This file contains the Try(Scene) class, which demonstrates Rolle's Theorem using a graph with labeled axes and points.

requirements.txt

Lists the required Python packages to run the animations.

temp.py

An empty file that imports the Manim library.

.gitignore

Specifies files and directories to be ignored by Git, including __pycache__, tempCodeRunnerFile.py, and media.

Running the Animations

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Manim - The mathematical animation engine used in this project.
  • NumPy - The fundamental package for scientific computing with Python.

About

This repository contains code for creating mathematical animations using the Manim library. The animations include visualizations of geometric shapes, integration concepts, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages