Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FourierAnim-1.1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FourierAnim-1.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file FourierAnim-1.1.2.tar.gz.

File metadata

  • Download URL: FourierAnim-1.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for FourierAnim-1.1.2.tar.gz
Algorithm Hash digest
SHA256 f32cbd4bc52935cbbd363212c945b87e179c4f1ad9845727a0553dfb43a43fcd
MD5 8ff6f72de76c0155cf1814c7068cf8cb
BLAKE2b-256 3af705e9dc85d09a41ec13aadf756865fceeab93e3abd9d5d345afc38aafac40

See more details on using hashes here.

File details

Details for the file FourierAnim-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: FourierAnim-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for FourierAnim-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0bdb4f20bab2b89f98271fea063e0cca7dec98927a634533b2c5842c8042350d
MD5 fcf4b23059b22809a004bbb8617b0139
BLAKE2b-256 5d8aca5c81138ce1b0796a702ade31191a0aa8da5be6dcea982abb54291c76c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page