0
0

wslでmanim その20

Last updated at Posted at 2024-09-14

概要

wslでmanimやってみた。
練習問題やってみた。

練習問題

真理値表を表示せよ。

成果物

CreateTableExample_ManimCE_v0.18.1.gif

サンプルコード


from manim import *

class CreateTableExample(Scene):
	def construct(self):
		table = Table([["0", "0", "0"], ["0", "1", "1"], ["1", "0", "1"], ["1", "1", "0"]], col_labels = [Text("A"), Text("B"), Text("XOR")], include_outer_lines = True)
		self.play(table.create())
		self.wait()



以上。

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