The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
Python
Add spatial solids, quaternions and shadow demonstrations
apoogdkf7cb12ad36cc
diff --git a/tests/integration/cases/convex_hull3_d_example/case.json b/tests/integration/cases/convex_hull3_d_example/case.jsonnew file mode 100644index 00000000..f0d80665--- /dev/null+++ b/tests/integration/cases/convex_hull3_d_example/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:b6e3aeaa904e2b88efc94874bd02c507d711c7a1d456679e642bce8a2ad99c3a",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["f7245791ce96095e", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:ad18c90d5c3ecc764c78e29291c2399b7be644e6d18cc2a48b3b4408c3287a77"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["b44b9bdd3dc09c5e", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:1c16d15781aca12ed0d4db0c63f6f881f72e3fa15991aa82fe426ac69f6d106e"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 96.16, 0.86, 6.36, 188.0],+ [1, 1, 96.16, 0.86, 6.36, 188.0],+ [2, 2, 96.16, 0.86, 6.36, 188.0],+ [3, 3, 96.16, 0.86, 6.36, 188.0],+ [4, 4, 96.16, 0.86, 6.36, 188.0],+ [5, 5, 96.16, 0.86, 6.36, 188.0],+ [6, 6, 96.16, 0.86, 6.36, 188.0],+ [7, 7, 96.16, 0.86, 6.36, 188.0],+ [8, 8, 96.16, 0.86, 6.36, 188.0],+ [9, 9, 96.16, 0.86, 6.36, 188.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/convex_hull3_d_example/ce.mkv.sha256 b/tests/integration/cases/convex_hull3_d_example/ce.mkv.sha256new file mode 100644index 00000000..28bdfe81--- /dev/null+++ b/tests/integration/cases/convex_hull3_d_example/ce.mkv.sha256@@ -0,0 +1 @@+666b4446518de4ae5962472dcbb80ed8cc9f39f252dde39baf31d4109d5aec62 ce.mkvdiff --git a/tests/integration/cases/convex_hull3_d_example/manimgx.mkv.sha256 b/tests/integration/cases/convex_hull3_d_example/manimgx.mkv.sha256new file mode 100644index 00000000..93359fbd--- /dev/null+++ b/tests/integration/cases/convex_hull3_d_example/manimgx.mkv.sha256@@ -0,0 +1 @@+ac9108b849deec83b9078198ccad0dd7512997bdc1fdc9f9214e4d34208047c3 manimgx.mkvdiff --git a/tests/integration/cases/convex_hull3_d_example/review.json b/tests/integration/cases/convex_hull3_d_example/review.jsonnew file mode 100644index 00000000..e00c93b7--- /dev/null+++ b/tests/integration/cases/convex_hull3_d_example/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 11 frames; frame count, duration and timeline are unchanged. Largest changed area: 22 pixels/frame out of 518400; maximum channel delta 64/255; maximum frame RMSE 0.100915/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:b6e3aeaa904e2b88efc94874bd02c507d711c7a1d456679e642bce8a2ad99c3a",+ "manimgx": "sha256:ad18c90d5c3ecc764c78e29291c2399b7be644e6d18cc2a48b3b4408c3287a77",+ "ce": "sha256:1c16d15781aca12ed0d4db0c63f6f881f72e3fa15991aa82fe426ac69f6d106e",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/convex_hull3_d_example/scene.py b/tests/integration/cases/convex_hull3_d_example/scene.pynew file mode 100644index 00000000..670ee3f9--- /dev/null+++ b/tests/integration/cases/convex_hull3_d_example/scene.py@@ -0,0 +1,40 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class ConvexHull3DExample(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ points = [+ [1.93192757, 0.44134585, -1.52407061],+ [-0.93302521, 1.23206983, 0.64117067],+ [-0.44350918, -0.61043677, 0.21723705],+ [-0.42640268, -1.05260843, 1.61266094],+ [-1.84449637, 0.91238739, -1.85172623],+ [1.72068132, -0.11880457, 0.51881751],+ [0.41904805, 0.44938012, -1.86440686],+ [0.83864666, 1.66653337, 1.88960123],+ [0.22240514, -0.80986286, 1.34249326],+ [-1.29585759, 1.01516189, 0.46187522],+ [1.7776499, -1.59550796, -1.70240747],+ [0.80065226, -0.12530398, 1.70063977],+ [1.28960948, -1.44158255, 1.39938582],+ [-0.93538943, 1.33617705, -0.24852643],+ [-1.54868271, 1.7444399, -0.46170734],+ ]+ hull = m.ConvexHull3D(+ *points,+ faces_config={"stroke_opacity": 0},+ graph_config={+ "vertex_type": m.Dot3D,+ "edge_config": {+ "stroke_color": m.BLUE,+ "stroke_width": 2,+ "stroke_opacity": 0.05,+ },+ },+ )+ dots = m.VGroup(*[m.Dot3D(point) for point in points])+ self.add(hull)+ self.add(dots)+ self.wait()diff --git a/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/case.json b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/case.jsonnew file mode 100644index 00000000..05ed73df--- /dev/null+++ b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/case.json@@ -0,0 +1,33 @@+{+ "source": "sha256:011ab692c44335fa4fb02a264f657e1ff72e54f9f8e12d40b447c6324ddda66c",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 0.1,+ "frames": [+ ["3e4d30e685a30f5d", 2]+ ],+ "timeline": [+ [0.0, 2]+ ],+ "id": "sha256:dfa5800589189cde469cdedca4e06d8ccf46a8323a4702c8830536de53d3d462"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 0.1,+ "frames": [+ ["62ee1e3e7118701f", 1]+ ],+ "timeline": [+ [0.0, 1]+ ],+ "id": "sha256:df7c1b832d73e99e9ebb5e86691860be4066dbc1a9ff21414db01708a77e856f"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 89.82, 0.47, 4.76, 189.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/ce.mkv.sha256 b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/ce.mkv.sha256new file mode 100644index 00000000..5c0dc792--- /dev/null+++ b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/ce.mkv.sha256@@ -0,0 +1 @@+70533f83cf2c172b7e81c6a5a1de75e457d8b15a0901f43ed414228bee81e232 ce.mkvdiff --git a/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/manimgx.mkv.sha256 b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/manimgx.mkv.sha256new file mode 100644index 00000000..565e0aa4--- /dev/null+++ b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/manimgx.mkv.sha256@@ -0,0 +1 @@+7a09fe636bc83474b4505984e830eb991e1e64b9617e81ab2424b618d4f0493f manimgx.mkvdiff --git a/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/review.json b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/review.jsonnew file mode 100644index 00000000..de58f3ad--- /dev/null+++ b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 2 frames; frame count, duration and timeline are unchanged. Largest changed area: 15 pixels/frame out of 518400; maximum channel delta 46/255; maximum frame RMSE 0.112620/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:011ab692c44335fa4fb02a264f657e1ff72e54f9f8e12d40b447c6324ddda66c",+ "manimgx": "sha256:dfa5800589189cde469cdedca4e06d8ccf46a8323a4702c8830536de53d3d462",+ "ce": "sha256:df7c1b832d73e99e9ebb5e86691860be4066dbc1a9ff21414db01708a77e856f",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/scene.py b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/scene.pynew file mode 100644index 00000000..6b81fcaf--- /dev/null+++ b/tests/integration/cases/cylinder_set_direction_add_bases_ce_parity/scene.py@@ -0,0 +1,14 @@+# Source: manim/mobject/three_d/three_dimensions.py+import numpy as np++import manimgx as m+++class CylinderSetDirectionAddBasesCeParity(m.ThreeDScene):+ def construct(self):+ cyl = m.Cylinder(radius=0.6, height=2.0, direction=np.array([1.0, 0.0, 0.0]))+ cyl.set_direction(np.array([0.0, 1.0, 0.0]))+ cyl.add_bases()+ self.set_camera_orientation(phi=70 * m.DEGREES, theta=30 * m.DEGREES)+ self.add(cyl)+ self.wait(0.1)diff --git a/tests/integration/cases/dodecahedron_scene/case.json b/tests/integration/cases/dodecahedron_scene/case.jsonnew file mode 100644index 00000000..7a137b8a--- /dev/null+++ b/tests/integration/cases/dodecahedron_scene/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:31fcf2ab66314f9abac26a9dcb185cd1af8fbb62ef706f7954cb2e55b17570c5",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["767e934595e10360", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:ff01b1b3f56afeb7a486560db1e69e4adec1fb2b98dd8713d6f1611902a064cd"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["78269fc642733dc0", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:6bf21e5807c4a2d31e2f4e0f898b2842761fe9c29a3fd9f0e1981399eda8ad3c"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 90.8, 1.17, 7.15, 211.0],+ [1, 1, 90.8, 1.17, 7.15, 211.0],+ [2, 2, 90.8, 1.17, 7.15, 211.0],+ [3, 3, 90.8, 1.17, 7.15, 211.0],+ [4, 4, 90.8, 1.17, 7.15, 211.0],+ [5, 5, 90.8, 1.17, 7.15, 211.0],+ [6, 6, 90.8, 1.17, 7.15, 211.0],+ [7, 7, 90.8, 1.17, 7.15, 211.0],+ [8, 8, 90.8, 1.17, 7.15, 211.0],+ [9, 9, 90.8, 1.17, 7.15, 211.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/dodecahedron_scene/ce.mkv.sha256 b/tests/integration/cases/dodecahedron_scene/ce.mkv.sha256new file mode 100644index 00000000..1ca9fefa--- /dev/null+++ b/tests/integration/cases/dodecahedron_scene/ce.mkv.sha256@@ -0,0 +1 @@+e74db66e34b2eebf74096ea6b7c84b3f21598e291b604238c3dfa8a12e7d1df5 ce.mkvdiff --git a/tests/integration/cases/dodecahedron_scene/manimgx.mkv.sha256 b/tests/integration/cases/dodecahedron_scene/manimgx.mkv.sha256new file mode 100644index 00000000..a18f93c8--- /dev/null+++ b/tests/integration/cases/dodecahedron_scene/manimgx.mkv.sha256@@ -0,0 +1 @@+35354857b7d0dc17c8f4f7bf27f3f43ee066c6e8c1645ecd989948c098215fc2 manimgx.mkvdiff --git a/tests/integration/cases/dodecahedron_scene/review.json b/tests/integration/cases/dodecahedron_scene/review.jsonnew file mode 100644index 00000000..fed8c988--- /dev/null+++ b/tests/integration/cases/dodecahedron_scene/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 11 frames; frame count, duration and timeline are unchanged. Largest changed area: 23 pixels/frame out of 518400; maximum channel delta 57/255; maximum frame RMSE 0.128388/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:31fcf2ab66314f9abac26a9dcb185cd1af8fbb62ef706f7954cb2e55b17570c5",+ "manimgx": "sha256:ff01b1b3f56afeb7a486560db1e69e4adec1fb2b98dd8713d6f1611902a064cd",+ "ce": "sha256:6bf21e5807c4a2d31e2f4e0f898b2842761fe9c29a3fd9f0e1981399eda8ad3c",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/dodecahedron_scene/scene.py b/tests/integration/cases/dodecahedron_scene/scene.pynew file mode 100644index 00000000..8898bc71--- /dev/null+++ b/tests/integration/cases/dodecahedron_scene/scene.py@@ -0,0 +1,10 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class DodecahedronScene(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ obj = m.Dodecahedron()+ self.add(obj)+ self.wait()diff --git a/tests/integration/cases/example_cylinder/case.json b/tests/integration/cases/example_cylinder/case.jsonnew file mode 100644index 00000000..821916b7--- /dev/null+++ b/tests/integration/cases/example_cylinder/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:d525a3b018e5651d2ebaf9041b8909cd288cef2aa1e6c49f22d4b11f8eb22f23",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["e79ee51b7936d997", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:68177c0d592b2d731a6657aee66dd5500d0729ad924da7a64921378752b129fd"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["e7a2b104b505db66", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:8f6a5e768f99c56b6fc5434f7a830b4bb83603eb34b368e0c8335698ea62a9d5"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 162.24, 9.69, 31.57, 212.0],+ [1, 1, 162.24, 9.69, 31.57, 212.0],+ [2, 2, 162.24, 9.69, 31.57, 212.0],+ [3, 3, 162.24, 9.69, 31.57, 212.0],+ [4, 4, 162.24, 9.69, 31.57, 212.0],+ [5, 5, 162.24, 9.69, 31.57, 212.0],+ [6, 6, 162.24, 9.69, 31.57, 212.0],+ [7, 7, 162.24, 9.69, 31.57, 212.0],+ [8, 8, 162.24, 9.69, 31.57, 212.0],+ [9, 9, 162.24, 9.69, 31.57, 212.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/example_cylinder/ce.mkv.sha256 b/tests/integration/cases/example_cylinder/ce.mkv.sha256new file mode 100644index 00000000..7df36191--- /dev/null+++ b/tests/integration/cases/example_cylinder/ce.mkv.sha256@@ -0,0 +1 @@+03de14ed926923dc8bb33c2e7ef9713a7892500b37c717edde147f6cfa7583c4 ce.mkvdiff --git a/tests/integration/cases/example_cylinder/manimgx.mkv.sha256 b/tests/integration/cases/example_cylinder/manimgx.mkv.sha256new file mode 100644index 00000000..f7b6dcf2--- /dev/null+++ b/tests/integration/cases/example_cylinder/manimgx.mkv.sha256@@ -0,0 +1 @@+52e07b1a81606d02d335a5b3aac00972d3fb4826d61c3e96e6320f7f794855ae manimgx.mkvdiff --git a/tests/integration/cases/example_cylinder/review.json b/tests/integration/cases/example_cylinder/review.jsonnew file mode 100644index 00000000..28148dbc--- /dev/null+++ b/tests/integration/cases/example_cylinder/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:d525a3b018e5651d2ebaf9041b8909cd288cef2aa1e6c49f22d4b11f8eb22f23",+ "manimgx": "sha256:68177c0d592b2d731a6657aee66dd5500d0729ad924da7a64921378752b129fd",+ "ce": "sha256:8f6a5e768f99c56b6fc5434f7a830b4bb83603eb34b368e0c8335698ea62a9d5",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/example_cylinder/scene.py b/tests/integration/cases/example_cylinder/scene.pynew file mode 100644index 00000000..24d82ffd--- /dev/null+++ b/tests/integration/cases/example_cylinder/scene.py@@ -0,0 +1,11 @@+# Source: manim/mobject/three_d/three_dimensions.py+import manimgx as m+++class ExampleCylinder(m.ThreeDScene):+ def construct(self):+ axes = m.ThreeDAxes()+ cylinder = m.Cylinder(radius=2, height=3)+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ self.add(axes, cylinder)+ self.wait()diff --git a/tests/integration/cases/example_prism/case.json b/tests/integration/cases/example_prism/case.jsonnew file mode 100644index 00000000..ec12599a--- /dev/null+++ b/tests/integration/cases/example_prism/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:4a6e718463605110ad7e1fd2d93368ed36ccd129fc71aa326843c7eda115217f",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["a4855ce2afc277cd", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:5120b6e9147d7a767470e6552de530dd0e593c60b8f9e80de86d204687f575c1"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["0ce11118108f0593", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:3482b6b42e8bae1a2055ed50ce5cc5d9df24acbd45d656ed3e3b19ea0461947b"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 39.02, 3.12, 9.06, 54.0],+ [1, 1, 39.02, 3.12, 9.06, 54.0],+ [2, 2, 39.02, 3.12, 9.06, 54.0],+ [3, 3, 39.02, 3.12, 9.06, 54.0],+ [4, 4, 39.02, 3.12, 9.06, 54.0],+ [5, 5, 39.02, 3.12, 9.06, 54.0],+ [6, 6, 39.02, 3.12, 9.06, 54.0],+ [7, 7, 39.02, 3.12, 9.06, 54.0],+ [8, 8, 39.02, 3.12, 9.06, 54.0],+ [9, 9, 39.02, 3.12, 9.06, 54.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/example_prism/ce.mkv.sha256 b/tests/integration/cases/example_prism/ce.mkv.sha256new file mode 100644index 00000000..653fd543--- /dev/null+++ b/tests/integration/cases/example_prism/ce.mkv.sha256@@ -0,0 +1 @@+e51c9f62562f483b6ed17c591fc727fb6d4b6c3decd09a550300959ede0fcfd4 ce.mkvdiff --git a/tests/integration/cases/example_prism/manimgx.mkv.sha256 b/tests/integration/cases/example_prism/manimgx.mkv.sha256new file mode 100644index 00000000..d25a3b57--- /dev/null+++ b/tests/integration/cases/example_prism/manimgx.mkv.sha256@@ -0,0 +1 @@+d0de3bee560440d9d8bfb18773addba5110d22bda1d2d77133821382df26719f manimgx.mkvdiff --git a/tests/integration/cases/example_prism/review.json b/tests/integration/cases/example_prism/review.jsonnew file mode 100644index 00000000..22310369--- /dev/null+++ b/tests/integration/cases/example_prism/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:4a6e718463605110ad7e1fd2d93368ed36ccd129fc71aa326843c7eda115217f",+ "manimgx": "sha256:5120b6e9147d7a767470e6552de530dd0e593c60b8f9e80de86d204687f575c1",+ "ce": "sha256:3482b6b42e8bae1a2055ed50ce5cc5d9df24acbd45d656ed3e3b19ea0461947b",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/example_prism/scene.py b/tests/integration/cases/example_prism/scene.pynew file mode 100644index 00000000..ab8dcb9b--- /dev/null+++ b/tests/integration/cases/example_prism/scene.py@@ -0,0 +1,11 @@+# Source: manim/mobject/three_d/three_dimensions.py+import manimgx as m+++class ExamplePrism(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=60 * m.DEGREES, theta=150 * m.DEGREES)+ prismSmall = m.Prism(dimensions=[1, 2, 3]).rotate(m.PI / 2)+ prismLarge = m.Prism(dimensions=[1.5, 3, 4.5]).move_to([2, 0, 0])+ self.add(prismSmall, prismLarge)+ self.wait()diff --git a/tests/integration/cases/example_torus/case.json b/tests/integration/cases/example_torus/case.jsonnew file mode 100644index 00000000..697b17f4--- /dev/null+++ b/tests/integration/cases/example_torus/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:08e0a18b74cc6e58d5e64886d07578af30e7450af0a031e2600d64c5940c0bf7",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["c15f00196324de43", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:bff95ce5998d2315a7d5d64fbb4d36c324a9b736b27fa9c1d007a53e7af81975"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["3eee2521e8dbc9d3", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:a37885e7c23ae2e2a0c633a9768083b228fa3c3d789be4b8a007f25e2fe25fa2"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 48.55, 0.99, 4.76, 202.0],+ [1, 1, 48.55, 0.99, 4.76, 202.0],+ [2, 2, 48.55, 0.99, 4.76, 202.0],+ [3, 3, 48.55, 0.99, 4.76, 202.0],+ [4, 4, 48.55, 0.99, 4.76, 202.0],+ [5, 5, 48.55, 0.99, 4.76, 202.0],+ [6, 6, 48.55, 0.99, 4.76, 202.0],+ [7, 7, 48.55, 0.99, 4.76, 202.0],+ [8, 8, 48.55, 0.99, 4.76, 202.0],+ [9, 9, 48.55, 0.99, 4.76, 202.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/example_torus/ce.mkv.sha256 b/tests/integration/cases/example_torus/ce.mkv.sha256new file mode 100644index 00000000..5ec04238--- /dev/null+++ b/tests/integration/cases/example_torus/ce.mkv.sha256@@ -0,0 +1 @@+84c6b5c290fecb1e526c1fabf9a5a14203c139adb81b3866d1d53ea075db9ada ce.mkvdiff --git a/tests/integration/cases/example_torus/manimgx.mkv.sha256 b/tests/integration/cases/example_torus/manimgx.mkv.sha256new file mode 100644index 00000000..f9295e6e--- /dev/null+++ b/tests/integration/cases/example_torus/manimgx.mkv.sha256@@ -0,0 +1 @@+20c1de9aafd1b99a6e94124390ce750b2c9030a78d36747adbce43ce1d575138 manimgx.mkvdiff --git a/tests/integration/cases/example_torus/review.json b/tests/integration/cases/example_torus/review.jsonnew file mode 100644index 00000000..76f51fd3--- /dev/null+++ b/tests/integration/cases/example_torus/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 11 frames; frame count, duration and timeline are unchanged. Largest changed area: 10 pixels/frame out of 518400; maximum channel delta 47/255; maximum frame RMSE 0.083526/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:08e0a18b74cc6e58d5e64886d07578af30e7450af0a031e2600d64c5940c0bf7",+ "manimgx": "sha256:bff95ce5998d2315a7d5d64fbb4d36c324a9b736b27fa9c1d007a53e7af81975",+ "ce": "sha256:a37885e7c23ae2e2a0c633a9768083b228fa3c3d789be4b8a007f25e2fe25fa2",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/example_torus/scene.py b/tests/integration/cases/example_torus/scene.pynew file mode 100644index 00000000..ebfbed25--- /dev/null+++ b/tests/integration/cases/example_torus/scene.py@@ -0,0 +1,11 @@+# Source: manim/mobject/three_d/three_dimensions.py+import manimgx as m+++class ExampleTorus(m.ThreeDScene):+ def construct(self):+ axes = m.ThreeDAxes()+ torus = m.Torus()+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ self.add(axes, torus)+ self.wait()diff --git a/tests/integration/cases/face_shadow_angle/case.json b/tests/integration/cases/face_shadow_angle/case.jsonnew file mode 100644index 00000000..36ab0e2b--- /dev/null+++ b/tests/integration/cases/face_shadow_angle/case.json@@ -0,0 +1,271 @@+{+ "source": "sha256:f9693b25321074892014665d53cfb86343745dc898e1c72f12dd88d015b3330a",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 8.5,+ "frames": [+ ["2e842802bccef91c", 1],+ ["c1933ee2cc4238d8", 1],+ ["682619e40f637dc5", 1],+ ["643e449c531084bb", 1],+ ["4c3b672f152b1a30", 1],+ ["1b0301ef45b6b9f5", 1],+ ["6aea1580f96d2409", 1],+ ["03ef592adb02ca34", 1],+ ["a21e89119c2b37c4", 1],+ ["1283a10957c672b3", 1],+ ["e03a64e5c4ed18bd", 1],+ ["29b237c04e6ce9dd", 1],+ ["dfb04f4670ab11b1", 1],+ ["f1a7ac541964745b", 1],+ ["a1aad49ac292d28c", 1],+ ["04282f01afa6e8a5", 1],+ ["6c4a13dd5f9923f1", 1],+ ["3839686d16a5c214", 1],+ ["a54a4fa358c0b4a0", 1],+ ["4b86299e48bf2f41", 1],+ ["66e3fd85c9717bcd", 1],+ ["ca575df67b74ab91", 1],+ ["970d744098062c3b", 1],+ ["3f560b8f8079e9f2", 1],+ ["fe0a2d7bf09986c5", 1],+ ["84c629f54226ca4e", 1],+ ["dd537f09c0c9691d", 1],+ ["49303e5d389b935c", 1],+ ["1ddc808207cdf8ab", 1],+ ["102844bcb8fd8ebb", 1],+ ["c5d2bf4ccb781d52", 1],+ ["120f0f50e473e13f", 1],+ ["9260951c6dc387d4", 1],+ ["597e72a8d66bba8e", 1],+ ["578291bf1a4f302b", 1],+ ["be59afdf34a31588", 1],+ ["ffba952973a892ba", 1],+ ["e83c606fa8195376", 1],+ ["de51ad8ba9826a17", 1],+ ["d0d32c6914931a18", 1],+ ["18bf2c225eefa19e", 1],+ ["07c9eecb19d1b4a6", 1],+ ["f16336b94162a952", 1],+ ["f01ac5a3139ff857", 1],+ ["2c7bddadb3d94c66", 1],+ ["a03bde1b186e6aa5", 1],+ ["38f5462bc4c28e8f", 1],+ ["a42dba32a939b14e", 1],+ ["1911c1cf02c325ee", 1],+ ["1c1915f83ea8f678", 1],+ ["a39ddc6131a9a8bd", 1],+ ["884c0b51924c2460", 1],+ ["6f9d12cf9f3adcf5", 1],+ ["f1f0b4adb8d28ca5", 1],+ ["8dba983e5aab3378", 1],+ ["94f1041e67032b3d", 1],+ ["53bc467c60de7d55", 1],+ ["ef5379a87082a562", 1],+ ["b4c0a634b6704416", 1],+ ["bec8de40a078f75d", 1],+ ["0007ecc8bcfec783", 1],+ ["5dd57558fca722bf", 1],+ ["b1de0390b08acfe8", 1],+ ["69db0cf1ce6d663a", 1],+ ["ef3e433e9c103a70", 1],+ ["c77729e67d4dc46a", 1],+ ["d5060470a7ed6255", 1],+ ["412839935a0ea9c0", 1],+ ["601a39d6dca06842", 1],+ ["06094258516699d5", 1],+ ["bd128a0f7db22a58", 1],+ ["7d2acb3f07d199db", 1],+ ["634f14472575eb7a", 1],+ ["f798bdbaab7012c7", 1],+ ["795d851d5f2c9301", 1],+ ["1ca1e7977e3e8d7e", 11]+ ],+ "timeline": [+ [0.0, 86]+ ],+ "id": "sha256:112360055c26e40f1acc7a2b86677bbcd742b26cad7c7ebb18b61dcf8306d377"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 8.5,+ "frames": [+ ["2e842802bccef91c", 1],+ ["a7537139df5c452a", 1],+ ["8db45f2fd2a65c41", 1],+ ["ea941207f8ecc8bf", 1],+ ["406b5cab81aabcd9", 1],+ ["15f26dd6edb8a5df", 1],+ ["13aa8e4e64ac7291", 1],+ ["f362891752c9b8f2", 1],+ ["43ab4005527889e1", 1],+ ["ce9120de57d87c75", 1],+ ["cdb4a75b5125a91d", 1],+ ["94951696c88817a4", 1],+ ["fe85890d97aae414", 1],+ ["35e093f7d79ab526", 1],+ ["246c94ae1b08b36f", 1],+ ["f695914e28a391c6", 1],+ ["46a57f285d979c13", 1],+ ["fc1e95d24fc76cf5", 1],+ ["261f20d025a63c07", 1],+ ["3e1347131a885d28", 1],+ ["da9990e1761dae34", 1],+ ["f7bea53f57f527b8", 1],+ ["966dff6b1917a030", 1],+ ["efd35a4d5afc1526", 1],+ ["1a0449569f0c0bd3", 1],+ ["70a4914b12debbbc", 1],+ ["e671a61023872b68", 1],+ ["345426440b73b71f", 1],+ ["ab4ced532d105d1a", 1],+ ["9c9d82623c481124", 1],+ ["9dce7489991ab5ed", 1],+ ["42ec27c536a2e4ce", 1],+ ["3e0809b3c934b22c", 1],+ ["b68e0608884b5baa", 1],+ ["f46e8718ffd5f930", 1],+ ["5f945c7813bd1e87", 1],+ ["f5afd4a131ce602f", 1],+ ["24c3e861b5d98e32", 1],+ ["05fa76f872e5f652", 1],+ ["7676602e9f8a0547", 1],+ ["805e466809f2c028", 1],+ ["d4f6926fe5c0c6c2", 1],+ ["aa30948db50bd4d3", 1],+ ["4d9541554dc9fb3d", 1],+ ["f5a5e398d3b367d6", 1],+ ["f8eb7cb9d0e049e9", 1],+ ["26328625db01a8a4", 1],+ ["40eb7b1f0343789d", 1],+ ["ba4c1d302eea191b", 1],+ ["a55d162eb213773f", 1],+ ["ed9b13ac85728b65", 1],+ ["f700a60895ae5b3e", 1],+ ["abc5099248a0d965", 1],+ ["18cc4fbd02922b3a", 1],+ ["a792f0fa53d4918f", 1],+ ["fdfb2be988818dea", 1],+ ["d2909468b5e4655e", 1],+ ["3d8ea385d2c0acb2", 1],+ ["a4f31e95feb64dcf", 1],+ ["f02507c7ada038e1", 1],+ ["661bd67810648151", 1],+ ["2b631b27f8d811ae", 1],+ ["631c9a4b1576bf4f", 1],+ ["0ed2f934e58a50c2", 1],+ ["ee471b8821bdf1d6", 1],+ ["bf81d11b9e11afa7", 1],+ ["1c8a3d1c13d8d106", 1],+ ["1690d69649171080", 1],+ ["c2631c917c5a0a92", 1],+ ["3ed5f1b30e8d642e", 1],+ ["6a29197a1454089d", 1],+ ["902bca7a55f1fe40", 1],+ ["e400c8d0367a68b6", 1],+ ["b4e8af8416788e4d", 1],+ ["a35acb4594ce33a3", 1],+ ["8aadbf8bbcaaadec", 10]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 10],+ [3.0, 25],+ [5.5, 20],+ [7.5, 10]+ ],+ "id": "sha256:9b65708a77a176e3045bbf6040e043c5be6fec21aae6180d21ffb5aa01cd16d0"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 46.24, 0.02, 1.58, 255.0],+ [2, 2, 138.98, 0.07, 3.53, 255.0],+ [3, 3, 101.84, 0.07, 3.36, 255.0],+ [4, 4, 97.08, 0.07, 3.21, 255.0],+ [5, 5, 141.31, 0.08, 3.24, 255.0],+ [6, 6, 146.86, 0.09, 3.45, 255.0],+ [7, 7, 81.2, 0.09, 2.72, 255.0],+ [8, 8, 106.18, 0.15, 4.17, 255.0],+ [9, 9, 143.29, 0.18, 4.76, 255.0],+ [10, 10, 83.14, 0.15, 3.82, 255.0],+ [11, 11, 88.27, 0.18, 4.33, 255.0],+ [12, 12, 135.35, 0.21, 5.05, 255.0],+ [13, 13, 137.08, 0.24, 5.3, 255.0],+ [14, 14, 122.14, 0.28, 5.93, 255.0],+ [15, 15, 127.02, 0.31, 6.32, 255.0],+ [16, 16, 120.35, 0.32, 6.13, 255.0],+ [17, 17, 105.18, 0.33, 6.44, 255.0],+ [18, 18, 114.22, 0.33, 6.39, 254.0],+ [19, 19, 88.39, 0.32, 6.18, 254.0],+ [20, 20, 88.39, 0.32, 6.27, 254.0],+ [21, 21, 88.39, 0.32, 6.27, 254.0],+ [22, 22, 88.39, 0.32, 6.27, 254.0],+ [23, 23, 88.39, 0.32, 6.27, 254.0],+ [24, 24, 88.39, 0.32, 6.28, 254.0],+ [25, 25, 88.39, 0.33, 6.28, 254.0],+ [26, 26, 88.39, 0.33, 6.28, 254.0],+ [27, 27, 88.39, 0.33, 6.28, 254.0],+ [28, 28, 88.39, 0.33, 6.28, 254.0],+ [29, 29, 88.39, 0.33, 6.28, 254.0],+ [30, 30, 88.39, 0.33, 6.28, 254.0],+ [31, 31, 88.39, 0.33, 6.28, 254.0],+ [32, 32, 88.39, 0.33, 6.28, 254.0],+ [33, 33, 88.39, 0.33, 6.28, 254.0],+ [34, 34, 88.39, 0.33, 6.28, 254.0],+ [35, 35, 88.39, 0.34, 6.35, 254.0],+ [36, 36, 88.39, 0.35, 6.38, 254.0],+ [37, 37, 88.39, 0.35, 6.4, 254.0],+ [38, 38, 88.39, 0.36, 6.43, 254.0],+ [39, 39, 88.39, 0.36, 6.46, 254.0],+ [40, 40, 88.39, 0.37, 6.49, 254.0],+ [41, 41, 88.39, 0.37, 6.51, 254.0],+ [42, 42, 88.39, 0.38, 6.54, 254.0],+ [43, 43, 88.39, 0.38, 6.56, 254.0],+ [44, 44, 88.39, 0.38, 6.58, 254.0],+ [45, 45, 88.39, 0.39, 6.6, 254.0],+ [46, 46, 88.39, 0.39, 6.62, 254.0],+ [47, 47, 88.39, 0.39, 6.63, 254.0],+ [48, 48, 88.39, 0.4, 6.64, 254.0],+ [49, 49, 88.39, 0.4, 6.65, 254.0],+ [50, 50, 88.39, 0.4, 6.65, 254.0],+ [51, 51, 88.39, 0.4, 6.66, 254.0],+ [52, 52, 88.39, 0.4, 6.66, 254.0],+ [53, 53, 88.39, 0.4, 6.65, 254.0],+ [54, 54, 88.39, 0.39, 6.64, 254.0],+ [55, 55, 88.39, 0.39, 6.62, 254.0],+ [56, 56, 88.39, 0.39, 6.61, 254.0],+ [57, 57, 88.39, 0.39, 6.6, 254.0],+ [58, 58, 88.39, 0.38, 6.58, 254.0],+ [59, 59, 88.39, 0.38, 6.57, 254.0],+ [60, 60, 88.39, 0.38, 6.55, 254.0],+ [61, 61, 88.39, 0.37, 6.54, 254.0],+ [62, 62, 88.39, 0.37, 6.52, 254.0],+ [63, 63, 88.39, 0.36, 6.5, 254.0],+ [64, 64, 88.39, 0.36, 6.52, 254.0],+ [65, 65, 88.39, 0.35, 6.49, 254.0],+ [66, 66, 88.39, 0.34, 6.33, 254.0],+ [67, 67, 88.39, 0.33, 6.28, 254.0],+ [68, 68, 88.39, 0.33, 6.28, 254.0],+ [69, 69, 88.39, 0.33, 6.28, 254.0],+ [70, 70, 88.39, 0.33, 6.28, 254.0],+ [71, 71, 88.39, 0.33, 6.28, 254.0],+ [72, 72, 88.39, 0.33, 6.28, 254.0],+ [73, 73, 88.39, 0.33, 6.28, 254.0],+ [74, 74, 88.39, 0.33, 6.28, 254.0],+ [75, 75, 88.39, 0.33, 6.28, 254.0],+ [76, 76, 88.39, 0.33, 6.28, 254.0],+ [77, 77, 88.39, 0.33, 6.28, 254.0],+ [78, 78, 88.39, 0.33, 6.28, 254.0],+ [79, 79, 88.39, 0.33, 6.28, 254.0],+ [80, 80, 88.39, 0.33, 6.28, 254.0],+ [81, 81, 88.39, 0.33, 6.28, 254.0],+ [82, 82, 88.39, 0.33, 6.28, 254.0],+ [83, 83, 88.39, 0.33, 6.28, 254.0],+ [84, 84, 88.39, 0.33, 6.28, 254.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/face_shadow_angle/ce.mkv.sha256 b/tests/integration/cases/face_shadow_angle/ce.mkv.sha256new file mode 100644index 00000000..9bb0a60d--- /dev/null+++ b/tests/integration/cases/face_shadow_angle/ce.mkv.sha256@@ -0,0 +1 @@+bec42c88265a4a946aeda475aaab003e5b9190e8ecd02201f61245b79ee28449 ce.mkvdiff --git a/tests/integration/cases/face_shadow_angle/manimgx.mkv.sha256 b/tests/integration/cases/face_shadow_angle/manimgx.mkv.sha256new file mode 100644index 00000000..1b5db098--- /dev/null+++ b/tests/integration/cases/face_shadow_angle/manimgx.mkv.sha256@@ -0,0 +1 @@+88a16c8ac5e85b9add21ce980571a38cf9062ca1727f120c2f1fc86d4b3933cc manimgx.mkvdiff --git a/tests/integration/cases/face_shadow_angle/review.json b/tests/integration/cases/face_shadow_angle/review.jsonnew file mode 100644index 00000000..5b128f97--- /dev/null+++ b/tests/integration/cases/face_shadow_angle/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:f9693b25321074892014665d53cfb86343745dc898e1c72f12dd88d015b3330a",+ "manimgx": "sha256:112360055c26e40f1acc7a2b86677bbcd742b26cad7c7ebb18b61dcf8306d377",+ "ce": "sha256:9b65708a77a176e3045bbf6040e043c5be6fec21aae6180d21ffb5aa01cd16d0",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/face_shadow_angle/scene.py b/tests/integration/cases/face_shadow_angle/scene.pynew file mode 100644index 00000000..91240ae0--- /dev/null+++ b/tests/integration/cases/face_shadow_angle/scene.py@@ -0,0 +1,71 @@+import math++import numpy as np++import manimgx as m+++class TeacherScene(m.ThreeDScene):+ def construct(self) -> None:+ self.set_camera_orientation(phi=65 * m.DEGREES, theta=-55 * m.DEGREES)++ title = m.Tex("Face shadow $= \\cos(\\theta) \\cdot A$").to_corner(+ m.UL, buff=0.3+ )+ self.add_fixed_in_frame_mobjects(title)+ self.play(m.Write(title))++ floor = m.Square(+ side_length=4,+ color=m.GREY_B,+ stroke_width=1,+ fill_color=m.GREY_D,+ fill_opacity=0.3,+ )++ theta = m.ValueTracker(0.0)++ def make_face() -> m.VMobject:+ face = m.Square(+ side_length=1.4,+ color=m.BLUE,+ fill_color=m.BLUE,+ fill_opacity=0.6,+ stroke_width=2,+ )+ face.rotate(theta.get_value(), axis=np.array([1.0, 0.0, 0.0]))+ face.shift(m.OUT * 0.9)+ return face++ face = m.always_redraw(make_face)++ def make_shadow() -> m.VMobject:+ angle = theta.get_value()+ # face originally in xy plane with side 1.4 → after rotating about x by θ,+ # y-extent becomes 1.4 * cos(θ). Shadow on z=0 is rectangle 1.4 × 1.4 cos θ.+ w = 0.7+ h = 0.7 * abs(math.cos(angle))+ return m.Polygon(+ [-w, -h, 0.005],+ [w, -h, 0.005],+ [w, h, 0.005],+ [-w, h, 0.005],+ color=m.BLACK,+ fill_color=m.BLACK,+ fill_opacity=0.55,+ stroke_width=1.5,+ )++ shadow = m.always_redraw(make_shadow)++ self.play(m.Create(floor))+ self.add(face, shadow)+ self.play(+ theta.animate.set_value(math.pi / 3), run_time=2.5, rate_func=m.linear+ )+ self.play(+ theta.animate.set_value(math.pi / 2 - 0.05),+ run_time=2.0,+ rate_func=m.linear,+ )+ self.wait(1.0)diff --git a/tests/integration/cases/icosahedron_scene/case.json b/tests/integration/cases/icosahedron_scene/case.jsonnew file mode 100644index 00000000..c6772111--- /dev/null+++ b/tests/integration/cases/icosahedron_scene/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:e389bea5cac2da6f18645cbe054ce09803ce27a3d6cc7aaa7fac5838947bffa8",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["b77181cf41965c25", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:4c56382f9321a82c1e1b4b090ed2b855c08616a821bb4fbaf8e3ebcb7b5bed2a"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["5bcaae9b858063c7", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:a57132c9ed557f7a7e33755b7946fc8f12b53f42b2e67aee3282cbe706beddb2"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 124.45, 0.6, 5.8, 193.0],+ [1, 1, 124.45, 0.6, 5.8, 193.0],+ [2, 2, 124.45, 0.6, 5.8, 193.0],+ [3, 3, 124.45, 0.6, 5.8, 193.0],+ [4, 4, 124.45, 0.6, 5.8, 193.0],+ [5, 5, 124.45, 0.6, 5.8, 193.0],+ [6, 6, 124.45, 0.6, 5.8, 193.0],+ [7, 7, 124.45, 0.6, 5.8, 193.0],+ [8, 8, 124.45, 0.6, 5.8, 193.0],+ [9, 9, 124.45, 0.6, 5.8, 193.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/icosahedron_scene/ce.mkv.sha256 b/tests/integration/cases/icosahedron_scene/ce.mkv.sha256new file mode 100644index 00000000..d35d13c9--- /dev/null+++ b/tests/integration/cases/icosahedron_scene/ce.mkv.sha256@@ -0,0 +1 @@+375fc2f34c8d4510b76eacb100a7f2b37bb8c7e5ae908be6cb7c8e888f162b4b ce.mkvdiff --git a/tests/integration/cases/icosahedron_scene/manimgx.mkv.sha256 b/tests/integration/cases/icosahedron_scene/manimgx.mkv.sha256new file mode 100644index 00000000..b6b8edf9--- /dev/null+++ b/tests/integration/cases/icosahedron_scene/manimgx.mkv.sha256@@ -0,0 +1 @@+3d16af586378029c91a9cdf59024b3d73ffeab7c0a45478939b1c273efe9a9d7 manimgx.mkvdiff --git a/tests/integration/cases/icosahedron_scene/review.json b/tests/integration/cases/icosahedron_scene/review.jsonnew file mode 100644index 00000000..c066098c--- /dev/null+++ b/tests/integration/cases/icosahedron_scene/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:e389bea5cac2da6f18645cbe054ce09803ce27a3d6cc7aaa7fac5838947bffa8",+ "manimgx": "sha256:4c56382f9321a82c1e1b4b090ed2b855c08616a821bb4fbaf8e3ebcb7b5bed2a",+ "ce": "sha256:a57132c9ed557f7a7e33755b7946fc8f12b53f42b2e67aee3282cbe706beddb2",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/icosahedron_scene/scene.py b/tests/integration/cases/icosahedron_scene/scene.pynew file mode 100644index 00000000..a94bf143--- /dev/null+++ b/tests/integration/cases/icosahedron_scene/scene.py@@ -0,0 +1,10 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class IcosahedronScene(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ obj = m.Icosahedron()+ self.add(obj)+ self.wait()diff --git a/tests/integration/cases/octahedron_scene/case.json b/tests/integration/cases/octahedron_scene/case.jsonnew file mode 100644index 00000000..bffc6318--- /dev/null+++ b/tests/integration/cases/octahedron_scene/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:ec6319e6eea4f25443cb5ede2ab83f15c9674c3fbef57c26d398cc778d7f632f",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["4eb3557104f6ec2a", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:a80e238badc8424b24c6e2a0463a8b4c5e88d20b4dd817e4136dc2bd5c2c7e2b"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["e1df2c085724692b", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:5ed0aec625fe6bc3bf41f12001a33bd61acabec81b12c43c9c78342108eb9fbc"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 90.73, 0.17, 2.96, 228.0],+ [1, 1, 90.73, 0.17, 2.96, 228.0],+ [2, 2, 90.73, 0.17, 2.96, 228.0],+ [3, 3, 90.73, 0.17, 2.96, 228.0],+ [4, 4, 90.73, 0.17, 2.96, 228.0],+ [5, 5, 90.73, 0.17, 2.96, 228.0],+ [6, 6, 90.73, 0.17, 2.96, 228.0],+ [7, 7, 90.73, 0.17, 2.96, 228.0],+ [8, 8, 90.73, 0.17, 2.96, 228.0],+ [9, 9, 90.73, 0.17, 2.96, 228.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/octahedron_scene/ce.mkv.sha256 b/tests/integration/cases/octahedron_scene/ce.mkv.sha256new file mode 100644index 00000000..91c4a34c--- /dev/null+++ b/tests/integration/cases/octahedron_scene/ce.mkv.sha256@@ -0,0 +1 @@+134dfe2639d273264ad5c82fd787b7c10e08cad7c13847d9b0c94eacdfa86528 ce.mkvdiff --git a/tests/integration/cases/octahedron_scene/manimgx.mkv.sha256 b/tests/integration/cases/octahedron_scene/manimgx.mkv.sha256new file mode 100644index 00000000..74f1e51a--- /dev/null+++ b/tests/integration/cases/octahedron_scene/manimgx.mkv.sha256@@ -0,0 +1 @@+9d361cde880a481ec9c55c6482eff40d6e513be69172fb66c05dcf09ddf38c3d manimgx.mkvdiff --git a/tests/integration/cases/octahedron_scene/review.json b/tests/integration/cases/octahedron_scene/review.jsonnew file mode 100644index 00000000..88c9bd7a--- /dev/null+++ b/tests/integration/cases/octahedron_scene/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 11 frames; frame count, duration and timeline are unchanged. Largest changed area: 7 pixels/frame out of 518400; maximum channel delta 42/255; maximum frame RMSE 0.072039/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:ec6319e6eea4f25443cb5ede2ab83f15c9674c3fbef57c26d398cc778d7f632f",+ "manimgx": "sha256:a80e238badc8424b24c6e2a0463a8b4c5e88d20b4dd817e4136dc2bd5c2c7e2b",+ "ce": "sha256:5ed0aec625fe6bc3bf41f12001a33bd61acabec81b12c43c9c78342108eb9fbc",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/octahedron_scene/scene.py b/tests/integration/cases/octahedron_scene/scene.pynew file mode 100644index 00000000..dd6820e4--- /dev/null+++ b/tests/integration/cases/octahedron_scene/scene.py@@ -0,0 +1,10 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class OctahedronScene(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ obj = m.Octahedron()+ self.add(obj)+ self.wait()diff --git a/tests/integration/cases/polyhedron_sub_mobjects/case.json b/tests/integration/cases/polyhedron_sub_mobjects/case.jsonnew file mode 100644index 00000000..12a098cf--- /dev/null+++ b/tests/integration/cases/polyhedron_sub_mobjects/case.json@@ -0,0 +1,33 @@+{+ "source": "sha256:adc7365c9ff90e4ee307d22c9e60a2b4125c040908e02b287dd4551381818734",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 0.0,+ "frames": [+ ["53e8fcdfb6636bb2", 1]+ ],+ "timeline": [+ [0.0, 1]+ ],+ "id": "sha256:8b17694c728ab0fb30c016f4f695d8c392d4139026b4fd825ec9e147396392a4"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 0.0,+ "frames": [+ ["b192057f22c6f3ac", 1]+ ],+ "timeline": [+ [0.0, 1]+ ],+ "id": "sha256:0f33f2fc3322f96e94567a24c088ee4bd0533f4edf46ffe392aebbdcedbf2594"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 122.9, 1.11, 7.34, 229.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/polyhedron_sub_mobjects/ce.mkv.sha256 b/tests/integration/cases/polyhedron_sub_mobjects/ce.mkv.sha256new file mode 100644index 00000000..5b127c3f--- /dev/null+++ b/tests/integration/cases/polyhedron_sub_mobjects/ce.mkv.sha256@@ -0,0 +1 @@+700b67d9644479ed606594065cadc46638e312e2badd9c700782707003da0282 ce.mkvdiff --git a/tests/integration/cases/polyhedron_sub_mobjects/manimgx.mkv.sha256 b/tests/integration/cases/polyhedron_sub_mobjects/manimgx.mkv.sha256new file mode 100644index 00000000..7ab67ed1--- /dev/null+++ b/tests/integration/cases/polyhedron_sub_mobjects/manimgx.mkv.sha256@@ -0,0 +1 @@+9986c213f9375ba25aeb6f29600b95454ad8e71ec81af72f3de361811885e9d4 manimgx.mkvdiff --git a/tests/integration/cases/polyhedron_sub_mobjects/review.json b/tests/integration/cases/polyhedron_sub_mobjects/review.jsonnew file mode 100644index 00000000..de4d24d6--- /dev/null+++ b/tests/integration/cases/polyhedron_sub_mobjects/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:adc7365c9ff90e4ee307d22c9e60a2b4125c040908e02b287dd4551381818734",+ "manimgx": "sha256:8b17694c728ab0fb30c016f4f695d8c392d4139026b4fd825ec9e147396392a4",+ "ce": "sha256:0f33f2fc3322f96e94567a24c088ee4bd0533f4edf46ffe392aebbdcedbf2594",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/polyhedron_sub_mobjects/scene.py b/tests/integration/cases/polyhedron_sub_mobjects/scene.pynew file mode 100644index 00000000..c1c51140--- /dev/null+++ b/tests/integration/cases/polyhedron_sub_mobjects/scene.py@@ -0,0 +1,11 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class PolyhedronSubMobjects(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ octahedron = m.Octahedron(edge_length=3)+ octahedron.graph[0].set_color(m.RED)+ octahedron.faces[2].set_color(m.YELLOW)+ self.add(octahedron)diff --git a/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/case.json b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/case.jsonnew file mode 100644index 00000000..08468339--- /dev/null+++ b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/case.json@@ -0,0 +1,33 @@+{+ "source": "sha256:e1cf94fa0db590303e28a5d62cb9873dc5123d00ac2f1ce8c41616e64970df6c",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 0.1,+ "frames": [+ ["e0b0956451e7a199", 2]+ ],+ "timeline": [+ [0.0, 2]+ ],+ "id": "sha256:26eb3f5be61985e85a4792fb7031f6c5f313343d73bcae23de924f83191744a4"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 0.1,+ "frames": [+ ["62d4c687a348a5dc", 1]+ ],+ "timeline": [+ [0.0, 1]+ ],+ "id": "sha256:86d3010de932e7d633bfd43a4d5b73244b1bfb89ad166ac499b9efc927512961"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 81.61, 0.21, 2.99, 172.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/ce.mkv.sha256 b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/ce.mkv.sha256new file mode 100644index 00000000..9d3ea523--- /dev/null+++ b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/ce.mkv.sha256@@ -0,0 +1 @@+8462fe06da2fc5b6ba65db1f1099d3cceb491d16e9ac978cdfa741d5bb3cf2c1 ce.mkvdiff --git a/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/manimgx.mkv.sha256 b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/manimgx.mkv.sha256new file mode 100644index 00000000..e089bb2e--- /dev/null+++ b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/manimgx.mkv.sha256@@ -0,0 +1 @@+d95bf8317e795748d7a4da5ceff704f5ab3feaadc72af02fa8c95b32cdc836cb manimgx.mkvdiff --git a/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/review.json b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/review.jsonnew file mode 100644index 00000000..def8be45--- /dev/null+++ b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 2 frames; frame count, duration and timeline are unchanged. Largest changed area: 9 pixels/frame out of 518400; maximum channel delta 57/255; maximum frame RMSE 0.089767/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:e1cf94fa0db590303e28a5d62cb9873dc5123d00ac2f1ce8c41616e64970df6c",+ "manimgx": "sha256:26eb3f5be61985e85a4792fb7031f6c5f313343d73bcae23de924f83191744a4",+ "ce": "sha256:86d3010de932e7d633bfd43a4d5b73244b1bfb89ad166ac499b9efc927512961",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/scene.py b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/scene.pynew file mode 100644index 00000000..2497ed1a--- /dev/null+++ b/tests/integration/cases/polyhedron_update_faces_renamed_kwarg/scene.py@@ -0,0 +1,16 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class PolyhedronUpdateFacesRenamedKwarg(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ poly = m.Polyhedron(+ vertex_coords=[[1, 0, 0], [-1, 0, 0], [0, 1, 0], [0, -1, 0], [0, 0, 1]],+ faces_list=[[0, 2, 4], [1, 2, 4], [0, 3, 4], [1, 3, 4]],+ )+ # CE signature: ``update_faces(self, m)``. Passing ``poly`` rebuilds+ # the face submobjects from current graph vertex positions.+ poly.update_faces(poly)+ self.add(poly)+ self.wait(0.1)diff --git a/tests/integration/cases/quaternion_geodesic_interpolation/case.json b/tests/integration/cases/quaternion_geodesic_interpolation/case.jsonnew file mode 100644index 00000000..c3ef99a4--- /dev/null+++ b/tests/integration/cases/quaternion_geodesic_interpolation/case.json@@ -0,0 +1,206 @@+{+ "source": "sha256:88d373339bb5c533d67cf3c294c30e38c1f02aad33c237e5f18c35c6473ea778",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 7.0,+ "frames": [+ ["2e842802bccef91c", 1],+ ["ad62ce7e01d6f80d", 1],+ ["561c205a125e59a7", 1],+ ["54699e0c6189ef3c", 1],+ ["8c08628e2f2084ef", 1],+ ["2e7f779017520cc0", 1],+ ["28b4943cd379fa76", 1],+ ["5b45d16f7569f0b1", 1],+ ["faef910a7a19af0b", 1],+ ["c6ba1e9e2b16d034", 1],+ ["c29abdf38d51edbe", 1],+ ["2bc9efb75aadb39a", 1],+ ["b29fb6b32fa2a33e", 1],+ ["d27053044e3848dc", 1],+ ["e895329477418e57", 1],+ ["3a4c36f874cb08b2", 1],+ ["960bc7e386c71db4", 1],+ ["953d50cc146862d7", 1],+ ["69dfa20c1f8dbc63", 1],+ ["2ad5f5db908dc48c", 1],+ ["909ac27f091af635", 1],+ ["a6c7803b5ced8e93", 1],+ ["c309c96ffbc2036e", 1],+ ["cc448d0796d65a89", 1],+ ["ff0b34de1c46df6e", 1],+ ["dc952aeaa896afa3", 1],+ ["9643b28221857a3e", 1],+ ["fcb4fbb9ac3a57cd", 1],+ ["7462143d07d5343c", 1],+ ["97594f80e80a2b66", 1],+ ["eff664236bdc73ae", 1],+ ["e564a6f3d991d426", 1],+ ["2cacc655c946bcdd", 1],+ ["67738bf66f3d281d", 1],+ ["f76e8b132826f29f", 1],+ ["46ae2adb65d7d0c8", 1],+ ["0d4600ea4e2c93d4", 1],+ ["2430140c0b0111c1", 1],+ ["58e0ded7d07191bf", 1],+ ["40b1af0420254f7f", 1],+ ["41e9eb6197b52b10", 1],+ ["cbd510daec874238", 1],+ ["34bd49f2f48bf45d", 1],+ ["545bee50be114776", 1],+ ["6a49d12c93d4c9e0", 1],+ ["a2496411fc521ddc", 1],+ ["c03eb5f047fbc406", 1],+ ["dfdfa4f755bc3a78", 1],+ ["5b7b381642278b56", 1],+ ["7d376a26badf3310", 1],+ ["501fb07b734f37dd", 21]+ ],+ "timeline": [+ [0.0, 71]+ ],+ "id": "sha256:25f63edad6fd0f80c0ef4b7b1884c37ebee014262deed88461f57bae12e7c601"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 7.0,+ "frames": [+ ["2e842802bccef91c", 1],+ ["5584023dc8180958", 1],+ ["b5de80ddea5d6860", 1],+ ["9ed7401afe9c5f57", 1],+ ["83937fb847f614c3", 1],+ ["9d6bf586fb560467", 1],+ ["45e007dd683e927f", 1],+ ["cfa79051bab78510", 1],+ ["2c22950addeafa29", 1],+ ["e7da8d68060e59a6", 1],+ ["5afadbb837731353", 1],+ ["e4538f17ed9e420d", 1],+ ["da9314c6ca707cfe", 1],+ ["139f8403624cd347", 1],+ ["b3a96b6116c3ac2b", 1],+ ["d49ed95a6e3f6501", 1],+ ["3ca5e46de1e72f23", 1],+ ["816d16fe33e3ff45", 1],+ ["75a98bd647a58cdb", 1],+ ["289e394b323204ea", 1],+ ["0a0a6a5491934f6e", 1],+ ["85b37de0b251f60b", 1],+ ["82114b65ed972cde", 1],+ ["e4401c22e720ee1c", 1],+ ["37ce3f7c11f5e6a8", 1],+ ["b4c685f83bd3f652", 1],+ ["37cc9436c12ec4d0", 1],+ ["ee45233d1db95eeb", 1],+ ["325442aeac6267f3", 1],+ ["a8f6d719ac8259b0", 1],+ ["0e825a04beee0581", 1],+ ["41ffedcb0c08c3df", 1],+ ["c232910e9d28ab51", 1],+ ["58b3d0b63e3078be", 1],+ ["5f6e060f5a9f5f9f", 1],+ ["32578efd2ad164b7", 1],+ ["b5f8dc2f06a3f58e", 1],+ ["f732c85ebe5090e9", 1],+ ["10b1974ab7c0ec0b", 1],+ ["fdd72c8b90379747", 1],+ ["fee1e33691d91990", 1],+ ["b20187adf286bd6a", 1],+ ["b1e5fdb1da250eff", 1],+ ["fdf2cd331a4837fb", 1],+ ["81401a9c11e7fd60", 1],+ ["dfa03605ea0425e1", 1],+ ["3261e64aebc32c2d", 1],+ ["79eb2d0c56bf0e46", 1],+ ["00adff3d4579d3f3", 1],+ ["bd82e0fef0dfa277", 1],+ ["8d05c2affbbfea21", 20]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 10],+ [3.0, 10],+ [4.0, 10],+ [5.0, 20]+ ],+ "id": "sha256:5a78289ff2cf8986eea64cf0eb325e5ad364fed8dd466c0559522e4e6f936228"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 107.0, 0.07, 3.65, 255.0],+ [2, 2, 136.57, 0.16, 5.09, 255.0],+ [3, 3, 139.12, 0.2, 5.48, 255.0],+ [4, 4, 118.49, 0.21, 5.54, 255.0],+ [5, 5, 132.51, 0.25, 5.95, 255.0],+ [6, 6, 118.63, 0.27, 6.06, 255.0],+ [7, 7, 139.12, 0.3, 6.39, 255.0],+ [8, 8, 121.63, 0.31, 6.31, 255.0],+ [9, 9, 105.78, 0.3, 6.07, 255.0],+ [10, 10, 100.41, 0.33, 6.45, 255.0],+ [11, 11, 112.24, 0.34, 6.66, 255.0],+ [12, 12, 129.43, 0.39, 7.05, 255.0],+ [13, 13, 108.0, 0.38, 6.56, 255.0],+ [14, 14, 151.76, 0.43, 7.1, 255.0],+ [15, 15, 132.96, 0.44, 7.08, 255.0],+ [16, 16, 138.22, 0.5, 7.72, 255.0],+ [17, 17, 150.14, 0.54, 8.08, 255.0],+ [18, 18, 118.39, 0.48, 7.31, 255.0],+ [19, 19, 93.98, 0.48, 7.25, 251.0],+ [20, 20, 93.98, 0.5, 7.4, 251.0],+ [21, 21, 105.0, 0.53, 7.65, 252.0],+ [22, 22, 137.96, 0.56, 7.86, 252.0],+ [23, 23, 134.53, 0.58, 8.01, 252.0],+ [24, 24, 134.53, 0.6, 8.16, 252.0],+ [25, 25, 140.18, 0.6, 8.15, 252.0],+ [26, 26, 120.04, 0.59, 7.97, 252.0],+ [27, 27, 110.22, 0.57, 7.85, 252.0],+ [28, 28, 93.98, 0.57, 7.81, 251.0],+ [29, 29, 99.04, 0.57, 7.81, 252.0],+ [30, 30, 130.61, 0.57, 7.87, 252.0],+ [31, 31, 130.61, 0.58, 7.91, 252.0],+ [32, 32, 130.61, 0.59, 8.04, 252.0],+ [33, 33, 130.61, 0.59, 8.02, 252.0],+ [34, 34, 130.61, 0.59, 8.0, 252.0],+ [35, 35, 130.61, 0.6, 8.06, 252.0],+ [36, 36, 130.61, 0.6, 8.06, 252.0],+ [37, 37, 130.61, 0.6, 7.95, 252.0],+ [38, 38, 130.61, 0.6, 7.95, 252.0],+ [39, 39, 130.61, 0.59, 7.9, 252.0],+ [40, 40, 130.61, 0.59, 7.89, 252.0],+ [41, 41, 130.61, 0.61, 8.06, 252.0],+ [42, 42, 130.61, 0.63, 8.16, 252.0],+ [43, 43, 130.61, 0.64, 8.19, 252.0],+ [44, 44, 130.61, 0.64, 8.17, 252.0],+ [45, 45, 130.61, 0.66, 8.26, 252.0],+ [46, 46, 130.61, 0.66, 8.29, 252.0],+ [47, 47, 130.61, 0.67, 8.32, 252.0],+ [48, 48, 130.61, 0.67, 8.31, 252.0],+ [49, 49, 130.61, 0.66, 8.22, 252.0],+ [50, 50, 130.61, 0.66, 8.2, 252.0],+ [51, 51, 130.61, 0.66, 8.2, 252.0],+ [52, 52, 130.61, 0.66, 8.2, 252.0],+ [53, 53, 130.61, 0.66, 8.2, 252.0],+ [54, 54, 130.61, 0.66, 8.2, 252.0],+ [55, 55, 130.61, 0.66, 8.2, 252.0],+ [56, 56, 130.61, 0.66, 8.2, 252.0],+ [57, 57, 130.61, 0.66, 8.2, 252.0],+ [58, 58, 130.61, 0.66, 8.2, 252.0],+ [59, 59, 130.61, 0.66, 8.2, 252.0],+ [60, 60, 130.61, 0.66, 8.2, 252.0],+ [61, 61, 130.61, 0.66, 8.2, 252.0],+ [62, 62, 130.61, 0.66, 8.2, 252.0],+ [63, 63, 130.61, 0.66, 8.2, 252.0],+ [64, 64, 130.61, 0.66, 8.2, 252.0],+ [65, 65, 130.61, 0.66, 8.2, 252.0],+ [66, 66, 130.61, 0.66, 8.2, 252.0],+ [67, 67, 130.61, 0.66, 8.2, 252.0],+ [68, 68, 130.61, 0.66, 8.2, 252.0],+ [69, 69, 130.61, 0.66, 8.2, 252.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/quaternion_geodesic_interpolation/ce.mkv.sha256 b/tests/integration/cases/quaternion_geodesic_interpolation/ce.mkv.sha256new file mode 100644index 00000000..50a2b800--- /dev/null+++ b/tests/integration/cases/quaternion_geodesic_interpolation/ce.mkv.sha256@@ -0,0 +1 @@+173d3530d3d71c63d4d959571e036b884857196440e1e28c6fa0a77f700afead ce.mkvdiff --git a/tests/integration/cases/quaternion_geodesic_interpolation/manimgx.mkv.sha256 b/tests/integration/cases/quaternion_geodesic_interpolation/manimgx.mkv.sha256new file mode 100644index 00000000..98181a2a--- /dev/null+++ b/tests/integration/cases/quaternion_geodesic_interpolation/manimgx.mkv.sha256@@ -0,0 +1 @@+09b727b5e6006eb7c34745f9e5759aeccf929cea61681ddb81f7134ebea01c3f manimgx.mkvdiff --git a/tests/integration/cases/quaternion_geodesic_interpolation/review.json b/tests/integration/cases/quaternion_geodesic_interpolation/review.jsonnew file mode 100644index 00000000..20ee3bcc--- /dev/null+++ b/tests/integration/cases/quaternion_geodesic_interpolation/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:88d373339bb5c533d67cf3c294c30e38c1f02aad33c237e5f18c35c6473ea778",+ "manimgx": "sha256:25f63edad6fd0f80c0ef4b7b1884c37ebee014262deed88461f57bae12e7c601",+ "ce": "sha256:5a78289ff2cf8986eea64cf0eb325e5ad364fed8dd466c0559522e4e6f936228",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/quaternion_geodesic_interpolation/scene.py b/tests/integration/cases/quaternion_geodesic_interpolation/scene.pynew file mode 100644index 00000000..c807cbe4--- /dev/null+++ b/tests/integration/cases/quaternion_geodesic_interpolation/scene.py@@ -0,0 +1,55 @@+import math++import numpy as np++import manimgx as m++R = 2.5+++class TeacherScene(m.Scene):+ def construct(self) -> None:+ title = (+ m.Tex("Geodesic interpolation (SLERP) on a sphere")+ .scale(0.85)+ .to_edge(m.UP, buff=0.3)+ )+ self.play(m.Write(title))++ circle = m.Circle(radius=R, color=m.WHITE, stroke_width=2)+ self.add(circle)++ p1 = R * np.array([math.cos(0.3), math.sin(0.3), 0.0])+ p2 = R * np.array([math.cos(2.5), math.sin(2.5), 0.0])+ p1_dot = m.Dot(p1, color=m.GREEN, radius=0.1)+ p2_dot = m.Dot(p2, color=m.RED, radius=0.1)+ p1_label = m.MathTex("q_1", color=m.GREEN).next_to(p1_dot, m.UR, buff=0.1)+ p2_label = m.MathTex("q_2", color=m.RED).next_to(p2_dot, m.UL, buff=0.1)+ self.play(+ m.FadeIn(p1_dot), m.FadeIn(p2_dot), m.Write(p1_label), m.Write(p2_label)+ )++ chord = m.Line(p1, p2, color=m.YELLOW, stroke_width=2)+ chord_label = (+ m.Tex("linear (chord)", color=m.YELLOW)+ .scale(0.5)+ .next_to(+ chord.get_center(),+ m.DOWN,+ buff=0.15,+ )+ )+ self.play(m.Create(chord), m.Write(chord_label))++ arc = m.ArcBetweenPoints(p1, p2, radius=R, color=m.BLUE, stroke_width=3)+ arc_label = (+ m.Tex("geodesic (arc)", color=m.BLUE)+ .scale(0.5)+ .next_to(+ arc,+ m.UP,+ buff=0.2,+ )+ )+ self.play(m.Create(arc), m.Write(arc_label))+ self.wait(2.0)diff --git a/tests/integration/cases/quaternion_intro_4d_algebra/case.json b/tests/integration/cases/quaternion_intro_4d_algebra/case.jsonnew file mode 100644index 00000000..54dbcbda--- /dev/null+++ b/tests/integration/cases/quaternion_intro_4d_algebra/case.json@@ -0,0 +1,262 @@+{+ "source": "sha256:f362679d819b0003aa167856c737e655c535a2a0a8ed0e7a127aa5c6f49ddead",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 9.2,+ "frames": [+ ["2e842802bccef91c", 1],+ ["c4e54e4aa3b6a9de", 1],+ ["6026eeb81130ce29", 1],+ ["7d5d39fe5f6369ef", 1],+ ["b4410d948c8cba66", 1],+ ["a809b954ceb933b5", 1],+ ["6da961a9a723698f", 1],+ ["44a9e32a312ca1c7", 1],+ ["a0f90ee39755b808", 1],+ ["3c1d77a60dc19ab7", 1],+ ["a0dc09a02ba9f3dc", 1],+ ["7ef07261ef44f45a", 1],+ ["91c25ba964e1981c", 1],+ ["8f7d1ee2c771b673", 1],+ ["428a1a248f73c7f0", 1],+ ["9b49c758ead0319e", 1],+ ["6b9e69662a4cd037", 1],+ ["78e030a73acb6717", 1],+ ["313327964447486d", 1],+ ["a4bfa162043cb9cb", 1],+ ["7fbd828a92d022e5", 1],+ ["fe4ff78f0d95f63b", 1],+ ["de520e3bf838ee11", 1],+ ["56bf32af4640246f", 1],+ ["8fb0fc58ff7b37ea", 1],+ ["d542ad80a84ba50d", 1],+ ["08e1220c1a68f371", 3],+ ["1d7e3ee5baf60d5f", 1],+ ["13d6e119cefbb9d6", 1],+ ["08586376b83ac87c", 1],+ ["683ed8a6abf0869b", 1],+ ["0f5e2be8cd144b44", 1],+ ["b8babb4120331509", 3],+ ["e3d99a742b240eca", 1],+ ["cef48847d853ecb6", 1],+ ["90ff144f1f4cf703", 1],+ ["061213bf73693b2a", 1],+ ["1a0cdf59e733b06f", 1],+ ["2243c55e4250d3de", 3],+ ["77e65b9bfd7451e7", 1],+ ["d465a5bbf23d623f", 1],+ ["c77ca9335693ebb5", 1],+ ["b6c7eff45e6ca049", 1],+ ["a15dd8d42c8390d4", 1],+ ["549262303721efdc", 3],+ ["f01df604dcf3d171", 1],+ ["fc37167320e0340a", 1],+ ["cf3d4480c937828b", 1],+ ["101ef68ef870f31c", 1],+ ["17058fda054c462a", 1],+ ["d100896e737e20fc", 1],+ ["9f63c7d58d60165a", 1],+ ["1431820931712d6e", 1],+ ["f8e5322f121c4396", 1],+ ["0014ba35e73839e7", 1],+ ["49186c9c7da30ec5", 1],+ ["9c065a9f854e7c24", 1],+ ["c3035e8f7ab45881", 1],+ ["eb479df6c516a542", 1],+ ["a635c4c2619f20a2", 1],+ ["f679bf78bc71956a", 1],+ ["fda7c73a1a6d442a", 1],+ ["7051ced77eb04780", 1],+ ["5aa4eb3c9231aeac", 1],+ ["ad9cbfaae0ad9dbb", 21]+ ],+ "timeline": [+ [0.0, 93]+ ],+ "id": "sha256:09c9003f817e7f90171c857e1bbb1de7dad81f0c1eb9793642206df1b42faa17"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 9.2,+ "frames": [+ ["2e842802bccef91c", 1],+ ["805eefdc5aa5dad6", 1],+ ["ee29bb08bb3e18bf", 1],+ ["66cb9e8f2be29a0c", 1],+ ["2f53e3bf553d7caf", 1],+ ["1c65528771907cd7", 1],+ ["a54e96eebffcdd0d", 1],+ ["fd6bdc483b295774", 1],+ ["8ef04c0662bb3c73", 1],+ ["253f08bbadce213f", 1],+ ["ac03134e7537e639", 1],+ ["ffc9730bd618231a", 1],+ ["9b648122e1e6c8d7", 1],+ ["af1d864eda3a148e", 1],+ ["204f89cec97dc187", 1],+ ["59894a906505da5b", 1],+ ["bc5a482f57a4b84b", 1],+ ["6301b7754be5c635", 1],+ ["63d3bcf133aedd59", 1],+ ["61b6b7ab73075ac1", 1],+ ["e98c4b4a7dc4901c", 1],+ ["58e839c4bd0af400", 1],+ ["b99a8fef77b85073", 1],+ ["10454196307a484e", 1],+ ["d2ce8e97abaf65d4", 1],+ ["1ca64cf52a09ca74", 1],+ ["3313c5220a21b3ee", 3],+ ["31659c1d03c8cc51", 1],+ ["cc23f93c39625f94", 1],+ ["eb07bc8ed8eeb91b", 1],+ ["fd0c4e70c514938e", 1],+ ["404dcea504e67e8f", 1],+ ["d9a2767b776b4abf", 3],+ ["230d14b3faf68048", 1],+ ["569c0a33e0f9109c", 1],+ ["391f85eb397214df", 1],+ ["dbe2a2b945853bee", 1],+ ["0d3ad9c3e79c15cd", 1],+ ["a44e1598a101e718", 3],+ ["032c77cd1c26de79", 1],+ ["2dd8728fb9808f03", 1],+ ["5a817a14d2f96b6e", 1],+ ["f2f9c9aab3e1daac", 1],+ ["824ce1a73a914a51", 1],+ ["2f6786ae5d136832", 3],+ ["e8b30855c9fdd8d5", 1],+ ["ae46dd07ec761a8a", 1],+ ["5f27cea49131d18f", 1],+ ["995f5b6ec9a20730", 1],+ ["38769a684c1954cf", 1],+ ["189af67f9999777a", 1],+ ["baf4f754acb5371e", 1],+ ["fb22de251677aa31", 1],+ ["cf1d58629f5dc71e", 1],+ ["2552bfbd11261e3e", 1],+ ["65d709ca6b45eddb", 1],+ ["9348b5f67dec03eb", 1],+ ["f87b78d2757c958d", 1],+ ["aaa915ca3924ea1c", 1],+ ["eed04d1e5b28997b", 1],+ ["0677a7439d0ca0a5", 1],+ ["715237afb5704857", 1],+ ["cba654b000f9b46d", 1],+ ["4db22209f2143e41", 1],+ ["db56b0e5f85b1b9d", 20]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 6],+ [2.6, 2],+ [2.8, 6],+ [3.4, 2],+ [3.6, 6],+ [4.2, 2],+ [4.4, 6],+ [5.0, 2],+ [5.2, 20],+ [7.2, 20]+ ],+ "id": "sha256:932a045a137f50de48d919f565a8e07243a6a6c01ded32fa29514991c79f0a08"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 106.92, 0.05, 2.98, 255.0],+ [2, 2, 142.43, 0.18, 5.53, 255.0],+ [3, 3, 133.45, 0.18, 5.03, 255.0],+ [4, 4, 117.86, 0.19, 5.08, 255.0],+ [5, 5, 124.71, 0.2, 5.3, 255.0],+ [6, 6, 105.59, 0.22, 5.45, 255.0],+ [7, 7, 126.63, 0.21, 5.14, 255.0],+ [8, 8, 142.8, 0.24, 5.58, 255.0],+ [9, 9, 142.37, 0.26, 5.88, 255.0],+ [10, 10, 101.76, 0.21, 4.9, 255.0],+ [11, 11, 116.2, 0.22, 4.95, 255.0],+ [12, 12, 100.86, 0.25, 5.29, 255.0],+ [13, 13, 142.47, 0.3, 6.04, 255.0],+ [14, 14, 112.31, 0.31, 5.94, 255.0],+ [15, 15, 110.49, 0.31, 5.67, 255.0],+ [16, 16, 106.96, 0.35, 6.22, 255.0],+ [17, 17, 117.53, 0.35, 6.2, 255.0],+ [18, 18, 106.71, 0.34, 5.81, 214.0],+ [19, 19, 92.73, 0.32, 5.56, 210.0],+ [20, 20, 92.73, 0.32, 5.63, 207.0],+ [21, 21, 111.78, 0.38, 6.49, 255.0],+ [22, 22, 92.88, 0.37, 6.26, 255.0],+ [23, 23, 92.73, 0.35, 5.9, 255.0],+ [24, 24, 92.73, 0.36, 5.89, 240.0],+ [25, 25, 92.73, 0.34, 5.68, 207.0],+ [26, 26, 92.73, 0.34, 5.67, 207.0],+ [27, 27, 92.73, 0.34, 5.67, 207.0],+ [28, 28, 92.73, 0.34, 5.67, 207.0],+ [29, 29, 120.82, 0.39, 6.24, 221.0],+ [30, 30, 92.73, 0.37, 5.88, 221.0],+ [31, 31, 92.73, 0.39, 6.02, 255.0],+ [32, 32, 92.73, 0.41, 6.19, 255.0],+ [33, 33, 92.73, 0.39, 5.88, 221.0],+ [34, 34, 92.73, 0.39, 5.86, 207.0],+ [35, 35, 92.73, 0.39, 5.86, 207.0],+ [36, 36, 92.73, 0.39, 5.86, 207.0],+ [37, 37, 92.73, 0.41, 6.07, 207.0],+ [38, 38, 140.53, 0.49, 7.29, 255.0],+ [39, 39, 149.76, 0.53, 7.58, 255.0],+ [40, 40, 144.98, 0.62, 8.7, 255.0],+ [41, 41, 135.35, 0.59, 8.21, 255.0],+ [42, 42, 135.35, 0.58, 8.24, 255.0],+ [43, 43, 135.35, 0.58, 8.24, 255.0],+ [44, 44, 135.35, 0.58, 8.24, 255.0],+ [45, 45, 135.35, 0.64, 8.6, 255.0],+ [46, 46, 135.35, 0.64, 8.59, 255.0],+ [47, 47, 135.35, 0.69, 8.85, 255.0],+ [48, 48, 135.35, 0.73, 9.11, 255.0],+ [49, 49, 135.35, 0.78, 9.37, 255.0],+ [50, 50, 135.35, 0.74, 9.0, 255.0],+ [51, 51, 135.35, 0.74, 9.0, 255.0],+ [52, 52, 135.35, 0.74, 9.0, 255.0],+ [53, 53, 135.35, 0.75, 9.14, 255.0],+ [54, 54, 135.35, 0.78, 9.31, 255.0],+ [55, 55, 159.49, 0.8, 9.51, 255.0],+ [56, 56, 141.35, 0.82, 9.58, 255.0],+ [57, 57, 135.35, 0.83, 9.62, 255.0],+ [58, 58, 135.35, 0.86, 9.89, 255.0],+ [59, 59, 139.18, 0.88, 10.05, 255.0],+ [60, 60, 139.18, 0.9, 10.09, 255.0],+ [61, 61, 139.18, 0.9, 10.11, 255.0],+ [62, 62, 139.18, 0.9, 10.11, 255.0],+ [63, 63, 139.18, 0.91, 10.12, 255.0],+ [64, 64, 139.18, 0.94, 10.35, 255.0],+ [65, 65, 139.18, 0.97, 10.54, 255.0],+ [66, 66, 139.18, 0.96, 10.42, 255.0],+ [67, 67, 139.18, 0.96, 10.38, 255.0],+ [68, 68, 139.18, 0.96, 10.41, 255.0],+ [69, 69, 139.18, 0.96, 10.44, 255.0],+ [70, 70, 139.18, 0.96, 10.41, 255.0],+ [71, 71, 139.18, 0.95, 10.33, 255.0],+ [72, 72, 139.18, 0.96, 10.38, 255.0],+ [73, 73, 139.18, 0.96, 10.38, 255.0],+ [74, 74, 139.18, 0.96, 10.38, 255.0],+ [75, 75, 139.18, 0.96, 10.38, 255.0],+ [76, 76, 139.18, 0.96, 10.38, 255.0],+ [77, 77, 139.18, 0.96, 10.38, 255.0],+ [78, 78, 139.18, 0.96, 10.38, 255.0],+ [79, 79, 139.18, 0.96, 10.38, 255.0],+ [80, 80, 139.18, 0.96, 10.38, 255.0],+ [81, 81, 139.18, 0.96, 10.38, 255.0],+ [82, 82, 139.18, 0.96, 10.38, 255.0],+ [83, 83, 139.18, 0.96, 10.38, 255.0],+ [84, 84, 139.18, 0.96, 10.38, 255.0],+ [85, 85, 139.18, 0.96, 10.38, 255.0],+ [86, 86, 139.18, 0.96, 10.38, 255.0],+ [87, 87, 139.18, 0.96, 10.38, 255.0],+ [88, 88, 139.18, 0.96, 10.38, 255.0],+ [89, 89, 139.18, 0.96, 10.38, 255.0],+ [90, 90, 139.18, 0.96, 10.38, 255.0],+ [91, 91, 139.18, 0.96, 10.38, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/quaternion_intro_4d_algebra/ce.mkv.sha256 b/tests/integration/cases/quaternion_intro_4d_algebra/ce.mkv.sha256new file mode 100644index 00000000..fe98ba43--- /dev/null+++ b/tests/integration/cases/quaternion_intro_4d_algebra/ce.mkv.sha256@@ -0,0 +1 @@+f3b5a2e1c4ab39678b0d1a8efdf3fe0413fc7ec0bc88305b2dbe39f255d3c670 ce.mkvdiff --git a/tests/integration/cases/quaternion_intro_4d_algebra/manimgx.mkv.sha256 b/tests/integration/cases/quaternion_intro_4d_algebra/manimgx.mkv.sha256new file mode 100644index 00000000..3096335b--- /dev/null+++ b/tests/integration/cases/quaternion_intro_4d_algebra/manimgx.mkv.sha256@@ -0,0 +1 @@+eef6f443790e42bcca0db0693e259ac7ed338baab45942887d4e2e9375406684 manimgx.mkvdiff --git a/tests/integration/cases/quaternion_intro_4d_algebra/review.json b/tests/integration/cases/quaternion_intro_4d_algebra/review.jsonnew file mode 100644index 00000000..e4ac3e44--- /dev/null+++ b/tests/integration/cases/quaternion_intro_4d_algebra/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:f362679d819b0003aa167856c737e655c535a2a0a8ed0e7a127aa5c6f49ddead",+ "manimgx": "sha256:09c9003f817e7f90171c857e1bbb1de7dad81f0c1eb9793642206df1b42faa17",+ "ce": "sha256:932a045a137f50de48d919f565a8e07243a6a6c01ded32fa29514991c79f0a08",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/quaternion_intro_4d_algebra/scene.py b/tests/integration/cases/quaternion_intro_4d_algebra/scene.pynew file mode 100644index 00000000..0ec1787e--- /dev/null+++ b/tests/integration/cases/quaternion_intro_4d_algebra/scene.py@@ -0,0 +1,39 @@+import manimgx as m++ENTRIES = [+ ("Real", "a", m.WHITE, "1D"),+ ("Complex", "a + b\\,i", m.BLUE, "2D"),+ ("Vec3", "(a,\\ b,\\ c)", m.GREEN, "3D"),+ ("Quaternion", "a + b\\,i + c\\,j + d\\,k", m.YELLOW, "4D"),+]+X_POS = [-5.0, -1.7, 1.5, 5.0]+++class TeacherScene(m.Scene):+ def construct(self) -> None:+ title = m.Tex("Number systems by dimension").to_edge(m.UP, buff=0.4)+ self.play(m.Write(title))++ for x, (name, formula, color, dim) in zip(X_POS, ENTRIES):+ grp = (+ m.VGroup(+ m.Tex(name, color=color).scale(0.9),+ m.MathTex(formula).scale(0.85),+ m.Tex(dim, color=color).scale(0.7),+ )+ .arrange(m.DOWN, buff=0.4)+ .move_to([x, 0.2, 0])+ )+ self.play(m.Write(grp), run_time=0.6)+ self.wait(0.2)++ rules = (+ m.MathTex(+ "i^2 = j^2 = k^2 = ijk = -1",+ color=m.YELLOW,+ )+ .scale(0.95)+ .to_edge(m.DOWN, buff=0.7)+ )+ self.play(m.Write(rules))+ self.wait(2.0)diff --git a/tests/integration/cases/quaternion_multiplication_breakdown/case.json b/tests/integration/cases/quaternion_multiplication_breakdown/case.jsonnew file mode 100644index 00000000..44b1a088--- /dev/null+++ b/tests/integration/cases/quaternion_multiplication_breakdown/case.json@@ -0,0 +1,296 @@+{+ "source": "sha256:389bd3cf9a26fba1136b07dbe3d276cf211b30929fbe7200ac6cc36472b81d06",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 10.0,+ "frames": [+ ["2e842802bccef91c", 1],+ ["a02231512982c9a9", 1],+ ["32a6c7224772a601", 1],+ ["b529d2db1f86b976", 1],+ ["a70f01625cafccca", 1],+ ["7a760f759efc6251", 1],+ ["a638fbe6e00260c0", 1],+ ["7fd4a8e849086db5", 1],+ ["aebe486d1a2b2367", 1],+ ["864396038e4d65a2", 1],+ ["156433940ef3185c", 1],+ ["e23035a5fd624ea3", 1],+ ["70fcb8f26ca3388b", 1],+ ["f5426848046923e3", 1],+ ["80844abe1b7c13f3", 1],+ ["f8310ad8dfdf40ad", 1],+ ["01533a6f8235ae2e", 1],+ ["338ef52bdbb8d358", 1],+ ["7c58c32b575272dd", 1],+ ["f05fe9fcf7ebb28f", 1],+ ["f267372632eaa46f", 1],+ ["e6d93e790d798ce8", 1],+ ["df4bece6d7aaee63", 1],+ ["5b94391341735069", 1],+ ["3ce39fbff38181f7", 1],+ ["3c4f596b5143936f", 1],+ ["404b2e68d516dda3", 1],+ ["ae8825595b076c56", 1],+ ["eec78f8718641cd7", 1],+ ["19e187ae032c6dca", 1],+ ["cd80df052f931cf7", 1],+ ["5252d3190af89ec9", 1],+ ["27e9febbd1408328", 1],+ ["d658ed98ba30ce5a", 1],+ ["04d0ffa301e681ea", 1],+ ["a72bfb6730f4cc2c", 1],+ ["65093346144afba0", 1],+ ["4e5dcfb68ccab26a", 1],+ ["29f1327cb982c0a8", 1],+ ["889d5d8ed2284e52", 1],+ ["cf6607ea0b5912aa", 1],+ ["486a732772e8fcbe", 1],+ ["4d73d91d96fda7b3", 1],+ ["f278c9ee7e3a2638", 1],+ ["615d412b14354b67", 1],+ ["cec96311248ed031", 1],+ ["99dbe9a706e086bb", 1],+ ["d8f344e38112baca", 1],+ ["0c1fe61dd38f8281", 1],+ ["345ef42931fb01ce", 1],+ ["37a70ff5c48640a7", 1],+ ["b32a9bed18b6c5c0", 1],+ ["a3f6adebeabfd92c", 1],+ ["3f72e0de8dc7fedf", 1],+ ["4568153532be7332", 1],+ ["5b236e76d33ecfc3", 1],+ ["d991ca3179099795", 1],+ ["3e8083d8e195bd31", 1],+ ["e101e35d6e5c4bab", 1],+ ["ac3b664092506a25", 1],+ ["52a474dad9b2c15f", 1],+ ["1e3dcf5075838936", 1],+ ["9563b1c8d5747dac", 1],+ ["e69c86e43e59ccc1", 1],+ ["fddf47e9595fa7aa", 1],+ ["71ee12a2f34899aa", 1],+ ["e5fc6908094479a5", 1],+ ["7d72bd8263883996", 1],+ ["c95cfe4b6cc0bf76", 1],+ ["fec08056593a4d99", 1],+ ["8f1647dd3906d31c", 1],+ ["6b9ceb6f9f899d2b", 1],+ ["b193a284a135f4c2", 1],+ ["da61de9bf9182fd2", 1],+ ["ffd129e6331ac610", 1],+ ["d42244e60a9fc047", 1],+ ["100b255ab8faf40d", 1],+ ["d042540982cb7e2d", 1],+ ["d10b7042da361b2d", 1],+ ["f341cee74dc3bcd3", 1],+ ["f626dbe18ae36ad5", 21]+ ],+ "timeline": [+ [0.0, 101]+ ],+ "id": "sha256:a43f01fab9195d2a48f77732657b07f8fc53b18aa3fa74eb992f128d7f459255"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 10.0,+ "frames": [+ ["2e842802bccef91c", 1],+ ["914c8992f17981e4", 1],+ ["5b7d08950374dd1f", 1],+ ["8cdb1c6efcc83bd5", 1],+ ["7e93ef4712ac5f65", 1],+ ["17006aa5bed41323", 1],+ ["942321039538668f", 1],+ ["b798fcbcdd90ea33", 1],+ ["011b3f8bdc3aadc1", 1],+ ["8629dbfa76864aed", 1],+ ["b045f77ce5d3efb6", 1],+ ["b036e301c1e970a5", 1],+ ["403c2085a7e2f223", 1],+ ["f60247cf1a7a8f61", 1],+ ["6866954553da97b8", 1],+ ["a4d19443690aaf70", 1],+ ["bfdbadea408728ba", 1],+ ["7fd5ebd82b87afa3", 1],+ ["3dd2e3714070c1d5", 1],+ ["5536ea702e5ecde2", 1],+ ["5fed3b9d65e79fa4", 1],+ ["4711383bbb39e1fc", 1],+ ["46b12d3e34ccf77c", 1],+ ["6c0e820db0bd72ea", 1],+ ["bd2c59b841ccc592", 1],+ ["4880fc410e8994ac", 1],+ ["3c8ce88e0c20b2c6", 1],+ ["84d22478109a1ecc", 1],+ ["6846a896ad2184c2", 1],+ ["ab67267f5b3816d5", 1],+ ["ac2ba375e73bd64f", 1],+ ["80e6f8c7159753ed", 1],+ ["41d45190a3b5904d", 1],+ ["62a2a8e5972b808f", 1],+ ["f67aafc77f4fb066", 1],+ ["7410b16da527f175", 1],+ ["b7a1514ce56405ea", 1],+ ["05edcefdc6e20d43", 1],+ ["16a86fbf8e7ed58e", 1],+ ["902d03614d5aab9f", 1],+ ["c59efad6dc8b6481", 1],+ ["da6e1d3819f25331", 1],+ ["10594613d2b2100a", 1],+ ["8ab59166d3d3ef1f", 1],+ ["b65ff917dde001a8", 1],+ ["44241e110b0b1aa2", 1],+ ["6557b14749bfe7eb", 1],+ ["9db1b161938dca70", 1],+ ["68263b09c753e732", 1],+ ["aeb59b2ffbea0b19", 1],+ ["fd73a35b5966ad21", 1],+ ["db2f591b60a2dc4f", 1],+ ["e4960c11cb8f2854", 1],+ ["14a55be645c7f295", 1],+ ["2f45dcffbeecbd71", 1],+ ["57e7e3990461ce06", 1],+ ["3e455fdc4c5b2696", 1],+ ["3c71c825c210bcbc", 1],+ ["4f26012e61d719c7", 1],+ ["834b63d80e754ce0", 1],+ ["ce7d0270fd612506", 1],+ ["047e6c0251cc6cc4", 1],+ ["78547afdae0e4224", 1],+ ["ad6c7c315c582c1e", 1],+ ["d2f13b731f3342e2", 1],+ ["dcd7e084ef26b9d9", 1],+ ["92dc1d0815d92c9f", 1],+ ["e53a7f469ea3670f", 1],+ ["ce359d2635fd4629", 1],+ ["80e0c652c6b985da", 1],+ ["07f6a1cbd70a5dd1", 1],+ ["aaf51d75cfe77636", 1],+ ["6f77c97c45381624", 1],+ ["aca73b88d3e87c06", 1],+ ["f4440e7601b4f735", 1],+ ["a73dc6ecb4a4d57a", 1],+ ["11bcbb2f4468dd54", 1],+ ["a410c9d1cb04a52f", 1],+ ["8a0cee2c8ca6761f", 1],+ ["c60e8ae86d0e0460", 1],+ ["725dfd18ce6fd290", 20]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 20],+ [4.0, 20],+ [6.0, 20],+ [8.0, 20]+ ],+ "id": "sha256:8bad9b970f9ba75c830505c3af44bc69456ea1dffbd99eb409bb81b5d6edc806"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 158.1, 0.11, 4.56, 255.0],+ [2, 2, 141.76, 0.18, 5.54, 255.0],+ [3, 3, 114.9, 0.18, 5.14, 255.0],+ [4, 4, 124.8, 0.2, 5.26, 255.0],+ [5, 5, 122.33, 0.21, 5.22, 255.0],+ [6, 6, 105.65, 0.24, 5.63, 255.0],+ [7, 7, 112.35, 0.24, 5.45, 255.0],+ [8, 8, 132.67, 0.25, 5.54, 255.0],+ [9, 9, 101.8, 0.24, 5.22, 255.0],+ [10, 10, 131.33, 0.28, 6.0, 255.0],+ [11, 11, 128.51, 0.28, 5.72, 255.0],+ [12, 12, 116.88, 0.28, 5.57, 255.0],+ [13, 13, 94.37, 0.31, 5.83, 255.0],+ [14, 14, 134.9, 0.34, 6.29, 255.0],+ [15, 15, 134.73, 0.39, 6.7, 255.0],+ [16, 16, 129.69, 0.43, 7.17, 255.0],+ [17, 17, 134.41, 0.43, 6.88, 255.0],+ [18, 18, 101.29, 0.41, 6.61, 247.0],+ [19, 19, 71.53, 0.39, 6.33, 250.0],+ [20, 20, 87.39, 0.4, 6.53, 234.0],+ [21, 21, 87.39, 0.44, 7.0, 255.0],+ [22, 22, 128.0, 0.53, 8.04, 255.0],+ [23, 23, 165.1, 0.58, 8.42, 255.0],+ [24, 24, 126.22, 0.62, 8.63, 255.0],+ [25, 25, 129.22, 0.67, 9.08, 255.0],+ [26, 26, 161.0, 0.71, 9.58, 255.0],+ [27, 27, 161.0, 0.75, 9.68, 255.0],+ [28, 28, 161.0, 0.77, 9.78, 255.0],+ [29, 29, 164.06, 0.84, 10.47, 255.0],+ [30, 30, 164.06, 0.86, 10.53, 255.0],+ [31, 31, 164.06, 0.9, 10.74, 255.0],+ [32, 32, 168.49, 0.97, 11.34, 255.0],+ [33, 33, 166.14, 1.06, 12.07, 255.0],+ [34, 34, 166.14, 1.1, 12.22, 255.0],+ [35, 35, 166.14, 1.09, 11.96, 255.0],+ [36, 36, 166.43, 1.2, 12.9, 255.0],+ [37, 37, 166.14, 1.18, 12.66, 255.0],+ [38, 38, 166.14, 1.14, 12.25, 255.0],+ [39, 39, 166.14, 1.12, 12.18, 255.0],+ [40, 40, 166.14, 1.12, 12.22, 255.0],+ [41, 41, 166.14, 1.17, 12.58, 255.0],+ [42, 42, 166.14, 1.24, 13.12, 255.0],+ [43, 43, 166.14, 1.3, 13.4, 255.0],+ [44, 44, 166.14, 1.32, 13.43, 255.0],+ [45, 45, 166.14, 1.35, 13.62, 255.0],+ [46, 46, 166.14, 1.35, 13.6, 255.0],+ [47, 47, 166.14, 1.37, 13.7, 255.0],+ [48, 48, 166.14, 1.4, 13.87, 255.0],+ [49, 49, 166.14, 1.4, 13.83, 255.0],+ [50, 50, 166.14, 1.39, 13.7, 255.0],+ [51, 51, 166.14, 1.42, 13.82, 255.0],+ [52, 52, 166.14, 1.44, 13.86, 255.0],+ [53, 53, 166.14, 1.46, 13.92, 255.0],+ [54, 54, 166.14, 1.47, 13.95, 255.0],+ [55, 55, 166.14, 1.5, 14.06, 255.0],+ [56, 56, 166.14, 1.52, 14.13, 255.0],+ [57, 57, 166.14, 1.53, 14.2, 255.0],+ [58, 58, 166.14, 1.53, 14.18, 255.0],+ [59, 59, 166.14, 1.52, 14.1, 255.0],+ [60, 60, 166.14, 1.51, 14.1, 255.0],+ [61, 61, 166.14, 1.56, 14.34, 255.0],+ [62, 62, 166.14, 1.59, 14.44, 255.0],+ [63, 63, 166.14, 1.61, 14.51, 255.0],+ [64, 64, 166.14, 1.63, 14.54, 255.0],+ [65, 65, 166.14, 1.66, 14.7, 255.0],+ [66, 66, 166.14, 1.7, 14.82, 255.0],+ [67, 67, 166.14, 1.74, 15.05, 255.0],+ [68, 68, 166.14, 1.76, 15.03, 255.0],+ [69, 69, 166.14, 1.77, 15.04, 255.0],+ [70, 70, 166.14, 1.79, 15.14, 255.0],+ [71, 71, 166.14, 1.8, 15.15, 255.0],+ [72, 72, 166.14, 1.82, 15.22, 255.0],+ [73, 73, 166.14, 1.84, 15.26, 255.0],+ [74, 74, 166.14, 1.88, 15.38, 255.0],+ [75, 75, 166.14, 1.89, 15.42, 255.0],+ [76, 76, 166.14, 1.91, 15.44, 255.0],+ [77, 77, 166.14, 1.91, 15.44, 255.0],+ [78, 78, 166.14, 1.89, 15.39, 255.0],+ [79, 79, 166.14, 1.89, 15.39, 255.0],+ [80, 80, 166.14, 1.89, 15.39, 255.0],+ [81, 81, 166.14, 1.89, 15.39, 255.0],+ [82, 82, 166.14, 1.89, 15.39, 255.0],+ [83, 83, 166.14, 1.89, 15.39, 255.0],+ [84, 84, 166.14, 1.89, 15.39, 255.0],+ [85, 85, 166.14, 1.89, 15.39, 255.0],+ [86, 86, 166.14, 1.89, 15.39, 255.0],+ [87, 87, 166.14, 1.89, 15.39, 255.0],+ [88, 88, 166.14, 1.89, 15.39, 255.0],+ [89, 89, 166.14, 1.89, 15.39, 255.0],+ [90, 90, 166.14, 1.89, 15.39, 255.0],+ [91, 91, 166.14, 1.89, 15.39, 255.0],+ [92, 92, 166.14, 1.89, 15.39, 255.0],+ [93, 93, 166.14, 1.89, 15.39, 255.0],+ [94, 94, 166.14, 1.89, 15.39, 255.0],+ [95, 95, 166.14, 1.89, 15.39, 255.0],+ [96, 96, 166.14, 1.89, 15.39, 255.0],+ [97, 97, 166.14, 1.89, 15.39, 255.0],+ [98, 98, 166.14, 1.89, 15.39, 255.0],+ [99, 99, 166.14, 1.89, 15.39, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/quaternion_multiplication_breakdown/ce.mkv.sha256 b/tests/integration/cases/quaternion_multiplication_breakdown/ce.mkv.sha256new file mode 100644index 00000000..bf7b3fe1--- /dev/null+++ b/tests/integration/cases/quaternion_multiplication_breakdown/ce.mkv.sha256@@ -0,0 +1 @@+d251b5c9a6bd5e40df303ddec575a6867a08f1ec30fcef7063c1c7ed9cc4f01e ce.mkvdiff --git a/tests/integration/cases/quaternion_multiplication_breakdown/manimgx.mkv.sha256 b/tests/integration/cases/quaternion_multiplication_breakdown/manimgx.mkv.sha256new file mode 100644index 00000000..87f0bc93--- /dev/null+++ b/tests/integration/cases/quaternion_multiplication_breakdown/manimgx.mkv.sha256@@ -0,0 +1 @@+e608a3545dd2412604deac0679f56058bb9b8b9f79f82a4009bf8f4b711feb32 manimgx.mkvdiff --git a/tests/integration/cases/quaternion_multiplication_breakdown/review.json b/tests/integration/cases/quaternion_multiplication_breakdown/review.jsonnew file mode 100644index 00000000..359a60fc--- /dev/null+++ b/tests/integration/cases/quaternion_multiplication_breakdown/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:389bd3cf9a26fba1136b07dbe3d276cf211b30929fbe7200ac6cc36472b81d06",+ "manimgx": "sha256:a43f01fab9195d2a48f77732657b07f8fc53b18aa3fa74eb992f128d7f459255",+ "ce": "sha256:8bad9b970f9ba75c830505c3af44bc69456ea1dffbd99eb409bb81b5d6edc806",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/quaternion_multiplication_breakdown/scene.py b/tests/integration/cases/quaternion_multiplication_breakdown/scene.pynew file mode 100644index 00000000..be0208a4--- /dev/null+++ b/tests/integration/cases/quaternion_multiplication_breakdown/scene.py@@ -0,0 +1,36 @@+import manimgx as m+++class TeacherScene(m.Scene):+ def construct(self) -> None:+ title = m.Tex("Quaternion product breakdown").to_edge(m.UP, buff=0.3)+ self.play(m.Write(title))++ q1 = m.MathTex("q_1 = a_1 + b_1 i + c_1 j + d_1 k").scale(0.9).shift(m.UP * 2.0)+ q2 = m.MathTex("q_2 = a_2 + b_2 i + c_2 j + d_2 k").scale(0.9).shift(m.UP * 1.1)+ self.play(m.Write(q1), m.Write(q2))++ result = (+ m.MathTex(+ "q_1 q_2 = ",+ "(a_1 a_2 - \\vec{v}_1 \\cdot \\vec{v}_2)",+ " + ",+ "(a_1 \\vec{v}_2 + a_2 \\vec{v}_1 + \\vec{v}_1 \\times \\vec{v}_2)",+ )+ .scale(0.7)+ .shift(m.DOWN * 0.4)+ )+ result[1].set_color(m.YELLOW)+ result[3].set_color(m.GREEN)+ self.play(m.Write(result))++ legend = (+ m.VGroup(+ m.Tex("Scalar part: dot product", color=m.YELLOW).scale(0.6),+ m.Tex("Vector part: cross product + linear", color=m.GREEN).scale(0.6),+ )+ .arrange(m.DOWN, aligned_edge=m.LEFT, buff=0.25)+ .to_edge(m.DOWN, buff=0.6)+ )+ self.play(m.Write(legend))+ self.wait(2.0)diff --git a/tests/integration/cases/quaternion_sandwich_rotation/case.json b/tests/integration/cases/quaternion_sandwich_rotation/case.jsonnew file mode 100644index 00000000..30330cdf--- /dev/null+++ b/tests/integration/cases/quaternion_sandwich_rotation/case.json@@ -0,0 +1,143 @@+{+ "source": "sha256:a295d5af94bdce2ef64a46dae3293ba4ea86b451541c840e183715d6ccffbe19",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 4.9,+ "frames": [+ ["91944b317abd1946", 1],+ ["7c8f10d5e65297d0", 1],+ ["5d8f319dfb91af71", 1],+ ["015494fcf1d926ee", 1],+ ["0985dfe546363d16", 1],+ ["72a15b3fd95b36af", 1],+ ["5341d8533bc07e7b", 1],+ ["468bb9eb7f20db36", 1],+ ["e35e7a81a8dc12b1", 7],+ ["3183d1b982a933bf", 1],+ ["1f9afae1b9a51a3e", 1],+ ["c2389a8512bca652", 1],+ ["ca35b4b79f0bb379", 1],+ ["1e6d71eb624b2e14", 1],+ ["61b8027896631fbb", 1],+ ["7db74a482909e4be", 1],+ ["18bb42a80b19eff0", 1],+ ["9053fd5200c18852", 1],+ ["1368d751e0fc9791", 1],+ ["bdaba4a354a2d247", 1],+ ["083db7f06ff84390", 1],+ ["0821e30675649c6f", 1],+ ["5cab6f30168fa462", 1],+ ["b28f79322fa018ab", 1],+ ["a004e4d269ed621f", 1],+ ["0fd39ea1547c380b", 1],+ ["5f0c14202a8c0477", 1],+ ["6406ecc3335e1e67", 1],+ ["b217fe9be8ad24d3", 16]+ ],+ "timeline": [+ [0.0, 50]+ ],+ "id": "sha256:3331e0346373e44d63dae4fe437ab6c65203f74112263635c63db54050fb30f3"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 4.9,+ "frames": [+ ["463f74e319edf079", 1],+ ["caab033837bfa3bf", 1],+ ["53c9ee2c034585f4", 1],+ ["38e5eb4832c6aeda", 1],+ ["6b44082fe6917c63", 1],+ ["79f6c8b1d49a5f8b", 1],+ ["984724768e3ed730", 1],+ ["7fdef9cb87ddde8b", 1],+ ["6b49e38e37e03eab", 1],+ ["e3922c8ffceabadd", 1],+ ["b6745342a9ca6345", 4],+ ["211e9856dca720bd", 1],+ ["c5905d1db9133706", 1],+ ["995e1b591666f5ed", 1],+ ["b72047b29e13fec7", 1],+ ["d94b544c4a4340a9", 1],+ ["8743384ee1b32f18", 1],+ ["f0a585b107b1762f", 1],+ ["e7f7ed557384e7f9", 1],+ ["6038f3f0318938ee", 1],+ ["551ba4823d477f3d", 1],+ ["de4756c8107ae204", 1],+ ["a73cd5938b5fde03", 1],+ ["3f3610497e3c4691", 1],+ ["dbbb68a6ca69b4a2", 1],+ ["67ab7b9c921944b7", 1],+ ["974f273107daff9f", 1],+ ["db030668c8c8a429", 1],+ ["b077913c7f8121f9", 1],+ ["fa57f88e0f866ab3", 1],+ ["a4702e000a5f0ab1", 1],+ ["525379b8ba4b80cc", 15]+ ],+ "timeline": [+ [0.0, 10],+ [1.0, 4],+ [1.4, 20],+ [3.4, 15]+ ],+ "id": "sha256:ee8b6f04ca619b33814efc8b90daf737fd0a6d848be97e36c50edf5f9ef8e660"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 163.63, 0.37, 7.66, 255.0],+ [1, 1, 163.63, 0.39, 7.74, 255.0],+ [2, 2, 163.63, 0.39, 7.77, 255.0],+ [3, 3, 163.63, 0.39, 7.79, 255.0],+ [4, 4, 163.63, 0.4, 7.83, 255.0],+ [5, 5, 163.63, 0.4, 7.89, 255.0],+ [6, 6, 192.67, 0.41, 7.93, 255.0],+ [7, 7, 163.63, 0.4, 7.89, 255.0],+ [8, 8, 163.63, 0.4, 7.86, 255.0],+ [9, 9, 163.63, 0.4, 7.8, 255.0],+ [10, 10, 163.63, 0.39, 7.76, 255.0],+ [11, 11, 163.63, 0.39, 7.76, 255.0],+ [12, 12, 163.63, 0.39, 7.76, 255.0],+ [13, 13, 163.63, 0.39, 7.76, 255.0],+ [14, 14, 163.63, 0.39, 7.76, 255.0],+ [15, 15, 163.63, 0.39, 7.76, 255.0],+ [16, 16, 163.63, 0.39, 7.75, 255.0],+ [17, 17, 163.63, 0.39, 7.76, 255.0],+ [18, 18, 163.63, 0.39, 7.76, 255.0],+ [19, 19, 163.63, 0.39, 7.75, 255.0],+ [20, 20, 163.63, 0.39, 7.75, 255.0],+ [21, 21, 163.63, 0.39, 7.73, 255.0],+ [22, 22, 163.63, 0.39, 7.72, 255.0],+ [23, 23, 163.63, 0.39, 7.74, 255.0],+ [24, 24, 163.63, 0.39, 7.76, 255.0],+ [25, 25, 163.63, 0.4, 7.75, 255.0],+ [26, 26, 163.63, 0.4, 7.73, 255.0],+ [27, 27, 163.63, 0.39, 7.73, 255.0],+ [28, 28, 163.63, 0.4, 7.74, 255.0],+ [29, 29, 163.63, 0.39, 7.74, 255.0],+ [30, 30, 163.63, 0.39, 7.74, 255.0],+ [31, 31, 163.63, 0.39, 7.75, 255.0],+ [32, 32, 163.63, 0.39, 7.75, 255.0],+ [33, 33, 163.63, 0.39, 7.75, 255.0],+ [34, 34, 163.63, 0.39, 7.75, 255.0],+ [35, 35, 163.63, 0.39, 7.75, 255.0],+ [36, 36, 163.63, 0.39, 7.75, 255.0],+ [37, 37, 163.63, 0.39, 7.75, 255.0],+ [38, 38, 163.63, 0.39, 7.75, 255.0],+ [39, 39, 163.63, 0.39, 7.75, 255.0],+ [40, 40, 163.63, 0.39, 7.75, 255.0],+ [41, 41, 163.63, 0.39, 7.75, 255.0],+ [42, 42, 163.63, 0.39, 7.75, 255.0],+ [43, 43, 163.63, 0.39, 7.75, 255.0],+ [44, 44, 163.63, 0.39, 7.75, 255.0],+ [45, 45, 163.63, 0.39, 7.75, 255.0],+ [46, 46, 163.63, 0.39, 7.75, 255.0],+ [47, 47, 163.63, 0.39, 7.75, 255.0],+ [48, 48, 163.63, 0.39, 7.75, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/quaternion_sandwich_rotation/ce.mkv.sha256 b/tests/integration/cases/quaternion_sandwich_rotation/ce.mkv.sha256new file mode 100644index 00000000..70032461--- /dev/null+++ b/tests/integration/cases/quaternion_sandwich_rotation/ce.mkv.sha256@@ -0,0 +1 @@+aa46f08c687890f93f2559fa7e51513c2c2a61fb790b4ff3ccb6f223ed41fc83 ce.mkvdiff --git a/tests/integration/cases/quaternion_sandwich_rotation/manimgx.mkv.sha256 b/tests/integration/cases/quaternion_sandwich_rotation/manimgx.mkv.sha256new file mode 100644index 00000000..08d33364--- /dev/null+++ b/tests/integration/cases/quaternion_sandwich_rotation/manimgx.mkv.sha256@@ -0,0 +1 @@+4d3e90e65059423bab4153c0d889e1b850b1f24d8ed5b6e560a3bfafadc2b393 manimgx.mkvdiff --git a/tests/integration/cases/quaternion_sandwich_rotation/review.json b/tests/integration/cases/quaternion_sandwich_rotation/review.jsonnew file mode 100644index 00000000..d319efa2--- /dev/null+++ b/tests/integration/cases/quaternion_sandwich_rotation/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:a295d5af94bdce2ef64a46dae3293ba4ea86b451541c840e183715d6ccffbe19",+ "manimgx": "sha256:3331e0346373e44d63dae4fe437ab6c65203f74112263635c63db54050fb30f3",+ "ce": "sha256:ee8b6f04ca619b33814efc8b90daf737fd0a6d848be97e36c50edf5f9ef8e660",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/quaternion_sandwich_rotation/scene.py b/tests/integration/cases/quaternion_sandwich_rotation/scene.pynew file mode 100644index 00000000..e941c9b8--- /dev/null+++ b/tests/integration/cases/quaternion_sandwich_rotation/scene.py@@ -0,0 +1,38 @@+import math++import numpy as np++import manimgx as m+++class TeacherScene(m.ThreeDScene):+ def construct(self) -> None:+ self.set_camera_orientation(phi=70 * m.DEGREES, theta=-30 * m.DEGREES)+ axes = m.ThreeDAxes(+ x_range=[-2, 2, 1],+ y_range=[-2, 2, 1],+ z_range=[-2, 2, 1],+ )+ self.add(axes)++ title = m.MathTex("p' = q\\, p\\, q^{-1}").to_edge(m.UP, buff=0.3)+ self.add_fixed_in_frame_mobjects(title)++ p = np.array([1.0, 0.0, 1.0])+ p_arrow = m.Arrow3D(start=np.array([0.0, 0.0, 0.0]), end=p, color=m.BLUE)+ self.play(m.Create(p_arrow))+ self.wait(0.4)++ theta = math.pi / 2+ rot = np.array(+ [+ [math.cos(theta), 0.0, math.sin(theta)],+ [0.0, 1.0, 0.0],+ [-math.sin(theta), 0.0, math.cos(theta)],+ ]+ )+ p_new = rot @ p+ p_new_arrow = m.Arrow3D(start=np.array([0.0, 0.0, 0.0]), end=p_new, color=m.RED)++ self.play(m.Transform(p_arrow, p_new_arrow), run_time=2.0)+ self.wait(1.5)diff --git a/tests/integration/cases/shadow_area_averaging/case.json b/tests/integration/cases/shadow_area_averaging/case.jsonnew file mode 100644index 00000000..6ffe0e17--- /dev/null+++ b/tests/integration/cases/shadow_area_averaging/case.json@@ -0,0 +1,261 @@+{+ "source": "sha256:b8a5e373bf9110b1361df29192e6b860a51321eccb8552ffe009574df443b117",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 8.5,+ "frames": [+ ["2e842802bccef91c", 1],+ ["d98df6e92f7706f0", 1],+ ["b60ab272c6555f00", 1],+ ["ddf4b871d9ce4882", 1],+ ["7efd64c765ce89b4", 1],+ ["620f8855087d0661", 1],+ ["bc7dba83a49344af", 1],+ ["ab1ebb8bb76bc453", 1],+ ["3a7cf1e85f4986b3", 1],+ ["90437371dce7896e", 1],+ ["4bd8f8edac61f794", 1],+ ["7566f4a2ac2411b2", 1],+ ["6b28c9ddeef46f97", 1],+ ["debebc3a4cde5d07", 1],+ ["f3e7dfc25c8666ea", 1],+ ["81e3b26c4500f72d", 1],+ ["2c3dcdabcd291a12", 1],+ ["906595a46fc5b62b", 1],+ ["400ce454e0f06e1d", 1],+ ["c720db66e32a9631", 1],+ ["f30cb279f5119b02", 1],+ ["faf39f1c4ffa0516", 1],+ ["6df6cb5e04da1d0b", 1],+ ["98479978bd162f84", 1],+ ["dfa458ecb9d30005", 1],+ ["1f8cdfa01702185e", 1],+ ["1dc1095a351cdb4a", 1],+ ["48884cfd16e8690b", 1],+ ["d3a34fd92ae96ff5", 1],+ ["6ccfefce090fa41b", 1],+ ["80eb1c6f20424146", 1],+ ["18ac4fb7ded5120d", 1],+ ["4e14f199a75e47c9", 1],+ ["26960b1c8676eaa3", 1],+ ["67d838f4d8784b65", 1],+ ["dde01d062cd71c2d", 1],+ ["282a66ab2b1969ef", 1],+ ["d86cacb00624efc0", 1],+ ["3e7585d38d856dc9", 1],+ ["663ddd8d0ed3deda", 1],+ ["2074802a9e024236", 1],+ ["762b0c86553709fd", 1],+ ["d03db29ccecd0152", 1],+ ["08f75f938690683f", 1],+ ["ec798d27c67aad62", 1],+ ["f90ed51847baf85b", 1],+ ["a501f3d4c1131141", 1],+ ["ad190190f2da39b7", 1],+ ["5dc78519a4c08d04", 1],+ ["f8bf2c9a50f9e358", 1],+ ["32aafea201977e7c", 1],+ ["76e28b74157105e6", 1],+ ["d058b55d31c03591", 1],+ ["b2b29146db084444", 1],+ ["044ee996bad775ae", 1],+ ["6df654c4e38626a0", 1],+ ["b47e4085af386064", 1],+ ["38509364b38d8fe1", 1],+ ["cb44ab43b12c651f", 1],+ ["1e6142fc1235d367", 1],+ ["9bcae6cece80f58a", 1],+ ["9bd96f0f101e8a55", 1],+ ["7e847de1b67632a4", 1],+ ["15fec4b9516c14b5", 1],+ ["193dc992e2ce8682", 1],+ ["300053575a83c16f", 1],+ ["c8607c2c56906336", 1],+ ["b44f5e1ec6c92030", 1],+ ["69024aa6c19fac36", 1],+ ["396ef952f8ab91e9", 1],+ ["2d9c0d2d6d84786d", 16]+ ],+ "timeline": [+ [0.0, 86]+ ],+ "id": "sha256:6eaecb873c84c815fb60269a5a4ef49d49eef39f86a2d81f3fefb7a25d52ca9f"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 8.5,+ "frames": [+ ["2e842802bccef91c", 1],+ ["f06ef47bc064b6b0", 1],+ ["f79adcf7c97dac53", 1],+ ["c1c7ae01a8599f2e", 1],+ ["09de86f2bf4957ee", 1],+ ["7d1c1672a76f70f6", 1],+ ["87b35dc24b9ec728", 1],+ ["2f832acb947cb7b9", 1],+ ["096ad5c2cdc60c21", 1],+ ["3ca48e0a807ca8c3", 1],+ ["268dcfdc8b6d8c3e", 1],+ ["d23eb75938090f1e", 1],+ ["cf1bf52df99991e3", 1],+ ["c935f065ced1c86d", 1],+ ["61fb00c7a6f13b95", 1],+ ["a10caa4831f032db", 1],+ ["f8030abf5401cca5", 1],+ ["575aed2a82ca6452", 1],+ ["e8b329e35d0fd4a4", 1],+ ["54e0579fdb20d567", 1],+ ["c932d5b4490a7aac", 1],+ ["e48132a42b7fc29e", 1],+ ["8cc1c68f3917fc72", 1],+ ["e717e968143728af", 1],+ ["ae9e9a0e0ff6bacd", 1],+ ["496e453f0d0b04f8", 1],+ ["d72da6154d185084", 1],+ ["4bd1330ae8bf20e9", 1],+ ["e3d313da2048794f", 1],+ ["1c24f137029f51b5", 1],+ ["6e332839101fe21c", 1],+ ["a2065ecb27d5b5bc", 1],+ ["dd299ef842a2bcd2", 1],+ ["7d20430b38c89040", 1],+ ["2fdf6365ac5a3fff", 1],+ ["2063f52c72dabfe6", 1],+ ["0a3d1a0fcdf35bd0", 1],+ ["87a233c6bbba4b7a", 1],+ ["8ed1a510fc758442", 1],+ ["2fe82125fdbcb4a8", 1],+ ["c36686ed584352bd", 1],+ ["8dfc3049cbe21806", 1],+ ["2adae59c0e69c03b", 1],+ ["5b52d99417e39f18", 1],+ ["57c9424aebb37db9", 1],+ ["a6f9e735dcc85d07", 1],+ ["f4fb1cc746d271fe", 1],+ ["97524e66303393b0", 1],+ ["87dc91a114711472", 1],+ ["d8c51c970bedc891", 1],+ ["5f689a03c60ac9ae", 1],+ ["9b84c9d7efe36a7c", 1],+ ["1ece25e369dcb47c", 1],+ ["0dace1e465a531b2", 1],+ ["a348b5421eeedb5c", 1],+ ["3c6312943d55c029", 1],+ ["dd550452dcb6c9ac", 1],+ ["9be4afa2838a1303", 1],+ ["b0e030cdba46e0cd", 1],+ ["77c6268765a7b71e", 1],+ ["704b789a5b6515c1", 1],+ ["75eded34ab278e64", 1],+ ["c46b9ae5138fa217", 1],+ ["44d56d9fcce22c22", 1],+ ["1ce84c3d2eaad03a", 1],+ ["06decd924c62de96", 1],+ ["e9cb3a0545463608", 1],+ ["d89017ffe2eb6dd3", 1],+ ["6188777fa8a9cb33", 1],+ ["e4cfc3de4d5f23ea", 1],+ ["9d38ff5406a3aba0", 15]+ ],+ "timeline": [+ [0.0, 20],+ [2.0, 10],+ [3.0, 10],+ [4.0, 30],+ [7.0, 15]+ ],+ "id": "sha256:de74dfc669967e9d766c92d6c3fe46cd2e4eb32c4f29afea7592be5b80232631"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 0.0, 0.0, 0.0, 0.0],+ [1, 1, 114.31, 0.06, 3.18, 255.0],+ [2, 2, 155.92, 0.14, 5.08, 255.0],+ [3, 3, 176.41, 0.17, 5.39, 255.0],+ [4, 4, 139.96, 0.19, 5.67, 255.0],+ [5, 5, 162.9, 0.28, 7.05, 255.0],+ [6, 6, 162.9, 0.33, 7.71, 255.0],+ [7, 7, 162.9, 0.39, 8.39, 255.0],+ [8, 8, 162.9, 0.45, 9.04, 255.0],+ [9, 9, 162.9, 0.53, 9.9, 255.0],+ [10, 10, 162.9, 0.58, 10.29, 255.0],+ [11, 11, 167.18, 0.69, 11.34, 255.0],+ [12, 12, 162.9, 0.73, 11.57, 255.0],+ [13, 13, 162.9, 0.79, 12.14, 255.0],+ [14, 14, 162.9, 0.84, 12.52, 255.0],+ [15, 15, 162.9, 0.88, 12.94, 255.0],+ [16, 16, 162.9, 0.96, 13.46, 255.0],+ [17, 17, 162.9, 0.98, 13.6, 255.0],+ [18, 18, 162.9, 0.97, 13.42, 255.0],+ [19, 19, 162.9, 0.95, 13.38, 255.0],+ [20, 20, 162.9, 0.96, 13.48, 255.0],+ [21, 21, 162.9, 1.02, 13.79, 255.0],+ [22, 22, 162.9, 1.05, 13.96, 255.0],+ [23, 23, 162.9, 1.08, 14.11, 255.0],+ [24, 24, 162.9, 1.06, 13.87, 255.0],+ [25, 25, 162.9, 1.07, 13.87, 255.0],+ [26, 26, 162.9, 1.08, 13.86, 255.0],+ [27, 27, 162.9, 1.06, 13.67, 255.0],+ [28, 28, 162.9, 1.04, 13.55, 255.0],+ [29, 29, 162.9, 1.04, 13.55, 255.0],+ [30, 30, 162.9, 1.04, 13.55, 255.0],+ [31, 31, 162.9, 1.06, 13.66, 255.0],+ [32, 32, 162.9, 1.07, 13.69, 255.0],+ [33, 33, 162.9, 1.07, 13.62, 255.0],+ [34, 34, 162.9, 1.07, 13.63, 255.0],+ [35, 35, 162.9, 1.08, 13.69, 255.0],+ [36, 36, 162.9, 1.08, 13.67, 255.0],+ [37, 37, 162.9, 1.08, 13.63, 255.0],+ [38, 38, 162.9, 1.07, 13.58, 255.0],+ [39, 39, 162.9, 1.07, 13.57, 255.0],+ [40, 40, 162.9, 1.06, 13.56, 255.0],+ [41, 41, 162.9, 1.07, 13.57, 255.0],+ [42, 42, 162.9, 1.07, 13.58, 255.0],+ [43, 43, 162.9, 1.07, 13.6, 255.0],+ [44, 44, 162.9, 1.07, 13.61, 255.0],+ [45, 45, 162.9, 1.07, 13.61, 255.0],+ [46, 46, 162.9, 1.08, 13.61, 255.0],+ [47, 47, 162.9, 1.08, 13.62, 255.0],+ [48, 48, 162.9, 1.08, 13.62, 255.0],+ [49, 49, 162.9, 1.08, 13.62, 255.0],+ [50, 50, 162.9, 1.08, 13.62, 255.0],+ [51, 51, 162.9, 1.08, 13.62, 255.0],+ [52, 52, 162.9, 1.07, 13.61, 255.0],+ [53, 53, 162.9, 1.07, 13.6, 255.0],+ [54, 54, 162.9, 1.07, 13.6, 255.0],+ [55, 55, 162.9, 1.07, 13.6, 255.0],+ [56, 56, 162.9, 1.07, 13.58, 255.0],+ [57, 57, 162.9, 1.07, 13.59, 255.0],+ [58, 58, 162.9, 1.07, 13.57, 255.0],+ [59, 59, 162.9, 1.07, 13.57, 255.0],+ [60, 60, 162.9, 1.07, 13.57, 255.0],+ [61, 61, 162.9, 1.07, 13.57, 255.0],+ [62, 62, 162.9, 1.06, 13.57, 255.0],+ [63, 63, 162.9, 1.06, 13.57, 255.0],+ [64, 64, 162.9, 1.06, 13.57, 255.0],+ [65, 65, 162.9, 1.06, 13.56, 255.0],+ [66, 66, 162.9, 1.06, 13.56, 255.0],+ [67, 67, 162.9, 1.06, 13.56, 255.0],+ [68, 68, 162.9, 1.06, 13.56, 255.0],+ [69, 69, 162.9, 1.06, 13.56, 255.0],+ [70, 70, 162.9, 1.06, 13.56, 255.0],+ [71, 71, 162.9, 1.06, 13.56, 255.0],+ [72, 72, 162.9, 1.06, 13.56, 255.0],+ [73, 73, 162.9, 1.06, 13.56, 255.0],+ [74, 74, 162.9, 1.06, 13.56, 255.0],+ [75, 75, 162.9, 1.06, 13.56, 255.0],+ [76, 76, 162.9, 1.06, 13.56, 255.0],+ [77, 77, 162.9, 1.06, 13.56, 255.0],+ [78, 78, 162.9, 1.06, 13.56, 255.0],+ [79, 79, 162.9, 1.06, 13.56, 255.0],+ [80, 80, 162.9, 1.06, 13.56, 255.0],+ [81, 81, 162.9, 1.06, 13.56, 255.0],+ [82, 82, 162.9, 1.06, 13.56, 255.0],+ [83, 83, 162.9, 1.06, 13.56, 255.0],+ [84, 84, 162.9, 1.06, 13.56, 255.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/shadow_area_averaging/ce.mkv.sha256 b/tests/integration/cases/shadow_area_averaging/ce.mkv.sha256new file mode 100644index 00000000..8520cb9c--- /dev/null+++ b/tests/integration/cases/shadow_area_averaging/ce.mkv.sha256@@ -0,0 +1 @@+37be884e713818e0f5252789dcad58f7c53a49a82965a7153be35d4d39e49223 ce.mkvdiff --git a/tests/integration/cases/shadow_area_averaging/manimgx.mkv.sha256 b/tests/integration/cases/shadow_area_averaging/manimgx.mkv.sha256new file mode 100644index 00000000..66e3d517--- /dev/null+++ b/tests/integration/cases/shadow_area_averaging/manimgx.mkv.sha256@@ -0,0 +1 @@+a15d01ad9f9751bb37e9878edb78e79129eefe4872364108dd6db517bbdb71a9 manimgx.mkvdiff --git a/tests/integration/cases/shadow_area_averaging/review.json b/tests/integration/cases/shadow_area_averaging/review.jsonnew file mode 100644index 00000000..405b2c75--- /dev/null+++ b/tests/integration/cases/shadow_area_averaging/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "",+ "source": "sha256:b8a5e373bf9110b1361df29192e6b860a51321eccb8552ffe009574df443b117",+ "manimgx": "sha256:6eaecb873c84c815fb60269a5a4ef49d49eef39f86a2d81f3fefb7a25d52ca9f",+ "ce": "sha256:de74dfc669967e9d766c92d6c3fe46cd2e4eb32c4f29afea7592be5b80232631",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/shadow_area_averaging/scene.py b/tests/integration/cases/shadow_area_averaging/scene.pynew file mode 100644index 00000000..1cfb0db0--- /dev/null+++ b/tests/integration/cases/shadow_area_averaging/scene.py@@ -0,0 +1,48 @@+import math+import random++import manimgx as m+++class TeacherScene(m.Scene):+ def construct(self) -> None:+ random.seed(0)+ title = m.Tex("Average shadow of a cube").to_edge(m.UP, buff=0.3)+ self.play(m.Write(title))++ axes = m.Axes(+ x_range=[0, 50, 10],+ y_range=[0, 3, 1],+ x_length=8.0,+ y_length=3.0,+ tips=False,+ axis_config={"include_numbers": True, "stroke_width": 1.5},+ ).shift(m.DOWN * 0.5)+ x_lab = (+ m.Tex("samples", color=m.WHITE).scale(0.6).next_to(axes, m.DOWN, buff=0.2)+ )+ y_lab = (+ m.Tex("avg area", color=m.WHITE).scale(0.6).next_to(axes, m.UP, buff=0.2)+ )+ self.play(m.Create(axes), m.Write(x_lab), m.Write(y_lab))++ target = 1.5+ line = axes.plot(lambda x: target, color=m.YELLOW, x_range=[0, 50])+ t_lab = (+ m.MathTex("\\langle A\\rangle = \\tfrac{3}{2}", color=m.YELLOW)+ .scale(0.7)+ .next_to(line, m.RIGHT, buff=0.2)+ )+ self.play(m.Create(line), m.Write(t_lab))++ points = []+ total = 0.0+ for i in range(1, 51):+ sample = target + random.gauss(0, 0.45) / math.sqrt(i / 6 + 1)+ total += sample+ avg = total / i+ points.append(axes.coords_to_point(i, max(0.0, min(3.0, avg))))+ path = m.VMobject(stroke_color=m.GREEN, stroke_width=3.0)+ path.set_points_as_corners(points)+ self.play(m.Create(path), run_time=3.0)+ self.wait(1.5)diff --git a/tests/integration/cases/space_ops_quaternion_demo/case.json b/tests/integration/cases/space_ops_quaternion_demo/case.jsonnew file mode 100644index 00000000..241b0c99--- /dev/null+++ b/tests/integration/cases/space_ops_quaternion_demo/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:fd0e3df01c98b4fc116224371189a4fae91c9984aae5b2f59bd328f23b3f1769",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["b873d64dda3d2358", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:7107665fca96c2df54065e0d08d1f61cf6d9b510577a70bce0a0383c86d2d810"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["f6bc4532ddfebffd", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:d8d5f167b01d00aabdd3711c4e9514d53cc13bfa6665443699b2047294c5d94c"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 4.24, 0.01, 0.24, 62.0],+ [1, 1, 4.24, 0.01, 0.24, 62.0],+ [2, 2, 4.24, 0.01, 0.24, 62.0],+ [3, 3, 4.24, 0.01, 0.24, 62.0],+ [4, 4, 4.24, 0.01, 0.24, 62.0],+ [5, 5, 4.24, 0.01, 0.24, 62.0],+ [6, 6, 4.24, 0.01, 0.24, 62.0],+ [7, 7, 4.24, 0.01, 0.24, 62.0],+ [8, 8, 4.24, 0.01, 0.24, 62.0],+ [9, 9, 4.24, 0.01, 0.24, 62.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/space_ops_quaternion_demo/ce.mkv.sha256 b/tests/integration/cases/space_ops_quaternion_demo/ce.mkv.sha256new file mode 100644index 00000000..fe5d2411--- /dev/null+++ b/tests/integration/cases/space_ops_quaternion_demo/ce.mkv.sha256@@ -0,0 +1 @@+e0e06060eb8aaab2b973e6bef5e75eb3548dcb2f3d829a9db7a16dfde34775cc ce.mkvdiff --git a/tests/integration/cases/space_ops_quaternion_demo/manimgx.mkv.sha256 b/tests/integration/cases/space_ops_quaternion_demo/manimgx.mkv.sha256new file mode 100644index 00000000..6cd7bd50--- /dev/null+++ b/tests/integration/cases/space_ops_quaternion_demo/manimgx.mkv.sha256@@ -0,0 +1 @@+f9e0819354832f0625a81b1d3b436d8a91a9dc78c609623940ac3b87ba4d977e manimgx.mkvdiff --git a/tests/integration/cases/space_ops_quaternion_demo/scene.py b/tests/integration/cases/space_ops_quaternion_demo/scene.pynew file mode 100644index 00000000..18bfdd58--- /dev/null+++ b/tests/integration/cases/space_ops_quaternion_demo/scene.py@@ -0,0 +1,75 @@+# Source: manim/utils/space_ops.py+import numpy as np++import manimgx as m+from manimgx import (+ rotation_matrix_from_quaternion,+ rotation_matrix_transpose_from_quaternion,+)+++class SpaceOpsQuaternionDemo(m.Scene):+ def construct(self):+ # Build a quaternion from angle+axis, then derive a rotation matrix+ # and apply it to a triangle.+ q1 = m.quaternion_from_angle_axis(np.pi / 3, np.array([0.0, 0.0, 1.0]))+ R1 = rotation_matrix_from_quaternion(np.asarray(q1, dtype=float))+ tri_pts = np.array([[0.7, 0.0, 0.0], [-0.4, 0.6, 0.0], [-0.4, -0.6, 0.0]])+ rotated1 = np.array([R1[:3, :3] @ p for p in tri_pts]) + np.array(+ [-4.5, 1.8, 0.0]+ )+ tri1 = m.Polygon(*rotated1, color=m.BLUE)++ # quaternion_mult: apply two successive rotations as one quaternion.+ q2 = m.quaternion_from_angle_axis(np.pi / 4, np.array([0.0, 0.0, 1.0]))+ q12 = m.quaternion_mult(q1, q2)+ R12 = rotation_matrix_from_quaternion(np.asarray(q12, dtype=float))+ rotated2 = np.array([R12[:3, :3] @ p for p in tri_pts]) + np.array(+ [-1.8, 1.8, 0.0]+ )+ tri2 = m.Polygon(*rotated2, color=m.GREEN)++ # quaternion_conjugate: applying the conjugate undoes the rotation.+ q1_arr = np.asarray(q1, dtype=float)+ q1_conj = m.quaternion_conjugate(q1_arr)+ q_identity = m.quaternion_mult(q1_arr, q1_conj)+ R_id = rotation_matrix_from_quaternion(np.asarray(q_identity, dtype=float))+ identity_pts = np.array([R_id[:3, :3] @ p for p in tri_pts]) + np.array(+ [1.8, 1.8, 0.0]+ )+ tri_id = m.Polygon(*identity_pts, color=m.YELLOW)++ # angle_axis_from_quaternion: recover the angle, draw arrows whose+ # length matches the recovered angle.+ angle, axis = m.angle_axis_from_quaternion(q1_arr)+ len_arrow = float(angle) * 0.6+ origin = np.array([4.5, 1.8, 0.0])+ arrow = m.Arrow(+ origin, origin + np.array([len_arrow, 0.0, 0.0]), color=m.RED, buff=0+ )+ axis_arrow = m.Arrow(+ origin + np.array([0.0, -0.5, 0.0]),+ origin + np.array([0.0, -0.5, 0.0]) + 0.6 * np.asarray(axis),+ color=m.PURPLE,+ buff=0,+ )++ # rotation_matrix_transpose_from_quaternion: rotate the basis the+ # other way and visualize as a polygon.+ rows = rotation_matrix_transpose_from_quaternion(q1_arr)+ R_T = np.array(rows)+ rotated3 = np.array([R_T @ p for p in tri_pts]) + np.array([-4.5, -1.8, 0.0])+ tri3 = m.Polygon(*rotated3, color=m.ORANGE)++ # Compose multiple quaternion products to spin a polygon several+ # times.+ q_step = m.quaternion_from_angle_axis(np.pi / 6, np.array([0.0, 0.0, 1.0]))+ q_total = m.quaternion_mult(q_step, q_step, q_step)+ R_total = rotation_matrix_from_quaternion(np.asarray(q_total, dtype=float))+ rotated4 = np.array([R_total[:3, :3] @ p for p in tri_pts]) + np.array(+ [-1.8, -1.8, 0.0]+ )+ tri4 = m.Polygon(*rotated4, color=m.PINK)++ self.add(tri1, tri2, tri_id, arrow, axis_arrow, tri3, tri4)+ self.wait()diff --git a/tests/integration/cases/space_ops_rotation_demo/case.json b/tests/integration/cases/space_ops_rotation_demo/case.jsonnew file mode 100644index 00000000..cec41a99--- /dev/null+++ b/tests/integration/cases/space_ops_rotation_demo/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:deab3be72aaef0e7695c13b538706ca5aa56a59801bf3e49a48a6b4c3ddce955",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["de4ad2296f3f95c4", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:ded299ca4ab1e417318b0c91b5c3588c185c9fcc78985290f4e42f71b503b64d"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["5d6d0e7e4b5616a1", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:e8c8ff2c8a7461044b4fb9ffbe2da117b9784596b80a909f9deae2a4c9b284dc"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 4.04, 0.01, 0.36, 60.0],+ [1, 1, 4.04, 0.01, 0.36, 60.0],+ [2, 2, 4.04, 0.01, 0.36, 60.0],+ [3, 3, 4.04, 0.01, 0.36, 60.0],+ [4, 4, 4.04, 0.01, 0.36, 60.0],+ [5, 5, 4.04, 0.01, 0.36, 60.0],+ [6, 6, 4.04, 0.01, 0.36, 60.0],+ [7, 7, 4.04, 0.01, 0.36, 60.0],+ [8, 8, 4.04, 0.01, 0.36, 60.0],+ [9, 9, 4.04, 0.01, 0.36, 60.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/space_ops_rotation_demo/ce.mkv.sha256 b/tests/integration/cases/space_ops_rotation_demo/ce.mkv.sha256new file mode 100644index 00000000..09e805d7--- /dev/null+++ b/tests/integration/cases/space_ops_rotation_demo/ce.mkv.sha256@@ -0,0 +1 @@+247c2475fb3be4c6ba5eef8a4653671fc999c2de2fc5e5ccc3e7ad8dace585bd ce.mkvdiff --git a/tests/integration/cases/space_ops_rotation_demo/manimgx.mkv.sha256 b/tests/integration/cases/space_ops_rotation_demo/manimgx.mkv.sha256new file mode 100644index 00000000..270c3de2--- /dev/null+++ b/tests/integration/cases/space_ops_rotation_demo/manimgx.mkv.sha256@@ -0,0 +1 @@+7ce8a9f5bc05844e47c36b3ebe4286a089c8b58ce127d08aea218c5195e1ffc9 manimgx.mkvdiff --git a/tests/integration/cases/space_ops_rotation_demo/scene.py b/tests/integration/cases/space_ops_rotation_demo/scene.pynew file mode 100644index 00000000..2f92cd61--- /dev/null+++ b/tests/integration/cases/space_ops_rotation_demo/scene.py@@ -0,0 +1,55 @@+# Source: manim/utils/space_ops.py+import numpy as np++import manimgx as m+from manimgx import rotation_matrix_transpose+++class SpaceOpsRotationDemo(m.Scene):+ def construct(self):+ # rotation_about_z: rotate a square by 30 degrees.+ rot_z = m.rotation_about_z(np.pi / 6)+ base_pts = np.array(+ [[0.6, 0.0, 0.0], [0.0, 0.6, 0.0], [-0.6, 0.0, 0.0], [0.0, -0.6, 0.0]]+ )+ rotated = np.array([rot_z @ p for p in base_pts]) + np.array([-4.5, 1.8, 0.0])+ rotated_poly = m.Polygon(*rotated, color=m.BLUE)++ # rotate_vector: rotate a vector via the helper.+ v = np.array([1.2, 0.0, 0.0])+ v_rot = m.rotate_vector(v, np.pi / 3)+ origin = np.array([-1.8, 1.8, 0.0])+ arrow_a = m.Arrow(origin, origin + v, color=m.YELLOW, buff=0)+ arrow_b = m.Arrow(origin, origin + v_rot, color=m.GREEN, buff=0)++ # z_to_vector: derive a basis that maps +Z to a given direction.+ target_dir = np.array([1.0, 1.0, 0.5])+ basis = m.z_to_vector(target_dir)+ local_z = basis @ np.array([0.0, 0.0, 1.0])+ local_z = local_z / np.linalg.norm(local_z)+ arrow_z = m.Arrow(+ np.array([1.8, 1.8, 0.0]),+ np.array([1.8, 1.8, 0.0]) + local_z,+ color=m.RED,+ buff=0,+ )++ # thick_diagonal: visualize an integer matrix as colored squares.+ td = m.thick_diagonal(5, thickness=2)+ cells = m.VGroup()+ cell_size = 0.3+ origin2 = np.array([4.0, 2.6, 0.0])+ for i in range(5):+ for j in range(5):+ color = m.WHITE if td[i, j] == 1 else m.DARK_GRAY+ sq = m.Square(side_length=cell_size, color=color, fill_opacity=1)+ sq.move_to(origin2 + np.array([j * cell_size, -i * cell_size, 0.0]))+ cells.add(sq)++ # rotation_matrix_transpose: rotation about a non-Z axis, transposed.+ rmt = rotation_matrix_transpose(np.pi / 4, np.array([0.0, 0.0, 1.0]))+ rmt_pts = np.array([rmt @ p for p in base_pts]) + np.array([-4.5, -1.6, 0.0])+ rmt_poly = m.Polygon(*rmt_pts, color=m.PURPLE)++ self.add(rotated_poly, arrow_a, arrow_b, arrow_z, cells, rmt_poly)+ self.wait()diff --git a/tests/integration/cases/tetrahedron_scene/case.json b/tests/integration/cases/tetrahedron_scene/case.jsonnew file mode 100644index 00000000..fde799be--- /dev/null+++ b/tests/integration/cases/tetrahedron_scene/case.json@@ -0,0 +1,42 @@+{+ "source": "sha256:4562c6ced59f6ee2ef9b9634dd168a190c18e4681e117d371927987f5a2c0260",+ "size": [960, 540],+ "fps": 10,+ "manimgx": {+ "duration": 1.0,+ "frames": [+ ["ef674b717cd49a1b", 11]+ ],+ "timeline": [+ [0.0, 11]+ ],+ "id": "sha256:59c1e8418af0166e5dc1dd49a2a5574dff6a7ce6434529f68fc775d1430725ab"+ },+ "ce": {+ "manim": "0.21.0",+ "duration": 1.0,+ "frames": [+ ["c90b08c2a75ed23d", 10]+ ],+ "timeline": [+ [0.0, 10]+ ],+ "id": "sha256:333ba51235bdd05e8cda8d86fe727fe9d17d68a21bb11aec3da6a95ae2fd82df"+ },+ "comparison": {+ "metrics": ["local_max", "mae", "rmse", "max"],+ "pairs": [+ [0, 0, 83.84, 0.09, 1.98, 228.0],+ [1, 1, 83.84, 0.09, 1.98, 228.0],+ [2, 2, 83.84, 0.09, 1.98, 228.0],+ [3, 3, 83.84, 0.09, 1.98, 228.0],+ [4, 4, 83.84, 0.09, 1.98, 228.0],+ [5, 5, 83.84, 0.09, 1.98, 228.0],+ [6, 6, 83.84, 0.09, 1.98, 228.0],+ [7, 7, 83.84, 0.09, 1.98, 228.0],+ [8, 8, 83.84, 0.09, 1.98, 228.0],+ [9, 9, 83.84, 0.09, 1.98, 228.0]+ ],+ "unpaired": []+ }+}diff --git a/tests/integration/cases/tetrahedron_scene/ce.mkv.sha256 b/tests/integration/cases/tetrahedron_scene/ce.mkv.sha256new file mode 100644index 00000000..7183cccb--- /dev/null+++ b/tests/integration/cases/tetrahedron_scene/ce.mkv.sha256@@ -0,0 +1 @@+55227a37cfaee5bc96e54e8074e559b3ccb92ee90a49f5ac57a0ae753cb32c79 ce.mkvdiff --git a/tests/integration/cases/tetrahedron_scene/manimgx.mkv.sha256 b/tests/integration/cases/tetrahedron_scene/manimgx.mkv.sha256new file mode 100644index 00000000..db6a26ea--- /dev/null+++ b/tests/integration/cases/tetrahedron_scene/manimgx.mkv.sha256@@ -0,0 +1 @@+0653469760dd877379287932bae82a5ecf750419c2f6f6f86bdc48d3d94af33c manimgx.mkvdiff --git a/tests/integration/cases/tetrahedron_scene/review.json b/tests/integration/cases/tetrahedron_scene/review.jsonnew file mode 100644index 00000000..180e54d6--- /dev/null+++ b/tests/integration/cases/tetrahedron_scene/review.json@@ -0,0 +1,8 @@+{+ "verdict": "working",+ "note": "Codex visual review of the compact Surface topology reference update: unique sample positions and derived cell topology preserve the reviewed geometry, lighting and color behavior; changed floating-point packing produces sparse raster/edge/stroke differences. Baseline and candidate movies were compared across all 11 frames; frame count, duration and timeline are unchanged. Largest changed area: 4 pixels/frame out of 518400; maximum channel delta 68/255; maximum frame RMSE 0.070656/255. This is a new review, not an attribution to an earlier reviewer, and it does not assert Manim CE equivalence. CE comparisons were recomputed from this movie and the existing unchanged CE movie; the automatic CE verdict remains authoritative. Evidence: topology-v3 proof sha256:91f4ac3378af19d1782176eade8c2868aa74fa1a4e10cd124400c35886c55929.",+ "source": "sha256:4562c6ced59f6ee2ef9b9634dd168a190c18e4681e117d371927987f5a2c0260",+ "manimgx": "sha256:59c1e8418af0166e5dc1dd49a2a5574dff6a7ce6434529f68fc775d1430725ab",+ "ce": "sha256:333ba51235bdd05e8cda8d86fe727fe9d17d68a21bb11aec3da6a95ae2fd82df",+ "at": "2026-10-04"+}diff --git a/tests/integration/cases/tetrahedron_scene/scene.py b/tests/integration/cases/tetrahedron_scene/scene.pynew file mode 100644index 00000000..d52fb950--- /dev/null+++ b/tests/integration/cases/tetrahedron_scene/scene.py@@ -0,0 +1,10 @@+# Source: manim/mobject/three_d/polyhedra.py+import manimgx as m+++class TetrahedronScene(m.ThreeDScene):+ def construct(self):+ self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)+ obj = m.Tetrahedron()+ self.add(obj)+ self.wait()