Mscene
A Python library for creating science animations with Manim in Google Colab. ✨ 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
Quickstart
Manim in Colab
Create a new Colab notebook at colab.new and run the cells below.
%pip install -q mscene
import mscene
%mscene -h
Install Manim
%mscene -l manim
Import Manim
from mscene.manim import *
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.
%mscene 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)
Metadata
Release files for mscene 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mscene-0.1.4.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mscene-0.1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.6 kB
Release files / mscene-0.1.4.tar.gz
| Download URL | mscene-0.1.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55cd94bbf4b510a811ccd668b7bcfa55301c3e28332c42ce193deed5a2371e8d
|
|
BLAKE2b-256 checksum How to use checksums |
f8111fdc4ce37315a5981ccd3212c5adefc7ffd27ce8ef694692952e9c67bb2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / mscene-0.1.4-py2.py3-none-any.whl
| Download URL | mscene-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6debfa79f9971cf38202a32e2e4b249e00ef555780e9b0777158df62721b116f
|
|
BLAKE2b-256 checksum How to use checksums |
9ecba26d99e2c9eb3c2dbdc64994aae7485d0d1041d263ec133a96a4bb00428e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|