I found a way to run Mamin on Google colab.

Step 1. Copy and paste it.

!sudo apt update!sudo apt install libcairo2-dev ffmpeg texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science tipa libpango1.0-dev!pip install manim!pip install IPython --upgrade

Step 2. Import and the magic starts

from manim import *
%manim --help

Step 3. Fun time

%%manim SquareToCircle      # Note the difference from the manual!!!class SquareToCircle(Scene):
def construct(self):
circle = Circle()
circle.set_fill(PINK, opacity=0.5)
self.play(Create(circle))

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store