0
0

wslでmanim その2

Last updated at Posted at 2024-08-11

概要

wslでmanimやってみた。
manim見つけたので、やってみた。

参考にしたページ

サンプルコード

from manim import *

class SquareToCircle(Scene):
	def construct(self):
		circle = Circle()
		square = Square()
		square.flip(RIGHT)
		square.rotate(-3 * TAU / 8)
		circle.set_fill(PINK, opacity = 0.5)
		self.play(Create(square))
		self.play(Transform(square, circle))
		self.play(FadeOut(square))


成果物

SquareToCircle_ManimCE_v0.18.1.gif

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0