The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
Python
Add highlighted cells and display-palette demonstrations
apoogdk54897356a7cf
diff --git a/tests/integration/cases/add_highlighted_cell_example/case.json b/tests/integration/cases/add_highlighted_cell_example/case.jsonnew file mode 100644index 00000000..401b6d9f--- /dev/null+++ b/tests/integration/cases/add_highlighted_cell_example/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:f8d62c471836c74a18c4372cf93a77d1ce419b9825e20ca292a922ad7e198835",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["7589e15db798f8c1", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:c4c036ab9d2a75e63304abcb4466615114f7cb2b11395674b51a27d828493ce1"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["2e9152f2c16612dd", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:6cc077246ad6b1cfd77c26823f9861d286951616d4475cbabf433c2028c8b8b1"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 246.35, 4.78, 31.23, 255.0],+ [1, 1, 246.35, 4.78, 31.23, 255.0],+ [2, 2, 246.35, 4.78, 31.23, 255.0],+ [3, 3, 246.35, 4.78, 31.23, 255.0],+ [4, 4, 246.35, 4.78, 31.23, 255.0],+ [5, 5, 246.35, 4.78, 31.23, 255.0],+ [6, 6, 246.35, 4.78, 31.23, 255.0],+ [7, 7, 246.35, 4.78, 31.23, 255.0],+ [8, 8, 246.35, 4.78, 31.23, 255.0],+ [9, 9, 246.35, 4.78, 31.23, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/add_highlighted_cell_example/ce.mkv.sha256 b/tests/integration/cases/add_highlighted_cell_example/ce.mkv.sha256new file mode 100644index 00000000..5200be6b--- /dev/null+++ b/tests/integration/cases/add_highlighted_cell_example/ce.mkv.sha256@@ -0,0 +1 @@+49cb701ae06435dc4c4df8f4a228e3b9aa4d66c5eea10fd0218813d113484e76 ce.mkvdiff --git a/tests/integration/cases/add_highlighted_cell_example/manimgx.mkv.sha256 b/tests/integration/cases/add_highlighted_cell_example/manimgx.mkv.sha256new file mode 100644index 00000000..9dcf9ccf--- /dev/null+++ b/tests/integration/cases/add_highlighted_cell_example/manimgx.mkv.sha256@@ -0,0 +1 @@+472533025af27971a77a922a18e202f7ccaef16ff5f46aa943b07336be744fbe manimgx.mkvdiff --git a/tests/integration/cases/add_highlighted_cell_example/review.json b/tests/integration/cases/add_highlighted_cell_example/review.jsonnew file mode 100644index 00000000..b2e8c7c6--- /dev/null+++ b/tests/integration/cases/add_highlighted_cell_example/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:f8d62c471836c74a18c4372cf93a77d1ce419b9825e20ca292a922ad7e198835",+ "manimgx": "sha256:c4c036ab9d2a75e63304abcb4466615114f7cb2b11395674b51a27d828493ce1",+ "ce": "sha256:6cc077246ad6b1cfd77c26823f9861d286951616d4475cbabf433c2028c8b8b1",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/add_highlighted_cell_example/scene.py b/tests/integration/cases/add_highlighted_cell_example/scene.pynew file mode 100644index 00000000..477958bf--- /dev/null+++ b/tests/integration/cases/add_highlighted_cell_example/scene.py@@ -0,0 +1,14 @@+# Source: manim/mobject/table.py+import manimgx as m+++class AddHighlightedCellExample(m.Scene):+ def construct(self):+ table = m.Table(+ [["First", "Second"], ["Third", "Fourth"]],+ row_labels=[m.Text("R1"), m.Text("R2")],+ col_labels=[m.Text("C1"), m.Text("C2")],+ )+ table.add_highlighted_cell((2, 2), color=m.GREEN)+ self.add(table)+ self.wait()diff --git a/tests/integration/cases/bertrand_three_distributions/case.json b/tests/integration/cases/bertrand_three_distributions/case.jsonnew file mode 100644index 00000000..17d85440--- /dev/null+++ b/tests/integration/cases/bertrand_three_distributions/case.json@@ -0,0 +1,229 @@+{+ "source": "sha256:287c6a39d7d63ae7a73a6154351bec7b4c98deeaf6e3043e8ed207c26d00f2af",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 7.8,+ "frames": [+ ["2e842802bccef91c", 1],+ ["9d4eaf673bbf63f4", 1],+ ["bd670510dbc1e8eb", 1],+ ["cf229a445c99fd3a", 1],+ ["9564fa60e99a4bc1", 1],+ ["d0dfcd46466df17d", 1],+ ["d6a6a9fbc091b7c6", 1],+ ["048971682f09e75d", 1],+ ["1e718c20af7c17e7", 1],+ ["1d90242afa299116", 1],+ ["12b7e5d47d7514eb", 1],+ ["e1f11f6342541185", 1],+ ["5d409e058d1459fb", 1],+ ["888cfca1b8a0a2cb", 1],+ ["b510bbe3c53fe02e", 1],+ ["ad38d2893ccb2a26", 1],+ ["cb0f70eaaf1ee327", 1],+ ["ef6a5a6516512f09", 1],+ ["de1193256ab8b6f3", 1],+ ["50bb697696493df5", 1],+ ["34df4643abd84e73", 1],+ ["37ca68771d749ee4", 1],+ ["62f9d58b0457b445", 1],+ ["b8d50bde5ea31740", 1],+ ["2ddfe9bbdb0ccb7b", 1],+ ["dc0df3a98641a302", 1],+ ["4fbe363221c78d64", 1],+ ["9194d0ddb746187f", 1],+ ["bc3ff09c462fde54", 1],+ ["7cc0a63ea5adda30", 1],+ ["2cf7c5e889462b52", 1],+ ["3609923d0050ae85", 1],+ ["882acf70f519da05", 1],+ ["53325c9a5917b5a6", 1],+ ["f3f957ef86004ae9", 1],+ ["16c6fda8598124ea", 1],+ ["37517c902bc535c3", 1],+ ["1b03f00d63fc443e", 1],+ ["97a0543928dbedb3", 1],+ ["0e9b3cab9ba2c395", 1],+ ["9bd9520ada3eeedc", 1],+ ["bf0ae6b98e67f829", 1],+ ["269762de6c270f62", 1],+ ["4d801f2ece71ef2a", 1],+ ["9a41122e4281a452", 1],+ ["ebf0bae0086cb959", 1],+ ["0e17ce6dc0aa02ac", 1],+ ["c84f37f82413006e", 1],+ ["b176c890289ff61f", 1],+ ["44cd201e10347b95", 1],+ ["3c0bb6c37254a524", 1],+ ["21761bf1332102af", 1],+ ["c7a540610e17c116", 1],+ ["b7d963f472cd98bd", 1],+ ["6791a53ff8105323", 1],+ ["d78f2ac2b555b51b", 1],+ ["63467b75424190e6", 1],+ ["9d585c77df5a8a1f", 1],+ ["8cd3bfdd15786524", 21]+ ],+ "timeline": [+ [0.0, 79]+ ],+ "id": "sha256:704663fb038c1787d927ea67eab53b2f260e2e9b7688f815bf6a6340f740070b"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 7.8,+ "frames": [+ ["2e842802bccef91c", 1],+ ["dec6e3dab4f73528", 1],+ ["6becfb86c9b1c0a0", 1],+ ["86d909baf98ce259", 1],+ ["b4d3eb3a20738147", 1],+ ["a7fcac3e178ec847", 1],+ ["450f9baebbac10ec", 1],+ ["ca24b881036b91f7", 1],+ ["7ebeefaf6e9a2e28", 1],+ ["b5972f0736d9551a", 1],+ ["2d8db3d31ce83a77", 1],+ ["6e84e75c79a2d6db", 1],+ ["103384a168e31dc2", 1],+ ["c5a11365e1c84e5e", 1],+ ["d7236c65d2e8110f", 1],+ ["8e17c79684239ca5", 1],+ ["f2bc84919895ca82", 1],+ ["2614aac799eed1b9", 1],+ ["979a89bf292decd5", 1],+ ["df4047e334c44017", 1],+ ["cb9d3cfd6c2eaf8b", 1],+ ["56fa43cae0a6d830", 1],+ ["20f7951ddcefa867", 1],+ ["45f2f8eb6091faa2", 1],+ ["6b0196b27a446d97", 1],+ ["ceddcf33e9241afb", 1],+ ["e96ad7da9e38823d", 1],+ ["fce490b0e5dbb10c", 1],+ ["b1b1088cf4024008", 1],+ ["5523c4050258ce60", 1],+ ["ad00248f497912ef", 1],+ ["1b0389a9f46099d2", 1],+ ["5ebad0cf5c338ece", 1],+ ["488a5668552c0d3f", 1],+ ["c863c7ca012b40a4", 1],+ ["d96dca25a72804e8", 1],+ ["182b97212a74a5df", 1],+ ["a315f19fb8b4befd", 1],+ ["762c8012390102a9", 1],+ ["7fcf52e191c3342f", 1],+ ["a7995e41e69f2030", 1],+ ["2f9efc5591b0e55a", 1],+ ["67efec28bd0cecfc", 1],+ ["e591081d360190fc", 1],+ ["d0838f8b677d18b5", 1],+ ["595f3264e2b35c2a", 1],+ ["8615dea1b80fba1f", 1],+ ["ea8e5e4a043162c0", 1],+ ["bde877e5f26b0200", 1],+ ["cd71008182906b23", 1],+ ["07d1f6f43161757f", 1],+ ["b7c965aadb7d7045", 1],+ ["7314c275fe26ad25", 1],+ ["2c07ca3b0e8bc473", 1],+ ["038ab70eaeaf849e", 1],+ ["9d2a68e9232eb5ab", 1],+ ["1b8465b4c60170c6", 1],+ ["0ba731cdc5bba709", 1],+ ["43c81055140e83da", 20]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 20],+ [4.0, 18],+ [5.8, 20]+ ],+ "id": "sha256:d85ddc5cbde27bc38bfe276c794211dc836820925392a12e2afa6ba79cb2bbff"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 125.16, 0.08, 3.89, 255.0],+ [2, 2, 108.39, 0.13, 4.43, 255.0],+ [3, 3, 119.31, 0.17, 4.93, 255.0],+ [4, 4, 93.71, 0.16, 4.44, 255.0],+ [5, 5, 107.57, 0.2, 5.11, 255.0],+ [6, 6, 98.22, 0.21, 5.14, 255.0],+ [7, 7, 106.06, 0.2, 4.94, 255.0],+ [8, 8, 139.39, 0.24, 5.57, 255.0],+ [9, 9, 74.39, 0.19, 4.34, 255.0],+ [10, 10, 94.9, 0.23, 5.16, 255.0],+ [11, 11, 99.08, 0.23, 4.82, 255.0],+ [12, 12, 105.67, 0.25, 5.12, 255.0],+ [13, 13, 132.04, 0.27, 5.44, 255.0],+ [14, 14, 105.69, 0.27, 5.26, 255.0],+ [15, 15, 110.51, 0.3, 5.62, 255.0],+ [16, 16, 150.29, 0.34, 6.15, 255.0],+ [17, 17, 101.86, 0.34, 6.01, 255.0],+ [18, 18, 98.51, 0.32, 5.66, 249.0],+ [19, 19, 74.39, 0.31, 5.43, 205.0],+ [20, 20, 74.39, 0.31, 5.46, 205.0],+ [21, 21, 126.8, 0.39, 6.45, 221.0],+ [22, 22, 95.63, 0.37, 5.95, 221.0],+ [23, 23, 79.92, 0.36, 5.79, 221.0],+ [24, 24, 86.08, 0.37, 5.84, 221.0],+ [25, 25, 101.1, 0.39, 6.01, 221.0],+ [26, 26, 92.51, 0.39, 5.93, 221.0],+ [27, 27, 89.12, 0.39, 5.84, 221.0],+ [28, 28, 94.06, 0.4, 5.92, 221.0],+ [29, 29, 74.39, 0.38, 5.68, 205.0],+ [30, 30, 105.24, 0.4, 5.9, 205.0],+ [31, 31, 74.69, 0.39, 5.76, 205.0],+ [32, 32, 74.39, 0.39, 5.73, 205.0],+ [33, 33, 105.27, 0.4, 5.81, 205.0],+ [34, 34, 75.1, 0.4, 5.79, 205.0],+ [35, 35, 107.84, 0.4, 5.83, 205.0],+ [36, 36, 103.94, 0.41, 5.9, 205.0],+ [37, 37, 74.39, 0.39, 5.71, 205.0],+ [38, 38, 74.39, 0.39, 5.64, 205.0],+ [39, 39, 74.39, 0.39, 5.64, 205.0],+ [40, 40, 74.39, 0.39, 5.64, 205.0],+ [41, 41, 74.39, 0.39, 5.64, 205.0],+ [42, 42, 74.39, 0.39, 5.64, 205.0],+ [43, 43, 74.39, 0.39, 5.64, 205.0],+ [44, 44, 74.39, 0.39, 5.64, 205.0],+ [45, 45, 74.39, 0.39, 5.64, 205.0],+ [46, 46, 74.39, 0.39, 5.64, 205.0],+ [47, 47, 74.39, 0.39, 5.64, 205.0],+ [48, 48, 74.39, 0.39, 5.65, 205.0],+ [49, 49, 74.39, 0.39, 5.65, 205.0],+ [50, 50, 74.39, 0.39, 5.65, 205.0],+ [51, 51, 74.39, 0.39, 5.65, 205.0],+ [52, 52, 74.39, 0.39, 5.65, 205.0],+ [53, 53, 74.39, 0.4, 5.65, 205.0],+ [54, 54, 74.39, 0.4, 5.65, 205.0],+ [55, 55, 74.39, 0.4, 5.65, 205.0],+ [56, 56, 74.39, 0.4, 5.65, 205.0],+ [57, 57, 74.39, 0.4, 5.65, 205.0],+ [58, 58, 74.39, 0.4, 5.65, 205.0],+ [59, 59, 74.39, 0.4, 5.65, 205.0],+ [60, 60, 74.39, 0.4, 5.65, 205.0],+ [61, 61, 74.39, 0.4, 5.65, 205.0],+ [62, 62, 74.39, 0.4, 5.65, 205.0],+ [63, 63, 74.39, 0.4, 5.65, 205.0],+ [64, 64, 74.39, 0.4, 5.65, 205.0],+ [65, 65, 74.39, 0.4, 5.65, 205.0],+ [66, 66, 74.39, 0.4, 5.65, 205.0],+ [67, 67, 74.39, 0.4, 5.65, 205.0],+ [68, 68, 74.39, 0.4, 5.65, 205.0],+ [69, 69, 74.39, 0.4, 5.65, 205.0],+ [70, 70, 74.39, 0.4, 5.65, 205.0],+ [71, 71, 74.39, 0.4, 5.65, 205.0],+ [72, 72, 74.39, 0.4, 5.65, 205.0],+ [73, 73, 74.39, 0.4, 5.65, 205.0],+ [74, 74, 74.39, 0.4, 5.65, 205.0],+ [75, 75, 74.39, 0.4, 5.65, 205.0],+ [76, 76, 74.39, 0.4, 5.65, 205.0],+ [77, 77, 74.39, 0.4, 5.65, 205.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/bertrand_three_distributions/ce.mkv.sha256 b/tests/integration/cases/bertrand_three_distributions/ce.mkv.sha256new file mode 100644index 00000000..f15464fd--- /dev/null+++ b/tests/integration/cases/bertrand_three_distributions/ce.mkv.sha256@@ -0,0 +1 @@+9cba9eec31929cb651d620c5e656bddeda7497decbb50eadbc35c6815a03737e ce.mkvdiff --git a/tests/integration/cases/bertrand_three_distributions/manimgx.mkv.sha256 b/tests/integration/cases/bertrand_three_distributions/manimgx.mkv.sha256new file mode 100644index 00000000..090fd473--- /dev/null+++ b/tests/integration/cases/bertrand_three_distributions/manimgx.mkv.sha256@@ -0,0 +1 @@+e5c0e6e417cbf9a9751a4d924d022c78ab650489dae58f5d86f9e37325cddffa manimgx.mkvdiff --git a/tests/integration/cases/bertrand_three_distributions/review.json b/tests/integration/cases/bertrand_three_distributions/review.jsonnew file mode 100644index 00000000..bbb0ea25--- /dev/null+++ b/tests/integration/cases/bertrand_three_distributions/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:287c6a39d7d63ae7a73a6154351bec7b4c98deeaf6e3043e8ed207c26d00f2af",+ "manimgx": "sha256:704663fb038c1787d927ea67eab53b2f260e2e9b7688f815bf6a6340f740070b",+ "ce": "sha256:d85ddc5cbde27bc38bfe276c794211dc836820925392a12e2afa6ba79cb2bbff",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/bertrand_three_distributions/scene.py b/tests/integration/cases/bertrand_three_distributions/scene.pynew file mode 100644index 00000000..61e3e8a3--- /dev/null+++ b/tests/integration/cases/bertrand_three_distributions/scene.py@@ -0,0 +1,55 @@+import math+import random++import numpy as np++import manimgx as m+++class TeacherScene(m.Scene):+ def construct(self) -> None:+ random.seed(11)+ title = m.Tex("Where do the midpoints live?").to_edge(m.UP, buff=0.3)+ self.play(m.Write(title))++ R = 1.6+ left_c = np.array([-3.2, -0.4, 0.0])+ right_c = np.array([3.2, -0.4, 0.0])+ cl = m.Circle(radius=R, color=m.WHITE, stroke_width=2.0).move_to(left_c)+ cr = m.Circle(radius=R, color=m.WHITE, stroke_width=2.0).move_to(right_c)+ cl_lab = (+ m.Tex("Endpoint pair", color=m.BLUE).scale(0.7).next_to(cl, m.UP, buff=0.2)+ )+ cr_lab = (+ m.Tex("Midpoint uniform", color=m.GREEN)+ .scale(0.7)+ .next_to(cr, m.UP, buff=0.2)+ )+ self.play(m.Create(cl), m.Create(cr), m.Write(cl_lab), m.Write(cr_lab))++ left_dots = m.VGroup()+ for _ in range(120):+ a = random.uniform(0, 2 * math.pi)+ b = random.uniform(0, 2 * math.pi)+ p1 = left_c + R * np.array([math.cos(a), math.sin(a), 0.0])+ p2 = left_c + R * np.array([math.cos(b), math.sin(b), 0.0])+ mid = 0.5 * (p1 + p2)+ left_dots.add(m.Dot(mid, color=m.BLUE, radius=0.025))++ right_dots = m.VGroup()+ for _ in range(120):+ r = math.sqrt(random.uniform(0, 1)) * R+ th = random.uniform(0, 2 * math.pi)+ right_dots.add(+ m.Dot(+ right_c + r * np.array([math.cos(th), math.sin(th), 0.0]),+ color=m.GREEN,+ radius=0.025,+ )+ )++ self.play(+ m.LaggedStartMap(m.FadeIn, left_dots, lag_ratio=0.01, run_time=1.8),+ m.LaggedStartMap(m.FadeIn, right_dots, lag_ratio=0.01, run_time=1.8),+ )+ self.wait(2.0)diff --git a/tests/integration/cases/get_highlighted_cell_example/case.json b/tests/integration/cases/get_highlighted_cell_example/case.jsonnew file mode 100644index 00000000..71d749a9--- /dev/null+++ b/tests/integration/cases/get_highlighted_cell_example/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:31b5e73c89def530c9d328d941679a79cc1d12f9b5c79e15b6b7168cb4c9cd85",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["7589e15db798f8c1", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:c4c036ab9d2a75e63304abcb4466615114f7cb2b11395674b51a27d828493ce1"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["2e9152f2c16612dd", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:6cc077246ad6b1cfd77c26823f9861d286951616d4475cbabf433c2028c8b8b1"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 246.35, 4.78, 31.23, 255.0],+ [1, 1, 246.35, 4.78, 31.23, 255.0],+ [2, 2, 246.35, 4.78, 31.23, 255.0],+ [3, 3, 246.35, 4.78, 31.23, 255.0],+ [4, 4, 246.35, 4.78, 31.23, 255.0],+ [5, 5, 246.35, 4.78, 31.23, 255.0],+ [6, 6, 246.35, 4.78, 31.23, 255.0],+ [7, 7, 246.35, 4.78, 31.23, 255.0],+ [8, 8, 246.35, 4.78, 31.23, 255.0],+ [9, 9, 246.35, 4.78, 31.23, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/get_highlighted_cell_example/ce.mkv.sha256 b/tests/integration/cases/get_highlighted_cell_example/ce.mkv.sha256new file mode 100644index 00000000..5200be6b--- /dev/null+++ b/tests/integration/cases/get_highlighted_cell_example/ce.mkv.sha256@@ -0,0 +1 @@+49cb701ae06435dc4c4df8f4a228e3b9aa4d66c5eea10fd0218813d113484e76 ce.mkvdiff --git a/tests/integration/cases/get_highlighted_cell_example/manimgx.mkv.sha256 b/tests/integration/cases/get_highlighted_cell_example/manimgx.mkv.sha256new file mode 100644index 00000000..9dcf9ccf--- /dev/null+++ b/tests/integration/cases/get_highlighted_cell_example/manimgx.mkv.sha256@@ -0,0 +1 @@+472533025af27971a77a922a18e202f7ccaef16ff5f46aa943b07336be744fbe manimgx.mkvdiff --git a/tests/integration/cases/get_highlighted_cell_example/review.json b/tests/integration/cases/get_highlighted_cell_example/review.jsonnew file mode 100644index 00000000..2f1d8b02--- /dev/null+++ b/tests/integration/cases/get_highlighted_cell_example/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:31b5e73c89def530c9d328d941679a79cc1d12f9b5c79e15b6b7168cb4c9cd85",+ "manimgx": "sha256:c4c036ab9d2a75e63304abcb4466615114f7cb2b11395674b51a27d828493ce1",+ "ce": "sha256:6cc077246ad6b1cfd77c26823f9861d286951616d4475cbabf433c2028c8b8b1",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/get_highlighted_cell_example/scene.py b/tests/integration/cases/get_highlighted_cell_example/scene.pynew file mode 100644index 00000000..a625ed10--- /dev/null+++ b/tests/integration/cases/get_highlighted_cell_example/scene.py@@ -0,0 +1,15 @@+# Source: manim/mobject/table.py+import manimgx as m+++class GetHighlightedCellExample(m.Scene):+ def construct(self):+ table = m.Table(+ [["First", "Second"], ["Third", "Fourth"]],+ row_labels=[m.Text("R1"), m.Text("R2")],+ col_labels=[m.Text("C1"), m.Text("C2")],+ )+ highlight = table.get_highlighted_cell((2, 2), color=m.GREEN)+ table.add_to_back(highlight)+ self.add(table)+ self.wait()diff --git a/tests/integration/cases/light_theme_banner/case.json b/tests/integration/cases/light_theme_banner/case.jsonnew file mode 100644index 00000000..eb41738a--- /dev/null+++ b/tests/integration/cases/light_theme_banner/case.json@@ -0,0 +1,180 @@+{+ "source": "sha256:5c702b3062168b4874796b2a4d58aab77f6c2ee4fd457d4642e2dd646bcd5a5e",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 5.5,+ "frames": [+ ["1a302c678ea4b13d", 1],+ ["d027693ecab11a08", 1],+ ["697c658f86520a50", 1],+ ["c0119e759d2a1ba9", 1],+ ["5bd7079405325038", 1],+ ["efee07f627825082", 1],+ ["5da36822a93742dc", 1],+ ["3aadbaa6816fa3e6", 1],+ ["1fd05abaa6507341", 1],+ ["203bd35c6372d2d8", 1],+ ["90b506e072b42546", 1],+ ["989c06ad77035c61", 1],+ ["c30015190b73d296", 1],+ ["e12cd503459b56bc", 1],+ ["00592bc4a645e0d7", 1],+ ["51855cc02955dacc", 1],+ ["33aceda6528e47d4", 1],+ ["02d6d5e538d069df", 1],+ ["ea196e11218db6c6", 1],+ ["9fbcebab85fbfa84", 1],+ ["5dcb78ac0b3cedf1", 1],+ ["c20d4b376ddb7afd", 1],+ ["921c61b81c9d7c1c", 1],+ ["7d5cc2d2967a0fc9", 1],+ ["2d51a647921ebf7d", 1],+ ["2f736ca2961edadb", 1],+ ["53b09d96ac46cfb0", 1],+ ["60019eb55d0ef526", 1],+ ["d5acb118195f91c9", 1],+ ["90c741b3de5c6f96", 1],+ ["2520f9a0e065f515", 1],+ ["33fd4fb1e9c22942", 1],+ ["2f3a0a3439f4d6ba", 1],+ ["eab9273e01ead19c", 1],+ ["751325c2f89e108f", 1],+ ["73f57181427d5646", 11],+ ["66b63e210b9b7550", 1],+ ["dc464f9427c5a89d", 1],+ ["21e34b1c5c96a6b4", 1],+ ["8dab8aff4d5e2a34", 1],+ ["6cd3b6b1c2daee48", 1],+ ["5fd58fada2a0fbf8", 1],+ ["184c8b3d5717c45f", 1],+ ["f3d8fd42860a5241", 1],+ ["6b3e79a6c9b32de4", 1],+ ["1a302c678ea4b13d", 1]+ ],+ "timeline": [+ [0.0, 56]+ ],+ "id": "sha256:166b6dfcebb53efcc4fbec0a093c356da65fde0fc286d02446bb5736c0922c48"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 5.5,+ "frames": [+ ["1a302c678ea4b13d", 1],+ ["4f81dfe073974ef3", 1],+ ["482ddd678fa58ffd", 1],+ ["9aa97dfb856bcff8", 1],+ ["cb347046390b4259", 1],+ ["a32b76ac54bed310", 1],+ ["468d944eded907f1", 1],+ ["15a2930c29227128", 1],+ ["834f8a5e006e6304", 1],+ ["72163f1aea4e699b", 1],+ ["99a773874068f298", 1],+ ["df20f56a84b67d5b", 1],+ ["84e54d423d33d02e", 1],+ ["a48fdd36eeecc258", 1],+ ["0e66203568238b74", 1],+ ["cf0eb01aa422f3fa", 1],+ ["8a58c3c7297acea3", 1],+ ["51c4ce6bf8cbb29f", 1],+ ["382c0e8b136e4e5d", 1],+ ["b97992a287b5f495", 1],+ ["59c428e3db5c8731", 1],+ ["e134c949f6608ec0", 1],+ ["2aa04064b2847a3b", 1],+ ["1d27bd0bf71ad353", 1],+ ["104aab54654e42ca", 1],+ ["106ae0d35b8d9340", 1],+ ["f77f883ac33d0621", 1],+ ["20997f1362e9ecc4", 1],+ ["7a5ec27b72d39d48", 1],+ ["ab6aed449b8a2006", 1],+ ["6e7ab6a8a875bfdb", 1],+ ["d9db5c56267570f5", 1],+ ["117e0423706b5b1c", 1],+ ["67fdd6efc614aa82", 1],+ ["573f68ff23db8e7f", 1],+ ["f349678f9737a3cf", 10],+ ["42e56987230ccaa6", 1],+ ["b7c2e8da93a23a86", 1],+ ["0a4f4215c3707a60", 1],+ ["6a3d10922f115c10", 1],+ ["3b47edd6dda94dca", 1],+ ["f5b731a7aa94ba15", 1],+ ["de56634e16470ea7", 1],+ ["3a5d1a64b733698d", 1],+ ["d17d3b097be9378b", 1],+ ["5e254dab55d2eece", 1]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 15],+ [3.5, 10],+ [4.5, 10]+ ],+ "id": "sha256:a8377e8cc498a3fc3838392abaddf7a198d617edb008166bcd9540e4343a711b"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 0.65, 0.0, 0.03, 1.0],+ [2, 2, 0.78, 0.0, 0.03, 1.0],+ [3, 3, 1.16, 0.01, 0.08, 3.0],+ [4, 4, 1.27, 0.01, 0.12, 3.0],+ [5, 5, 1.06, 0.02, 0.14, 5.0],+ [6, 6, 1.37, 0.04, 0.21, 7.0],+ [7, 7, 0.84, 0.0, 0.08, 5.0],+ [8, 8, 1.47, 0.01, 0.11, 16.0],+ [9, 9, 1.12, 0.01, 0.13, 10.0],+ [10, 10, 1.63, 0.01, 0.17, 11.0],+ [11, 11, 1.73, 0.02, 0.19, 12.0],+ [12, 12, 1.37, 0.01, 0.14, 15.0],+ [13, 13, 1.27, 0.01, 0.15, 20.0],+ [14, 14, 1.29, 0.01, 0.14, 13.0],+ [15, 15, 1.16, 0.01, 0.14, 13.0],+ [16, 16, 1.18, 0.01, 0.14, 15.0],+ [17, 17, 1.1, 0.01, 0.14, 11.0],+ [18, 18, 1.1, 0.01, 0.13, 13.0],+ [19, 19, 1.16, 0.01, 0.14, 16.0],+ [20, 20, 1.1, 0.01, 0.14, 14.0],+ [21, 21, 5.57, 0.01, 0.42, 39.0],+ [22, 22, 1.16, 0.01, 0.15, 18.0],+ [23, 23, 1.29, 0.01, 0.16, 17.0],+ [24, 24, 1.73, 0.01, 0.19, 27.0],+ [25, 25, 1.71, 0.01, 0.22, 21.0],+ [26, 26, 1.76, 0.02, 0.25, 19.0],+ [27, 27, 1.84, 0.02, 0.26, 18.0],+ [28, 28, 1.71, 0.02, 0.26, 19.0],+ [29, 29, 1.61, 0.02, 0.26, 16.0],+ [30, 30, 13.24, 0.06, 1.3, 55.0],+ [31, 31, 13.41, 0.06, 1.35, 53.0],+ [32, 32, 13.57, 0.06, 1.37, 54.0],+ [33, 33, 13.92, 0.06, 1.22, 57.0],+ [34, 34, 13.51, 0.05, 1.21, 57.0],+ [35, 35, 2.29, 0.02, 0.26, 23.0],+ [36, 36, 2.29, 0.02, 0.26, 23.0],+ [37, 37, 2.29, 0.02, 0.26, 23.0],+ [38, 38, 2.29, 0.02, 0.26, 23.0],+ [39, 39, 2.29, 0.02, 0.26, 23.0],+ [40, 40, 2.29, 0.02, 0.26, 23.0],+ [41, 41, 2.29, 0.02, 0.26, 23.0],+ [42, 42, 2.29, 0.02, 0.26, 23.0],+ [43, 43, 2.29, 0.02, 0.26, 23.0],+ [44, 44, 2.29, 0.02, 0.26, 23.0],+ [45, 45, 155.0, 0.92, 9.18, 155.0],+ [46, 46, 155.0, 3.59, 17.26, 155.0],+ [47, 47, 179.14, 5.87, 27.7, 200.0],+ [48, 48, 185.57, 5.92, 28.3, 203.0],+ [49, 49, 155.0, 4.64, 22.23, 203.0],+ [50, 50, 155.0, 2.54, 15.24, 203.0],+ [51, 51, 104.76, 1.02, 11.0, 203.0],+ [52, 52, 58.04, 0.28, 5.74, 184.0],+ [53, 53, 2.45, 0.0, 0.12, 44.0],+ [54, 54, 1.02, 0.0, 0.05, 14.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/light_theme_banner/ce.mkv.sha256 b/tests/integration/cases/light_theme_banner/ce.mkv.sha256new file mode 100644index 00000000..7e3a123e--- /dev/null+++ b/tests/integration/cases/light_theme_banner/ce.mkv.sha256@@ -0,0 +1 @@+1fa6250c5cf9abc057bd2c4894c7fde5e25634a2a70b80b0915dfe0b5aa9782e ce.mkvdiff --git a/tests/integration/cases/light_theme_banner/manimgx.mkv.sha256 b/tests/integration/cases/light_theme_banner/manimgx.mkv.sha256new file mode 100644index 00000000..e9619d34--- /dev/null+++ b/tests/integration/cases/light_theme_banner/manimgx.mkv.sha256@@ -0,0 +1 @@+979811956cd0323c868c75d1ec27736bc9b63cb2a6b05e14ca5b9af86d2b6c67 manimgx.mkvdiff --git a/tests/integration/cases/light_theme_banner/review.json b/tests/integration/cases/light_theme_banner/review.jsonnew file mode 100644index 00000000..366e5221--- /dev/null+++ b/tests/integration/cases/light_theme_banner/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:5c702b3062168b4874796b2a4d58aab77f6c2ee4fd457d4642e2dd646bcd5a5e",+ "manimgx": "sha256:166b6dfcebb53efcc4fbec0a093c356da65fde0fc286d02446bb5736c0922c48",+ "ce": "sha256:a8377e8cc498a3fc3838392abaddf7a198d617edb008166bcd9540e4343a711b",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/light_theme_banner/scene.py b/tests/integration/cases/light_theme_banner/scene.pynew file mode 100644index 00000000..22fa4215--- /dev/null+++ b/tests/integration/cases/light_theme_banner/scene.py@@ -0,0 +1,12 @@+# Source: manim/mobject/logo.py+import manimgx as m+++class LightThemeBanner(m.Scene):+ def construct(self):+ self.camera.background_color = "#ece6e2"+ banner = m.ManimBanner(dark_theme=False)+ self.play(banner.create())+ self.play(banner.expand())+ self.wait()+ self.play(m.Unwrite(banner))diff --git a/tests/integration/cases/manim_color_lighter_darker_demo/case.json b/tests/integration/cases/manim_color_lighter_darker_demo/case.jsonnew file mode 100644index 00000000..ebcae03c--- /dev/null+++ b/tests/integration/cases/manim_color_lighter_darker_demo/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:655b4107c414671ea7cf39ba7c577bc22f8058c2d834f624f277d239df07dec6",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["140e8b937fcbb224", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:b74c79f2cfbf699c469c049d1cb0839ccfb333024544aca2a545e9189b51cd95"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["bd9859a55fbeae3e", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:d7666f1f1487b252727bd0c22d554392e046738c0ecc0599bdbd8c26c1fe978c"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 30.0, 0.57, 3.23, 47.0],+ [1, 1, 30.0, 0.57, 3.23, 47.0],+ [2, 2, 30.0, 0.57, 3.23, 47.0],+ [3, 3, 30.0, 0.57, 3.23, 47.0],+ [4, 4, 30.0, 0.57, 3.23, 47.0],+ [5, 5, 30.0, 0.57, 3.23, 47.0],+ [6, 6, 30.0, 0.57, 3.23, 47.0],+ [7, 7, 30.0, 0.57, 3.23, 47.0],+ [8, 8, 30.0, 0.57, 3.23, 47.0],+ [9, 9, 30.0, 0.57, 3.23, 47.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/manim_color_lighter_darker_demo/ce.mkv.sha256 b/tests/integration/cases/manim_color_lighter_darker_demo/ce.mkv.sha256new file mode 100644index 00000000..43546a4d--- /dev/null+++ b/tests/integration/cases/manim_color_lighter_darker_demo/ce.mkv.sha256@@ -0,0 +1 @@+033961f5826a61bcc733c730b1b8097695ef12403f46fb302653f794543a51e9 ce.mkvdiff --git a/tests/integration/cases/manim_color_lighter_darker_demo/manimgx.mkv.sha256 b/tests/integration/cases/manim_color_lighter_darker_demo/manimgx.mkv.sha256new file mode 100644index 00000000..ee04094f--- /dev/null+++ b/tests/integration/cases/manim_color_lighter_darker_demo/manimgx.mkv.sha256@@ -0,0 +1 @@+c5f971504c632513afe763a0259cce8ba2aef50275bd8dca2d00d7ead1d16194 manimgx.mkvdiff --git a/tests/integration/cases/manim_color_lighter_darker_demo/scene.py b/tests/integration/cases/manim_color_lighter_darker_demo/scene.pynew file mode 100644index 00000000..e4b47f8d--- /dev/null+++ b/tests/integration/cases/manim_color_lighter_darker_demo/scene.py@@ -0,0 +1,28 @@+# Source: manim/utils/color/core.py+import manimgx as m+++class ManimColorLighterDarkerDemo(m.Scene):+ def construct(self):+ base_colors = [m.RED, m.GREEN, m.BLUE, m.YELLOW, m.PURPLE]+ rows = m.VGroup()+ for base in base_colors:+ row = m.VGroup(+ m.Square(+ side_length=0.6, fill_color=base.darker(0.6), fill_opacity=1.0+ ),+ m.Square(+ side_length=0.6, fill_color=base.darker(0.3), fill_opacity=1.0+ ),+ m.Square(side_length=0.6, fill_color=base, fill_opacity=1.0),+ m.Square(+ side_length=0.6, fill_color=base.lighter(0.3), fill_opacity=1.0+ ),+ m.Square(+ side_length=0.6, fill_color=base.lighter(0.6), fill_opacity=1.0+ ),+ ).arrange(buff=0.1)+ rows.add(row)+ rows.arrange(buff=0.15, direction=m.DOWN)+ self.add(rows)+ self.wait(1)