An animation tool to create visualisations for Fourier Series on top of manimCE
Project description
Installation
Please ensure that manimCE (>v18.0.0) is installed on your machine before using this package. We reccomend running the program in a conda environment. This requires you to install anaconda or miniconda. Otherwise, you may also wish to install manim locally please refer to the official guide here.
To install this package in a conda environment follow the steps on manim's conda installation here.
Otherwise run the following,
conda create -n my-manim-environment
conda activate my-manim-environment
conda install -c conda-forge manim
Finally install the package (still in the conda environment)
pip install FourierAnim
Usage
To use the package, import the package into your file and work as usual. As example is displayed below.
# T1.py
from manim import *
import FourierAnim as FSA
class F_T1(MovingCameraScene):
def construct(self):
self.camera.background_color = WHITE
Tex.set_default(color=BLACK, font_size=35)
FSA.FourierAnim(
self,
radii = [1, 1/2, 1/3],
freqs = [1, 2, 3],
ScnMobjects=[],
run_time=10,
)
This file is saved as T1.py (although it could be called anything)
To generate the video run,
python -m manim T1.py F_T1
You can find the sample output here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for FourierAnim-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bdb4f20bab2b89f98271fea063e0cca7dec98927a634533b2c5842c8042350d |
|
MD5 | fcf4b23059b22809a004bbb8617b0139 |
|
BLAKE2b-256 | 5d8aca5c81138ce1b0796a702ade31191a0aa8da5be6dcea982abb54291c76c7 |