Skip to content

t-ott/manim-normal-distributions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Animating Normal Distributions with manim

Python code to render two and three-dimensional scenes of normal distributions with the manim library, specifically with the Manim Community fork of manim.


A blog post walking through some of the code can be found here.


Univariate Normal Distributions

The file univariate.py has manim scenes which animate adjustments to the mean and standard deviation of a univariate normal distribution.

Bivariate Normal Distributions

The file bivariate.py has manim scenes using ThreeDScene which animate adjustments to the means, standard deviations, and correlation factor of bivariate normal distributions.


Rendering Scenes

If manim and its various dependencies are installed (see manim docs for installation instructions), you can render these scenes by navigating to the project directory and running a command such as:

manim -pqm bivariate.py AdjustRho

Which would render the AdjustRho scene. The -p flag would play the rendered video once it's complete, and -qm specifies a medium quality render (720p).

About

Animating normal distributions with Python using the manim library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages