
PythonライブラリManimでMVアニメーションを作った。
fendoapです。totecoro recordsの足音コンピのMVアニメーションをManimで作ってみました。
足音コンピはあなたが「足音」だと思う音を自由な形で録音し、コンピレーションアルバムとしてまとめたものです。
足音コンピのMVアニメーションをManicで作成してみました。
ManimはPythonの数学的なアニメーションを作成することができるライブラリです。
数学などを解説するYoutube動画などでグラフやアニメーションなどを描画する際に利用されています。
例えば以下のように記述すると
from manim import *
class SquareToCircle(Scene):
def construct(self):
circle = Circle() # create a circle
circle.set_fill(PINK, opacity=0.5) # set color and transparency
square = Square() # create a square
square.rotate(PI / 4) # rotate a certain amount
self.play(Create(square)) # animate the creation of the square
self.play(Transform(square, circle)) # interpolate the square into the circle
self.play(FadeOut(square)) # fade out animation以下のようなアニメーションが作成できます。
