Skip to main content

A Python library for programming animations with Manim in Google Colab.

Project description

Mscene

A Python library for programming animation scenes with Manim in Google Colab to create science videos directly in the browser.

Manim is an animation engine designed to program precise animations for science videos.
Google Colab (Colaboratory) is a hosted Jupyter Notebook service that requires no setup and provides free access to computing resources, including GPUs and TPUs.

The Manim Community Developers. Manim — Mathematical Animation Framework [Software].
www.manim.community

mscene.curiouswalk.com/colab

Program Animations Online

Manim in Colab

Open Google Colab

Create a new notebook: colab.new.

Install Mscene

%pip install mscene

Import Mscene

import mscene

View Commands

%mscene -h

Install Manim

%mscene -l manim

View Manim Gallery

%%manim -qm ExampleScene
class ExampleScene(Scene):
    def construct(self):
        banner = ManimBanner()
        self.play(banner.create())
        self.play(banner.expand())
        self.wait(1.5)

Mscene Plugins

Plugins enhance the features of Manim.

Add Plugins

%mscene plugins

Import Plugins

from mscene.plugins import *

View Mscene Plugins

%%manim -qm FractalScene
class FractalScene(Scene):
    def construct(self):
        ks = KochSnowflake(level=2)
        self.add(ks)
        self.play(ks.animate.next_level())
        self.wait(1.5)
        self.play(ks.animate.prev_level())
        self.wait(1.5)

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

mscene-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

mscene-0.1.1-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mscene-0.1.1.tar.gz.

File metadata

  • Download URL: mscene-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mscene-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e6df69b47805488062082e40e381e3e5d0ea824df84c74b1c0b8b12af6fbc9a7
MD5 1718faded4f99fe5c150ffa5b4b2665f
BLAKE2b-256 388d5d03f2d9c14498c7642105c75f56e9ecd388b584c189408900977cc24a7a

See more details on using hashes here.

File details

Details for the file mscene-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mscene-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mscene-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ccb6c86a9f7a6ff5ce4832b532ad05e732664fed83fb60530c025b2488fb7c69
MD5 b749e54f7ad3ebffb5a0d1c819896f74
BLAKE2b-256 7a7c94df0c243edb3d13cbb5dd762813d94c2924ab6a8ce551cf761451bac813

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