Skip to main content

A Python library for programming animation scenes with Manim in Google Colab.

Project description

Mscene

Mscene

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

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 [Computer software].
www.manim.community

Quick Start

Manim in Colab

Create a new Colab notebook at colab.new and run the cells below.

Install & Import Mscene

%pip install mscene
import mscene

View Commands

%mscene -h

Install & Import 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 extend Manim with additional features.

Add & Import Plugins

%mscene plugins

View Mscene Plugins

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

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.2.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.2-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mscene-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9ee3302590f4a85cae7373390a3d65cf01188701d9a9fa1e122e3ec5bb9b7851
MD5 3582f824fc61623b9a9215757b751031
BLAKE2b-256 c2ea9fb38b50ce890274f3c54db3d19224bfa31b12e296b609d685fea1f71123

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mscene-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 157257c872074ac930940d8b04edd6474664c1f9d52c56257d24ddef88352106
MD5 738a500dc65010f5a73d230cbe1a1e40
BLAKE2b-256 7fc0edd7e6fa8c396b45d67bf6f37403672103796025181245e6406ae8ff52f0

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