Skip to content

The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.

Python

Add calculus, series and convolution demonstrations

apoogdk505765547590
diff --git a/tests/integration/cases/antiderivative_example/case.json b/tests/integration/cases/antiderivative_example/case.json
new file mode 100644
index 00000000..2e99ea20
--- /dev/null
+++ b/tests/integration/cases/antiderivative_example/case.json
@@ -0,0 +1,42 @@
+{
+ "source": "sha256:c386907b032a7e0b5446b69d1c45e6d45311fc1e6e7c4b180b6fd59e540d073c",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 1.0,
+ "frames": [
+ ["7eb0787902e20e8d", 11]
+ ],
+ "timeline": [
+ [0.0, 11]
+ ],
+ "id": "sha256:805dd9db7bb76d4a0ce1071fdd0e953f37f6a9295e1016f8fc6ead982c7b248f"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 1.0,
+ "frames": [
+ ["de1b9131f45e185c", 10]
+ ],
+ "timeline": [
+ [0.0, 10]
+ ],
+ "id": "sha256:ab6a7711ec691752a6f612b0cfab05fa98ff806f49415ababac0126a1c0132a8"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 5.37, 0.03, 0.48, 54.0],
+ [1, 1, 5.37, 0.03, 0.48, 54.0],
+ [2, 2, 5.37, 0.03, 0.48, 54.0],
+ [3, 3, 5.37, 0.03, 0.48, 54.0],
+ [4, 4, 5.37, 0.03, 0.48, 54.0],
+ [5, 5, 5.37, 0.03, 0.48, 54.0],
+ [6, 6, 5.37, 0.03, 0.48, 54.0],
+ [7, 7, 5.37, 0.03, 0.48, 54.0],
+ [8, 8, 5.37, 0.03, 0.48, 54.0],
+ [9, 9, 5.37, 0.03, 0.48, 54.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/antiderivative_example/ce.mkv.sha256 b/tests/integration/cases/antiderivative_example/ce.mkv.sha256
new file mode 100644
index 00000000..ac5e6135
--- /dev/null
+++ b/tests/integration/cases/antiderivative_example/ce.mkv.sha256
@@ -0,0 +1 @@
+28784eb0a473ce1295844b3237a0360635297d7996ea533e40e6dcca2c528208 ce.mkv
diff --git a/tests/integration/cases/antiderivative_example/manimgx.mkv.sha256 b/tests/integration/cases/antiderivative_example/manimgx.mkv.sha256
new file mode 100644
index 00000000..75e7db5b
--- /dev/null
+++ b/tests/integration/cases/antiderivative_example/manimgx.mkv.sha256
@@ -0,0 +1 @@
+1e46acb653bd72cebc0af0ae833af66161e9344b1194d0bbd2fb6c2c3b36263c manimgx.mkv
diff --git a/tests/integration/cases/antiderivative_example/scene.py b/tests/integration/cases/antiderivative_example/scene.py
new file mode 100644
index 00000000..06503a16
--- /dev/null
+++ b/tests/integration/cases/antiderivative_example/scene.py
@@ -0,0 +1,14 @@
+# Source: manim/mobject/graphing/coordinate_systems.py
+import manimgx as m
+
+
+class AntiderivativeExample(m.Scene):
+ def construct(self):
+ ax = m.Axes()
+ graph1 = ax.plot(
+ lambda x: (x**2 - 2) / 3,
+ color=m.RED,
+ )
+ graph2 = ax.plot_antiderivative_graph(graph1, color=m.BLUE)
+ self.add(ax, graph1, graph2)
+ self.wait()
diff --git a/tests/integration/cases/basel_indicator_scaling/case.json b/tests/integration/cases/basel_indicator_scaling/case.json
new file mode 100644
index 00000000..da03debf
--- /dev/null
+++ b/tests/integration/cases/basel_indicator_scaling/case.json
@@ -0,0 +1,220 @@
+{
+ "source": "sha256:4e9f4dd52cdaad4dbadf9156fa5993d32be28d8909908a6b40617603e654682c",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["20c6c065d561befb", 1],
+ ["08cbf0de90da7c23", 1],
+ ["2c6641607f73260b", 1],
+ ["9ac12d7368623ca6", 1],
+ ["656910ed6ca3aea0", 1],
+ ["a70612617ee51891", 1],
+ ["85367e5f4912deba", 1],
+ ["901b949cb0b1ebf7", 1],
+ ["6f2e42346f51bc9c", 1],
+ ["c9bdd8b64ca7f6ef", 1],
+ ["570681e1528299d8", 1],
+ ["d8a0c5ce46ad17dc", 1],
+ ["01708a373de75b37", 1],
+ ["b323b20ab9ee304c", 1],
+ ["050fbfb17fffb09d", 1],
+ ["c046885d0a4df092", 1],
+ ["e574213efb271b5f", 1],
+ ["2f664298f1ac4802", 1],
+ ["1e9ff0d2a2709576", 1],
+ ["851ffa696b57e62b", 1],
+ ["43f522df6216b592", 1],
+ ["bccf85cb499bb782", 1],
+ ["80da83df954f93a5", 1],
+ ["52ab3855b53739fd", 1],
+ ["a3e5f880a53ec1d9", 1],
+ ["00ced09e853fd33e", 1],
+ ["dbd9ed94cdbc77e6", 1],
+ ["4c27d9ea0d4f3d2c", 1],
+ ["37c1cb7c9ab0ebe8", 1],
+ ["4f23dbfb0974aa1e", 1],
+ ["4fa3986e7e86d996", 1],
+ ["b63fd2bbb2d58f8b", 1],
+ ["3d2b59fefefd8438", 1],
+ ["59fa191dabfb05f3", 1],
+ ["61f6435e3ddfe5b3", 1],
+ ["af8b0ad38a9048e3", 1],
+ ["adb06212eeaab1ec", 1],
+ ["2c74417e4071490b", 1],
+ ["af73666707d8dc74", 1],
+ ["110b54967cf1a36d", 1],
+ ["9c611df52bfce1ca", 1],
+ ["bd28c05279896542", 1],
+ ["5bc457ff00b9f913", 1],
+ ["5d63971702a81c8a", 1],
+ ["8fa585d32b239aa3", 1],
+ ["f32b34895ea74b58", 1],
+ ["5347b36d03014a46", 1],
+ ["6c1ce55fec652c94", 1],
+ ["a566477a7437101b", 1],
+ ["30b9d3220f2547dc", 1],
+ ["ec61431cfe377013", 1],
+ ["ff9e4eda8fa842c6", 1],
+ ["3cfbd3bcf0a03682", 1],
+ ["ea2f832a6e79ea94", 1],
+ ["90b93e3834b52ccc", 21]
+ ],
+ "timeline": [
+ [0.0, 76]
+ ],
+ "id": "sha256:8fef39c7b2b290e90c9b0b6510100fd171ca8dcacdabc8d4a7c17988c27ccbd7"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["398e24ed5f99930d", 1],
+ ["47217a06ba28d8e0", 1],
+ ["6041d7f7578beee9", 1],
+ ["110f73cd7c66b7e7", 1],
+ ["74b5679969a273fd", 1],
+ ["a8e13405913113ba", 1],
+ ["5b502a071932c741", 1],
+ ["853c874e3bd50f5d", 1],
+ ["116c2e4351526c91", 1],
+ ["0c905cf4fd72a8ce", 1],
+ ["3f9c37b33d4d4102", 1],
+ ["5dbb550fcfeb9c74", 1],
+ ["2739fd3790d4a491", 1],
+ ["359b833f9de74e03", 1],
+ ["7c99e91e4724f43a", 1],
+ ["e180ac8c5e53549d", 1],
+ ["5f7570ba9f639fdd", 1],
+ ["257860dc2622520b", 1],
+ ["264d3040856eea70", 1],
+ ["40352961d31d2a79", 1],
+ ["547729be20e5e0d5", 1],
+ ["bfcee7da6e424043", 1],
+ ["14d35ef31b753929", 1],
+ ["2efd9a1b75fd4917", 1],
+ ["2ab0c82ec612dcc8", 1],
+ ["0f36ff1edd94438e", 1],
+ ["49facd488b16a414", 1],
+ ["16b38b370469c6de", 1],
+ ["ad1aaeed089fc59c", 1],
+ ["fecd85ec9393c29e", 1],
+ ["0ba06f592ab99009", 1],
+ ["0fcba83c9ec4a393", 1],
+ ["bc525b6ee6ad1c32", 1],
+ ["3fd7e69fc75f711e", 1],
+ ["84cb597c0536f47c", 1],
+ ["9e2d72195dd1a47f", 1],
+ ["85802b9b56b810dd", 1],
+ ["f7ff1b5a7c96b032", 1],
+ ["86a19407bab4196a", 1],
+ ["7930587cd64a10d4", 1],
+ ["4325f469687d6db8", 1],
+ ["7ad21f4c4f1bcfd3", 1],
+ ["83753b02aa5b4237", 1],
+ ["fed2b7291cd6adb2", 1],
+ ["be994571273aa890", 1],
+ ["576f9b87638c9ce2", 1],
+ ["4c6e704192f25770", 1],
+ ["e6dbd5002fbff6c5", 1],
+ ["90630ce1a0c20c8c", 1],
+ ["3f038464016f659e", 1],
+ ["a4eca0bbd6701abc", 1],
+ ["ad2963e64de13e70", 1],
+ ["3ce4a25f1510a655", 1],
+ ["048b1d6a66036f6c", 1],
+ ["2c15f62644bba076", 20]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 25],
+ [3.5, 20],
+ [5.5, 20]
+ ],
+ "id": "sha256:ceb03cb4bc84a7cf39f052b066e755b1252aec661c1db99aa3a37fda650489f9"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 130.71, 0.21, 6.09, 255.0],
+ [2, 2, 148.0, 0.34, 7.38, 255.0],
+ [3, 3, 144.2, 0.36, 7.76, 255.0],
+ [4, 4, 152.2, 0.45, 9.09, 255.0],
+ [5, 5, 165.22, 0.49, 9.55, 255.0],
+ [6, 6, 146.29, 0.57, 10.3, 255.0],
+ [7, 7, 172.0, 0.68, 11.18, 255.0],
+ [8, 8, 159.96, 0.78, 12.07, 255.0],
+ [9, 9, 159.96, 0.75, 11.82, 255.0],
+ [10, 10, 159.96, 0.76, 12.01, 255.0],
+ [11, 11, 159.96, 0.77, 12.01, 255.0],
+ [12, 12, 159.96, 0.77, 12.01, 255.0],
+ [13, 13, 159.96, 0.77, 12.01, 255.0],
+ [14, 14, 159.96, 0.77, 12.01, 255.0],
+ [15, 15, 159.96, 0.77, 12.01, 255.0],
+ [16, 16, 159.96, 0.77, 12.01, 255.0],
+ [17, 17, 159.96, 0.77, 12.01, 255.0],
+ [18, 18, 159.96, 0.77, 12.01, 255.0],
+ [19, 19, 159.96, 0.78, 12.01, 255.0],
+ [20, 20, 159.96, 0.78, 12.01, 255.0],
+ [21, 21, 159.96, 0.77, 12.01, 255.0],
+ [22, 22, 159.96, 0.77, 12.01, 255.0],
+ [23, 23, 159.96, 0.78, 12.01, 255.0],
+ [24, 24, 159.96, 0.77, 12.01, 255.0],
+ [25, 25, 159.96, 0.77, 12.01, 255.0],
+ [26, 26, 159.96, 0.78, 12.01, 255.0],
+ [27, 27, 159.96, 0.78, 12.01, 255.0],
+ [28, 28, 159.96, 0.78, 12.01, 255.0],
+ [29, 29, 159.96, 0.78, 12.01, 255.0],
+ [30, 30, 159.96, 0.78, 12.01, 255.0],
+ [31, 31, 159.96, 0.78, 12.01, 255.0],
+ [32, 32, 159.96, 0.78, 12.01, 255.0],
+ [33, 33, 159.96, 0.78, 12.01, 255.0],
+ [34, 34, 159.96, 0.78, 12.01, 255.0],
+ [35, 35, 159.96, 0.78, 12.01, 255.0],
+ [36, 36, 159.96, 0.85, 12.58, 255.0],
+ [37, 37, 159.96, 0.93, 13.22, 255.0],
+ [38, 38, 159.96, 0.96, 13.38, 255.0],
+ [39, 39, 161.84, 0.99, 13.56, 255.0],
+ [40, 40, 159.96, 0.98, 13.34, 255.0],
+ [41, 41, 159.96, 0.97, 13.2, 255.0],
+ [42, 42, 159.96, 0.99, 13.44, 255.0],
+ [43, 43, 159.96, 1.02, 13.69, 255.0],
+ [44, 44, 164.78, 1.04, 13.87, 255.0],
+ [45, 45, 170.78, 1.07, 13.98, 255.0],
+ [46, 46, 184.22, 1.08, 14.07, 255.0],
+ [47, 47, 193.14, 1.11, 14.26, 255.0],
+ [48, 48, 159.96, 1.13, 14.28, 255.0],
+ [49, 49, 175.12, 1.16, 14.47, 255.0],
+ [50, 50, 159.96, 1.2, 14.74, 255.0],
+ [51, 51, 159.96, 1.23, 14.94, 255.0],
+ [52, 52, 159.96, 1.24, 14.97, 255.0],
+ [53, 53, 159.96, 1.23, 14.89, 255.0],
+ [54, 54, 159.96, 1.22, 14.81, 255.0],
+ [55, 55, 159.96, 1.22, 14.86, 255.0],
+ [56, 56, 159.96, 1.22, 14.86, 255.0],
+ [57, 57, 159.96, 1.22, 14.86, 255.0],
+ [58, 58, 159.96, 1.22, 14.86, 255.0],
+ [59, 59, 159.96, 1.22, 14.86, 255.0],
+ [60, 60, 159.96, 1.22, 14.86, 255.0],
+ [61, 61, 159.96, 1.22, 14.86, 255.0],
+ [62, 62, 159.96, 1.22, 14.86, 255.0],
+ [63, 63, 159.96, 1.22, 14.86, 255.0],
+ [64, 64, 159.96, 1.22, 14.86, 255.0],
+ [65, 65, 159.96, 1.22, 14.86, 255.0],
+ [66, 66, 159.96, 1.22, 14.86, 255.0],
+ [67, 67, 159.96, 1.22, 14.86, 255.0],
+ [68, 68, 159.96, 1.22, 14.86, 255.0],
+ [69, 69, 159.96, 1.22, 14.86, 255.0],
+ [70, 70, 159.96, 1.22, 14.86, 255.0],
+ [71, 71, 159.96, 1.22, 14.86, 255.0],
+ [72, 72, 159.96, 1.22, 14.86, 255.0],
+ [73, 73, 159.96, 1.22, 14.86, 255.0],
+ [74, 74, 159.96, 1.22, 14.86, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/basel_indicator_scaling/ce.mkv.sha256 b/tests/integration/cases/basel_indicator_scaling/ce.mkv.sha256
new file mode 100644
index 00000000..66d9cf28
--- /dev/null
+++ b/tests/integration/cases/basel_indicator_scaling/ce.mkv.sha256
@@ -0,0 +1 @@
+54f1cc37c2c8992c500f1166ca7f045d1fc471012f5695d120c99184e7709bc3 ce.mkv
diff --git a/tests/integration/cases/basel_indicator_scaling/manimgx.mkv.sha256 b/tests/integration/cases/basel_indicator_scaling/manimgx.mkv.sha256
new file mode 100644
index 00000000..dab2d25a
--- /dev/null
+++ b/tests/integration/cases/basel_indicator_scaling/manimgx.mkv.sha256
@@ -0,0 +1 @@
+aae71bb94155ea59a24761daeeba9e8591478e69257ecf9918af59d6f3509c51 manimgx.mkv
diff --git a/tests/integration/cases/basel_indicator_scaling/review.json b/tests/integration/cases/basel_indicator_scaling/review.json
new file mode 100644
index 00000000..6888bef5
--- /dev/null
+++ b/tests/integration/cases/basel_indicator_scaling/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:4e9f4dd52cdaad4dbadf9156fa5993d32be28d8909908a6b40617603e654682c",
+ "manimgx": "sha256:8fef39c7b2b290e90c9b0b6510100fd171ca8dcacdabc8d4a7c17988c27ccbd7",
+ "ce": "sha256:ceb03cb4bc84a7cf39f052b066e755b1252aec661c1db99aa3a37fda650489f9",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/basel_indicator_scaling/scene.py b/tests/integration/cases/basel_indicator_scaling/scene.py
new file mode 100644
index 00000000..fd33a76d
--- /dev/null
+++ b/tests/integration/cases/basel_indicator_scaling/scene.py
@@ -0,0 +1,48 @@
+import manimgx as m
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = (
+ m.MathTex(
+ "\\sum_{n=1}^{\\infty} \\frac{1}{n^2} = \\frac{\\pi^2}{6}",
+ )
+ .scale(1.0)
+ .to_edge(m.UP, buff=0.3)
+ )
+ self.play(m.Write(title))
+
+ ax = m.Axes(
+ x_range=[0, 12, 1],
+ y_range=[0, 1.2, 0.5],
+ x_length=10,
+ y_length=4,
+ ).shift(m.DOWN * 0.3)
+ self.add(ax)
+
+ bars = m.VGroup()
+ for n in range(1, 11):
+ h = 1.0 / (n * n)
+ bar = m.Rectangle(
+ width=0.5,
+ height=h * 3.2,
+ color=m.YELLOW,
+ fill_color=m.YELLOW,
+ fill_opacity=0.65,
+ stroke_width=1,
+ ).move_to(ax.c2p(n, h / 2))
+ bars.add(bar)
+ self.play(
+ m.LaggedStart(*[m.FadeIn(b) for b in bars], lag_ratio=0.1), run_time=2.5
+ )
+
+ partial = sum(1.0 / (n * n) for n in range(1, 11))
+ partial_label = (
+ m.MathTex(
+ f"\\sum_{{n=1}}^{{10}} \\tfrac{{1}}{{n^2}} \\approx {partial:.4f}",
+ )
+ .scale(0.7)
+ .to_edge(m.DOWN, buff=0.45)
+ )
+ self.play(m.Write(partial_label))
+ self.wait(2.0)
diff --git a/tests/integration/cases/basel_integral_proof_visualization/case.json b/tests/integration/cases/basel_integral_proof_visualization/case.json
new file mode 100644
index 00000000..815a558b
--- /dev/null
+++ b/tests/integration/cases/basel_integral_proof_visualization/case.json
@@ -0,0 +1,310 @@
+{
+ "source": "sha256:dab49e260ea485789f979b9b2f84b35d6f9f8ad2bb98e11b7f2fbe9970f26ca6",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 9.3,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["97fe689fb528d35a", 1],
+ ["7412f4b4e17cd133", 1],
+ ["98575b6b959f85a5", 1],
+ ["5a212e8f4af95a86", 1],
+ ["3856236e654aebbd", 1],
+ ["35d067af45e8b1a4", 1],
+ ["cb2763255d19f801", 1],
+ ["15fcab61c174fa13", 1],
+ ["85e72f95fbd0c6f5", 1],
+ ["e59eddec36c4c61e", 1],
+ ["203ee8cafbb3b172", 1],
+ ["dc9b57f50fbd513a", 1],
+ ["3e5d484048b52719", 1],
+ ["4c3315728709b9e2", 1],
+ ["b7e8aab8a405d49e", 1],
+ ["9b68b5c343c51f63", 1],
+ ["6cc64e4422a54469", 1],
+ ["6abb8f5a4800aa61", 1],
+ ["f18644f0a47acbb7", 1],
+ ["d51e85911ffd8552", 1],
+ ["e7e7bcd25117c980", 1],
+ ["da6a89387604b467", 1],
+ ["57b501315ae84d2f", 1],
+ ["9a09ce46d813301c", 1],
+ ["0a7bdb8065a38a2c", 1],
+ ["604f0031b8214fc0", 1],
+ ["77da6a730b38cf56", 1],
+ ["c7cba3afd4e920e2", 1],
+ ["7ef9dd4c0b317e53", 1],
+ ["6ae5f34e04999c69", 1],
+ ["fde71a0c8f278f8d", 1],
+ ["d79582a1129939ea", 1],
+ ["440250a82d6a126a", 1],
+ ["41c340616ba354d2", 1],
+ ["508088c2cb373423", 1],
+ ["dba0e280d2e1aa9f", 1],
+ ["abf787ca8bbaba8f", 1],
+ ["2a6c6a05eba33792", 1],
+ ["fd88596ac1a34d08", 1],
+ ["87c4ccbaea92a8ca", 1],
+ ["8c7a218eac09f37e", 1],
+ ["85592018aca887f3", 1],
+ ["fc2d09e60a81069d", 1],
+ ["1a0e250718786a50", 1],
+ ["3d90d4f0d702b045", 1],
+ ["33e55b071f6d9af5", 1],
+ ["1e5dfdfca6440534", 1],
+ ["ec0aa083737abb89", 1],
+ ["3b1346c503add476", 1],
+ ["9dbd551875b2ab46", 1],
+ ["981719567cfc84ab", 1],
+ ["c7e3fb04ac59823d", 1],
+ ["2457361c12ee700a", 1],
+ ["1a11164ee55d9334", 1],
+ ["337a058a24e9769e", 1],
+ ["a48223a90eb81988", 1],
+ ["4931771f76e6d11a", 1],
+ ["8ebf3b4db06dec14", 1],
+ ["b47ecafc2efb1e31", 1],
+ ["1538b0757bfc120b", 1],
+ ["4f022641b8587569", 1],
+ ["7163ba1a7c17ba5b", 1],
+ ["bf7509ffcd834b27", 1],
+ ["7aa365705f16cc45", 1],
+ ["334161a52e9500c3", 1],
+ ["c6237c828155b191", 1],
+ ["54b173fb452066c7", 1],
+ ["baacb6ed8423ddad", 1],
+ ["23f398eced692350", 1],
+ ["cd789ad86a694d8b", 1],
+ ["c952fb14b36ca7a7", 1],
+ ["cf148386c8443a82", 1],
+ ["be406c2d6555345a", 1],
+ ["04028f69deaeaebe", 1],
+ ["dbf7050f65032307", 1],
+ ["2dedda1b6c54ddcb", 1],
+ ["964a459866258b17", 1],
+ ["498347253b737e10", 16]
+ ],
+ "timeline": [
+ [0.0, 94]
+ ],
+ "id": "sha256:9a910d6401a081e574c258d453fbb154f19875e6fb8ccb0fbdaf2b18a1a2ac9f"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 9.3,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["cae8e3e815bb9cf3", 1],
+ ["d63292bc7dc48a8c", 1],
+ ["96d7a3abdc62596a", 1],
+ ["5b364fd5828ad7c7", 1],
+ ["09ff0a45535d26d1", 1],
+ ["cad8721a3e9456a2", 1],
+ ["0a3ac45210395e85", 1],
+ ["7c555b718a71ddeb", 1],
+ ["74ca6a1b6e6436e5", 1],
+ ["4747e1c0dff55eda", 1],
+ ["4229af481b6e4210", 1],
+ ["33c362b226d24fcc", 1],
+ ["25e4bb4e65c83e2e", 1],
+ ["012945b49d56d4eb", 1],
+ ["6a7ab4e37bc718d5", 1],
+ ["63e64b8547e00b87", 1],
+ ["920c1ee4ff3fc98b", 1],
+ ["f146fd21a3934375", 1],
+ ["f7fb27f5b0fcb7a4", 1],
+ ["3b1a2b38b923b68b", 1],
+ ["a9466e7d87f57af5", 1],
+ ["f23555beb6bfd8a7", 1],
+ ["6191c5732108fbcf", 1],
+ ["8623b5be4c16762b", 1],
+ ["c8e13a45d698cb54", 1],
+ ["c57721f6d03d86ad", 1],
+ ["3363212f58e12575", 1],
+ ["62d5e8615e76ee12", 1],
+ ["5029d7a3d587d85a", 1],
+ ["156d785eb4269206", 1],
+ ["78dcfb6e7246bf54", 1],
+ ["6f4993455c74bdd9", 1],
+ ["53823943179b3165", 1],
+ ["fdff001586358aab", 1],
+ ["cecc9292553c48eb", 1],
+ ["05f133064d3a29ac", 1],
+ ["2a5e42c0c71df440", 1],
+ ["6657c3dc391c8182", 1],
+ ["080961ff841c9e83", 1],
+ ["4420720e801116e6", 1],
+ ["9a7fdd995c6706a8", 1],
+ ["ff6864581dbc267d", 1],
+ ["502b720674a57684", 1],
+ ["34bc717e49dc912a", 1],
+ ["25a06e195b61d213", 1],
+ ["a0ad534403add7e7", 1],
+ ["ff591fb352cefa26", 1],
+ ["521c0ecd7fdd660a", 1],
+ ["76a4e9b9404b240f", 1],
+ ["46b24541a6f5d888", 1],
+ ["71be5b9bb1b2b45f", 1],
+ ["ca4f6d56510c0792", 1],
+ ["a173140cc9cbd99b", 1],
+ ["228a21b9350b9474", 1],
+ ["d9ba001f9fcfad12", 1],
+ ["4e00adab93d6b61c", 1],
+ ["5b4066063eb1493c", 1],
+ ["1ba31bb941fbae96", 1],
+ ["c19c6b35c0e262be", 1],
+ ["8428e84be7671f1a", 1],
+ ["c2bca937a06726c9", 1],
+ ["ed2b00d9fde1bddb", 1],
+ ["fff0a7313d9a9886", 1],
+ ["c649ebff8f05c076", 1],
+ ["4c39743198791f4b", 1],
+ ["3ecfcaa34d71d2cc", 1],
+ ["2a397085f81e6d8b", 1],
+ ["f1cfebe051dc5b5c", 1],
+ ["6e80f9a7e7819dd7", 1],
+ ["d818830909899b85", 1],
+ ["5ceff548f966026e", 1],
+ ["71e92a4afe4c752c", 1],
+ ["6d57d6a3e23f9de7", 1],
+ ["2954d885928ebcab", 1],
+ ["e417d3b04b68754b", 1],
+ ["136d177a7935c7ef", 1],
+ ["8e5eb47ec54def78", 1],
+ ["a249dee107d3dabb", 1],
+ ["66c0b6e4ca5dbd32", 1],
+ ["ae278eb79f65171e", 1],
+ ["8fc99e736fc0e69a", 1],
+ ["c6ae486679070ca2", 1],
+ ["da3253c40c9d6671", 1],
+ ["768da3444a724536", 1],
+ ["2ec7a76241ba12a9", 1],
+ ["8073bfe409d0cd7f", 1],
+ ["5b58c188bb61285b", 1],
+ ["abfa3336ae606b3c", 1],
+ ["104661c376fcbc2a", 1],
+ ["980261c6d3cc85f0", 15]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 4],
+ [3.32, 4],
+ [3.64, 4],
+ [3.96, 4],
+ [4.28, 4],
+ [4.6, 4],
+ [4.92, 4],
+ [5.24, 4],
+ [5.56, 4],
+ [5.88, 4],
+ [6.2, 4],
+ [6.52, 4],
+ [6.84, 4],
+ [7.16, 4],
+ [7.48, 4],
+ [7.8, 15]
+ ],
+ "id": "sha256:f5aaad7c13cc24900443d216fe3b52a135024434dad52a47f674e12ce2083a41"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 95.35, 0.13, 4.97, 255.0],
+ [2, 2, 157.37, 0.27, 7.14, 255.0],
+ [3, 3, 164.43, 0.35, 7.69, 255.0],
+ [4, 4, 171.2, 0.4, 8.34, 255.0],
+ [5, 5, 203.55, 0.46, 9.46, 255.0],
+ [6, 6, 203.55, 0.49, 9.74, 255.0],
+ [7, 7, 203.55, 0.51, 9.96, 255.0],
+ [8, 8, 203.55, 0.53, 10.12, 255.0],
+ [9, 9, 203.55, 0.62, 10.91, 255.0],
+ [10, 10, 203.55, 0.67, 11.31, 255.0],
+ [11, 11, 203.55, 0.7, 11.53, 255.0],
+ [12, 12, 203.55, 0.75, 11.91, 255.0],
+ [13, 13, 203.55, 0.82, 12.41, 255.0],
+ [14, 14, 203.55, 0.86, 12.63, 255.0],
+ [15, 15, 203.55, 0.93, 13.14, 255.0],
+ [16, 16, 203.55, 1.03, 14.0, 255.0],
+ [17, 17, 203.55, 1.12, 14.54, 255.0],
+ [18, 18, 203.55, 1.12, 14.57, 255.0],
+ [19, 19, 203.55, 1.1, 14.48, 255.0],
+ [20, 20, 203.55, 1.17, 14.79, 255.0],
+ [21, 21, 203.55, 1.17, 14.8, 255.0],
+ [22, 22, 203.55, 1.17, 14.79, 255.0],
+ [23, 23, 203.55, 1.17, 14.8, 255.0],
+ [24, 24, 203.55, 1.17, 14.79, 255.0],
+ [25, 25, 203.55, 1.17, 14.79, 255.0],
+ [26, 26, 203.55, 1.17, 14.79, 255.0],
+ [27, 27, 203.55, 1.17, 14.8, 255.0],
+ [28, 28, 203.55, 1.17, 14.79, 255.0],
+ [29, 29, 203.55, 1.17, 14.79, 255.0],
+ [30, 30, 203.55, 1.17, 14.79, 255.0],
+ [31, 31, 203.55, 1.17, 14.79, 255.0],
+ [32, 32, 203.55, 1.17, 14.79, 255.0],
+ [33, 33, 203.55, 1.17, 14.79, 255.0],
+ [34, 34, 203.55, 1.17, 14.8, 255.0],
+ [35, 35, 203.55, 1.21, 14.88, 255.0],
+ [36, 36, 203.55, 1.21, 14.86, 255.0],
+ [38, 37, 203.55, 1.21, 14.84, 255.0],
+ [39, 38, 203.55, 1.22, 14.87, 255.0],
+ [40, 39, 203.55, 1.23, 14.87, 255.0],
+ [42, 40, 203.55, 1.22, 14.86, 255.0],
+ [43, 41, 203.55, 1.22, 14.87, 255.0],
+ [44, 42, 203.55, 1.23, 14.88, 255.0],
+ [46, 43, 203.55, 1.23, 14.87, 255.0],
+ [47, 44, 203.55, 1.23, 14.87, 255.0],
+ [48, 45, 203.55, 1.23, 14.88, 255.0],
+ [50, 46, 203.55, 1.23, 14.88, 255.0],
+ [51, 47, 203.55, 1.23, 14.88, 255.0],
+ [52, 48, 203.55, 1.23, 14.88, 255.0],
+ [53, 49, 203.55, 1.23, 14.88, 255.0],
+ [54, 50, 203.55, 1.23, 14.88, 255.0],
+ [55, 51, 203.55, 1.24, 14.9, 255.0],
+ [56, 52, 203.55, 1.24, 14.89, 255.0],
+ [58, 53, 203.55, 1.24, 14.88, 255.0],
+ [59, 54, 203.55, 1.24, 14.89, 255.0],
+ [60, 55, 203.55, 1.24, 14.89, 255.0],
+ [62, 56, 203.55, 1.24, 14.88, 255.0],
+ [63, 57, 203.55, 1.24, 14.88, 255.0],
+ [64, 58, 203.55, 1.24, 14.89, 255.0],
+ [66, 59, 203.55, 1.24, 14.88, 255.0],
+ [67, 60, 203.55, 1.24, 14.88, 255.0],
+ [68, 61, 203.55, 1.24, 14.88, 255.0],
+ [70, 62, 203.55, 1.24, 14.88, 255.0],
+ [71, 63, 203.55, 1.24, 14.88, 255.0],
+ [72, 64, 203.55, 1.24, 14.88, 255.0],
+ [73, 65, 203.55, 1.24, 14.88, 255.0],
+ [74, 66, 203.55, 1.24, 14.88, 255.0],
+ [75, 67, 203.55, 1.24, 14.9, 255.0],
+ [76, 68, 203.55, 1.24, 14.89, 255.0],
+ [78, 69, 203.55, 1.24, 14.88, 255.0],
+ [79, 70, 203.55, 1.24, 14.89, 255.0],
+ [80, 71, 203.55, 1.24, 14.89, 255.0],
+ [82, 72, 203.55, 1.24, 14.88, 255.0],
+ [83, 73, 203.55, 1.24, 14.88, 255.0],
+ [84, 74, 203.55, 1.24, 14.89, 255.0],
+ [86, 75, 203.55, 1.24, 14.88, 255.0],
+ [87, 76, 203.55, 1.24, 14.88, 255.0],
+ [88, 77, 203.55, 1.24, 14.88, 255.0],
+ [90, 78, 203.55, 1.24, 14.88, 255.0],
+ [91, 79, 203.55, 1.24, 14.88, 255.0],
+ [92, 80, 203.55, 1.24, 14.88, 255.0],
+ [93, 81, 203.55, 1.24, 14.88, 255.0],
+ [94, 82, 203.55, 1.24, 14.88, 255.0],
+ [95, 83, 203.55, 1.24, 14.88, 255.0],
+ [96, 84, 203.55, 1.24, 14.88, 255.0],
+ [97, 85, 203.55, 1.24, 14.88, 255.0],
+ [98, 86, 203.55, 1.24, 14.88, 255.0],
+ [99, 87, 203.55, 1.24, 14.88, 255.0],
+ [100, 88, 203.55, 1.24, 14.88, 255.0],
+ [101, 89, 203.55, 1.24, 14.88, 255.0],
+ [102, 90, 203.55, 1.24, 14.88, 255.0],
+ [103, 91, 203.55, 1.24, 14.88, 255.0],
+ [104, 92, 203.55, 1.24, 14.88, 255.0]
+ ],
+ "unpaired": [37, 41, 45, 49, 57, 61, 65, 69, 77, 81, 85, 89]
+ }
+}
diff --git a/tests/integration/cases/basel_integral_proof_visualization/ce.mkv.sha256 b/tests/integration/cases/basel_integral_proof_visualization/ce.mkv.sha256
new file mode 100644
index 00000000..541aa163
--- /dev/null
+++ b/tests/integration/cases/basel_integral_proof_visualization/ce.mkv.sha256
@@ -0,0 +1 @@
+bcd423b90f16153bef22b3d08628539c9423084c0b37f73b8172a941f3b7dd23 ce.mkv
diff --git a/tests/integration/cases/basel_integral_proof_visualization/manimgx.mkv.sha256 b/tests/integration/cases/basel_integral_proof_visualization/manimgx.mkv.sha256
new file mode 100644
index 00000000..b1c518fc
--- /dev/null
+++ b/tests/integration/cases/basel_integral_proof_visualization/manimgx.mkv.sha256
@@ -0,0 +1 @@
+abeb0286bec6806bfb1b7f18e0068b2b300f362a9c0e3772183c6ca82bcc3754 manimgx.mkv
diff --git a/tests/integration/cases/basel_integral_proof_visualization/review.json b/tests/integration/cases/basel_integral_proof_visualization/review.json
new file mode 100644
index 00000000..dd2e49a0
--- /dev/null
+++ b/tests/integration/cases/basel_integral_proof_visualization/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:dab49e260ea485789f979b9b2f84b35d6f9f8ad2bb98e11b7f2fbe9970f26ca6",
+ "manimgx": "sha256:9a910d6401a081e574c258d453fbb154f19875e6fb8ccb0fbdaf2b18a1a2ac9f",
+ "ce": "sha256:f5aaad7c13cc24900443d216fe3b52a135024434dad52a47f674e12ce2083a41",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/basel_integral_proof_visualization/scene.py b/tests/integration/cases/basel_integral_proof_visualization/scene.py
new file mode 100644
index 00000000..7f8e3e1e
--- /dev/null
+++ b/tests/integration/cases/basel_integral_proof_visualization/scene.py
@@ -0,0 +1,51 @@
+import math
+
+import manimgx as m
+
+TERMS = 15
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = (
+ m.MathTex(
+ "\\sum_{n=1}^{\\infty} \\tfrac{1}{n^2} = \\tfrac{\\pi^2}{6} \\approx"
+ " 1.6449",
+ )
+ .scale(0.95)
+ .to_edge(m.UP, buff=0.3)
+ )
+ self.play(m.Write(title))
+
+ line = m.NumberLine(
+ x_range=[1.0, 1.7, 0.1],
+ length=11,
+ include_numbers=True,
+ ).move_to(m.DOWN * 0.5)
+ self.add(line)
+
+ target = math.pi * math.pi / 6
+ target_line = m.DashedLine(
+ line.n2p(target) + m.UP * 0.3,
+ line.n2p(target) + m.DOWN * 0.3,
+ color=m.RED,
+ stroke_width=3,
+ )
+ self.play(m.Create(target_line))
+
+ partial = 0.0
+ prev_pt = None
+ for n in range(1, TERMS + 1):
+ partial += 1.0 / (n * n)
+ if not (1.0 <= partial <= 1.7):
+ continue
+ pt = line.n2p(partial)
+ dot = m.Dot(pt, color=m.GREEN, radius=0.07)
+ anims: list[m.Animation] = [m.FadeIn(dot, scale=0.5)]
+ if prev_pt is not None:
+ anims.append(
+ m.Create(m.Line(prev_pt, pt, color=m.GREEN, stroke_width=1.5)),
+ )
+ self.play(*anims, run_time=0.32)
+ prev_pt = pt
+ self.wait(1.5)
diff --git a/tests/integration/cases/chain_rule_composition_visual/case.json b/tests/integration/cases/chain_rule_composition_visual/case.json
new file mode 100644
index 00000000..8b799dbb
--- /dev/null
+++ b/tests/integration/cases/chain_rule_composition_visual/case.json
@@ -0,0 +1,352 @@
+{
+ "source": "sha256:efc08f9c5a8ddedb0fc158acf19acaa7e412784af3944b7900630ba330562a69",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 11.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["9f669fc80b414945", 1],
+ ["49236df54b552cdb", 1],
+ ["2947939f7ebc4737", 1],
+ ["67efddcbcbcc3835", 1],
+ ["7d7316eed274a7f3", 1],
+ ["932d27b50726120e", 1],
+ ["5ad968cda20fe9d4", 1],
+ ["a4239f6d91a6e98b", 1],
+ ["0c10baeb8d9236ca", 1],
+ ["7592a8460905059b", 1],
+ ["a320cd068cacae0b", 1],
+ ["93ec83f03439116a", 1],
+ ["794eb2da3ef88a3e", 1],
+ ["05f7606f36bfd783", 1],
+ ["147fbeb4dfec3475", 1],
+ ["bff42e6f71bd5ebe", 1],
+ ["76bf62443f2292de", 1],
+ ["c388880de4036df7", 1],
+ ["36267ab14c64c42f", 1],
+ ["f08705b8828009d1", 1],
+ ["30b499aeaae5d4cd", 1],
+ ["c2ee47f41b883a7c", 1],
+ ["a588db5d53c6c000", 1],
+ ["364f0ac554835bc7", 1],
+ ["d484aa831919695e", 1],
+ ["e3f1887cbc34714a", 1],
+ ["12fde77800cee216", 1],
+ ["ed06f67a6786750e", 1],
+ ["bf00a16a98c87c78", 1],
+ ["df8419fb9a41b477", 1],
+ ["a902b05c1a6ca879", 1],
+ ["c0f6631fec0c0fa4", 1],
+ ["11f54b02505811e2", 1],
+ ["c39958f227898044", 1],
+ ["39e3ba6063d6ba46", 1],
+ ["892105241de8b78e", 1],
+ ["9db4bff2c5a0a918", 1],
+ ["a603c8468f2cdff2", 1],
+ ["6773db728e5dbf38", 1],
+ ["b2fc18091b81bd6e", 1],
+ ["5354705a771e1951", 1],
+ ["46eac3e3bf346d73", 1],
+ ["23ff3171b6413c04", 1],
+ ["3733c0fc42a79f9c", 1],
+ ["b4af451bdec521e8", 1],
+ ["c39f77f81acd1517", 1],
+ ["48bac28e4c600663", 1],
+ ["90a5bdcd0987f0f8", 1],
+ ["2498c6a4f2f019a0", 1],
+ ["f923519b61183e5c", 1],
+ ["0938a4b7d958abfc", 1],
+ ["a250b84c3b35bd12", 1],
+ ["6fbc1835629cc8ee", 1],
+ ["a54ef652c62705ba", 1],
+ ["63900ff5f1327f52", 1],
+ ["48a2ee8644c4cf58", 1],
+ ["812a4b7aecf84be4", 1],
+ ["467c979255cc5a8d", 1],
+ ["2f10b239aa0322e1", 1],
+ ["2be725c7defb5c67", 1],
+ ["2b2a6a3a2ff803d0", 1],
+ ["3ebb9aaca4bcbab3", 1],
+ ["864f4ef364a6dcab", 1],
+ ["fe3d2842f0742a74", 1],
+ ["c8a7852c549fb706", 1],
+ ["64c14a4049510a3a", 1],
+ ["34a54041f8f04f42", 1],
+ ["7fbddd9ea0670f7e", 1],
+ ["ceab695f54a6f018", 1],
+ ["8248d4c497d8af1e", 1],
+ ["35727c2fb76486ab", 1],
+ ["57877875a596777a", 1],
+ ["2c797beb7026abe5", 1],
+ ["12394683a13bfb8e", 1],
+ ["f9fb8d3e04085e93", 1],
+ ["c7683eee557cb660", 1],
+ ["0a4a9104f2913343", 1],
+ ["b8d8841d693edfbd", 1],
+ ["8791c937b28b2fda", 1],
+ ["7f738c15eed0ee2b", 1],
+ ["532327064969abde", 1],
+ ["d86cd4a014d2a797", 1],
+ ["2390cfab76d49d49", 1],
+ ["4ec6cc90a70e1d8a", 1],
+ ["8b8c55aa9142eeab", 1],
+ ["ba30e07777205622", 1],
+ ["f71ff58dc9f4ea2a", 1],
+ ["8c74efc74341abca", 1],
+ ["9f672f075559413b", 1],
+ ["f5a8c1ee54d7b044", 1],
+ ["45d38d1fed8f49a3", 1],
+ ["68e5a544406e24f7", 1],
+ ["f09fab8a1d150f1a", 1],
+ ["348dab90c3643c36", 1],
+ ["d3ea2c1b2059f208", 1],
+ ["e5f0314a50430fca", 1],
+ ["a7d715713a3ed690", 1],
+ ["16f828092ee391d4", 1],
+ ["1aeac1bfa1cba5cc", 1],
+ ["dc3c725c8b168dbc", 16]
+ ],
+ "timeline": [
+ [0.0, 116]
+ ],
+ "id": "sha256:996ff589a93c1fbaa619641792d7fbce84ea9572793ff1b02294d0216de97c86"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 11.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["b7820e103751224b", 1],
+ ["b22e90a3e881294c", 1],
+ ["4c367a2e4b405fb9", 1],
+ ["b80b2c0d644228a0", 1],
+ ["b4bf85a5ddd9ef73", 1],
+ ["a39bea9751ad1465", 1],
+ ["adc6aa8f1b9b05bb", 1],
+ ["00c1acbb2ca867cb", 1],
+ ["d72660bc3f7cf933", 1],
+ ["9765176d6f9f386b", 1],
+ ["ab3f45b364983ab9", 1],
+ ["c5bd01cd2d6a4191", 1],
+ ["07437fee3b072a8d", 1],
+ ["4a93b877d9c696c1", 1],
+ ["650d10b78da6da0d", 1],
+ ["304896be05b41af4", 1],
+ ["33d06a8e01742b31", 1],
+ ["3d7942391d7bb0b9", 1],
+ ["2b5bd00abc5f67a3", 1],
+ ["6409708b660bcb3f", 1],
+ ["825fdb8fba24fd42", 1],
+ ["f82682d810d1aa75", 1],
+ ["7eb9234c6e681b13", 1],
+ ["35ff1d651039033c", 1],
+ ["278d67a5bcbc6fb1", 1],
+ ["c2d5ac3b4dee31fa", 1],
+ ["83dfab79999d1120", 1],
+ ["19b2bbb44338ebb7", 1],
+ ["b2039b4e351ea231", 1],
+ ["6d70a6456a9bd701", 1],
+ ["8c7bca6078542ee8", 1],
+ ["3156fd7efe52a7ac", 1],
+ ["0b4660d5c1922edd", 1],
+ ["9657f43f6e1a4908", 1],
+ ["e348c9d84497ff29", 1],
+ ["536b1b34ff1075e0", 1],
+ ["66a568145ab94524", 1],
+ ["ff532ee89af31025", 1],
+ ["5c97ecd9e1b34d1f", 1],
+ ["a8fd87d34e15c443", 1],
+ ["d59d42fe277c4335", 1],
+ ["5c70ed64bc48ff1a", 1],
+ ["a934d066e878732c", 1],
+ ["bb769c434a61757f", 1],
+ ["ccaae71d4c9012fe", 1],
+ ["3ab8b8ac4521fd02", 1],
+ ["06fd79259c1c9f83", 1],
+ ["93b798fdefb2cd4b", 1],
+ ["7f5ce9183cdeab11", 1],
+ ["e52d74647436adcd", 1],
+ ["f190987af10892c6", 1],
+ ["99a27d016095522f", 1],
+ ["b5b2898222233fcb", 1],
+ ["8f97fcece083f9de", 1],
+ ["36b3f57a0eb15ca3", 1],
+ ["60ec4746fc3b0b45", 1],
+ ["3b61a309b399f84e", 1],
+ ["4bc259ce650de94b", 1],
+ ["6e7be74b0bcfdc32", 1],
+ ["fd209aa52b0e15ae", 1],
+ ["a46a8815fbffeae9", 1],
+ ["d37d24a4f4da1332", 1],
+ ["dad9437047e5bf1c", 1],
+ ["c107df0cebd2e9fd", 1],
+ ["f22299b9e44b5ebf", 1],
+ ["1f038e2dcb16fac5", 1],
+ ["470b0c395a266b57", 1],
+ ["48432318dcbbaf6d", 1],
+ ["e45a8e99084d2615", 1],
+ ["875ec2ab1e5cb0b2", 1],
+ ["617f579df8d522b0", 1],
+ ["43906c9e1c459ac1", 1],
+ ["f23efa364b115595", 1],
+ ["e0359975ea16d86e", 1],
+ ["3cbf01c7493c8c56", 1],
+ ["e93d74cfd6dcd6a8", 1],
+ ["4229d2414f7ed569", 1],
+ ["7f3ede6fb80097cf", 1],
+ ["fbd13765452d6c5c", 1],
+ ["246dacbd66e00fab", 1],
+ ["e96f25dc87c5842f", 1],
+ ["1989b5dcecf3bb85", 1],
+ ["1c1e158a4139048f", 1],
+ ["3ea921ad46d04408", 1],
+ ["63a051b1f19fc07d", 1],
+ ["964a59059045dda2", 1],
+ ["56cdaf5efc27b4fc", 1],
+ ["39b305d7e7db6bc9", 1],
+ ["432b0201efd72b2d", 1],
+ ["a2eabbf51b3dfc1f", 1],
+ ["45f557c7c6654fe7", 1],
+ ["29a53b2b2cb37f89", 1],
+ ["5ba6893948e19598", 1],
+ ["c96392cf44495a85", 1],
+ ["943b7766f6b5bb0d", 1],
+ ["acf5654becdc6e16", 1],
+ ["6cfc450e785910ce", 1],
+ ["7b9fcc9566ee9e44", 1],
+ ["5041b7a03d409163", 1],
+ ["d0c3aafeb8d9205c", 15]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 10],
+ [4.0, 20],
+ [6.0, 40],
+ [10.0, 15]
+ ],
+ "id": "sha256:4f3279cdbda46d16391ab8acd11f58a085553a6f234d0b2ce033182d8d9c1d6f"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 89.33, 0.05, 2.7, 247.0],
+ [2, 2, 143.92, 0.12, 4.27, 247.0],
+ [3, 3, 132.86, 0.13, 4.19, 247.0],
+ [4, 4, 134.94, 0.13, 3.82, 247.0],
+ [5, 5, 110.41, 0.16, 4.19, 247.0],
+ [6, 6, 108.59, 0.19, 4.75, 247.0],
+ [7, 7, 109.76, 0.22, 4.94, 247.0],
+ [8, 8, 106.67, 0.24, 5.21, 247.0],
+ [9, 9, 158.08, 0.28, 5.74, 247.0],
+ [10, 10, 93.8, 0.3, 5.82, 247.0],
+ [11, 11, 93.8, 0.28, 5.56, 247.0],
+ [12, 12, 93.8, 0.31, 5.93, 247.0],
+ [13, 13, 93.8, 0.32, 5.99, 247.0],
+ [14, 14, 93.8, 0.33, 6.04, 247.0],
+ [15, 15, 93.8, 0.33, 5.97, 247.0],
+ [16, 16, 125.33, 0.36, 6.28, 247.0],
+ [17, 17, 102.92, 0.39, 6.51, 247.0],
+ [18, 18, 99.14, 0.38, 6.28, 247.0],
+ [19, 19, 103.06, 0.36, 6.2, 247.0],
+ [20, 20, 103.06, 0.37, 6.27, 247.0],
+ [21, 21, 103.06, 0.4, 6.49, 255.0],
+ [22, 22, 103.06, 0.4, 6.48, 255.0],
+ [23, 23, 103.06, 0.4, 6.45, 253.0],
+ [24, 24, 103.06, 0.4, 6.43, 253.0],
+ [25, 25, 103.06, 0.4, 6.31, 247.0],
+ [26, 26, 197.76, 0.44, 7.01, 255.0],
+ [27, 27, 103.06, 0.4, 6.32, 247.0],
+ [28, 28, 103.06, 0.4, 6.32, 247.0],
+ [29, 29, 103.06, 0.4, 6.32, 247.0],
+ [30, 30, 103.06, 0.41, 6.33, 247.0],
+ [31, 31, 103.06, 0.44, 6.66, 255.0],
+ [32, 32, 115.71, 0.46, 6.73, 255.0],
+ [33, 33, 103.06, 0.48, 6.95, 255.0],
+ [34, 34, 103.06, 0.48, 6.97, 255.0],
+ [35, 35, 103.06, 0.49, 6.99, 255.0],
+ [36, 36, 184.76, 0.54, 7.59, 255.0],
+ [37, 37, 112.82, 0.52, 7.2, 255.0],
+ [38, 38, 103.06, 0.51, 6.93, 247.0],
+ [39, 39, 103.06, 0.51, 6.91, 247.0],
+ [40, 40, 103.06, 0.51, 6.95, 247.0],
+ [41, 41, 103.06, 0.54, 7.06, 247.0],
+ [42, 42, 103.06, 0.56, 7.25, 247.0],
+ [43, 43, 103.06, 0.57, 7.38, 255.0],
+ [44, 44, 121.59, 0.61, 7.78, 255.0],
+ [45, 45, 115.29, 0.66, 8.28, 255.0],
+ [46, 46, 134.98, 0.73, 8.9, 255.0],
+ [47, 47, 119.39, 0.76, 9.04, 255.0],
+ [48, 48, 112.14, 0.82, 9.47, 255.0],
+ [49, 49, 118.08, 0.87, 9.88, 255.0],
+ [50, 50, 139.61, 0.92, 10.19, 255.0],
+ [51, 51, 120.51, 0.92, 10.2, 255.0],
+ [52, 52, 151.94, 0.94, 10.36, 255.0],
+ [53, 53, 130.71, 0.96, 10.47, 255.0],
+ [54, 54, 140.24, 0.97, 10.63, 255.0],
+ [55, 55, 148.33, 1.0, 10.8, 255.0],
+ [56, 56, 116.69, 0.99, 10.73, 255.0],
+ [57, 57, 116.69, 0.98, 10.62, 255.0],
+ [58, 58, 116.69, 0.98, 10.64, 255.0],
+ [59, 59, 116.69, 0.98, 10.6, 255.0],
+ [60, 60, 116.69, 0.99, 10.64, 255.0],
+ [61, 61, 116.69, 0.99, 10.64, 255.0],
+ [62, 62, 116.69, 0.99, 10.64, 255.0],
+ [63, 63, 116.69, 0.99, 10.64, 255.0],
+ [64, 64, 116.69, 0.99, 10.64, 255.0],
+ [65, 65, 116.69, 0.99, 10.64, 255.0],
+ [66, 66, 116.69, 0.99, 10.64, 255.0],
+ [67, 67, 116.69, 0.99, 10.64, 255.0],
+ [68, 68, 116.69, 0.99, 10.64, 255.0],
+ [69, 69, 116.69, 0.99, 10.64, 255.0],
+ [70, 70, 116.69, 0.99, 10.64, 255.0],
+ [71, 71, 116.69, 0.99, 10.64, 255.0],
+ [72, 72, 116.69, 0.99, 10.64, 255.0],
+ [73, 73, 116.69, 0.98, 10.6, 255.0],
+ [74, 74, 116.69, 0.99, 10.64, 255.0],
+ [75, 75, 116.69, 0.99, 10.64, 255.0],
+ [76, 76, 116.69, 0.99, 10.64, 255.0],
+ [77, 77, 116.69, 0.99, 10.64, 255.0],
+ [78, 78, 116.69, 0.98, 10.6, 255.0],
+ [79, 79, 116.69, 0.99, 10.64, 255.0],
+ [80, 80, 116.69, 0.99, 10.64, 255.0],
+ [81, 81, 116.69, 0.99, 10.64, 255.0],
+ [82, 82, 116.69, 0.98, 10.59, 255.0],
+ [83, 83, 116.69, 0.99, 10.64, 255.0],
+ [84, 84, 116.69, 0.99, 10.64, 255.0],
+ [85, 85, 116.69, 0.99, 10.64, 255.0],
+ [86, 86, 116.69, 0.98, 10.59, 255.0],
+ [87, 87, 116.69, 0.99, 10.64, 255.0],
+ [88, 88, 116.69, 0.99, 10.64, 255.0],
+ [89, 89, 116.69, 0.98, 10.59, 255.0],
+ [90, 90, 116.69, 0.99, 10.64, 255.0],
+ [91, 91, 116.69, 0.99, 10.64, 255.0],
+ [92, 92, 116.69, 0.98, 10.59, 255.0],
+ [93, 93, 116.69, 0.99, 10.64, 255.0],
+ [94, 94, 116.69, 0.99, 10.64, 255.0],
+ [95, 95, 116.69, 0.99, 10.64, 255.0],
+ [96, 96, 116.69, 0.99, 10.64, 255.0],
+ [97, 97, 116.69, 0.99, 10.64, 255.0],
+ [98, 98, 116.69, 0.99, 10.64, 255.0],
+ [99, 99, 116.69, 0.99, 10.64, 255.0],
+ [100, 100, 116.69, 0.99, 10.64, 255.0],
+ [101, 101, 116.69, 0.99, 10.64, 255.0],
+ [102, 102, 116.69, 0.99, 10.64, 255.0],
+ [103, 103, 116.69, 0.99, 10.64, 255.0],
+ [104, 104, 116.69, 0.99, 10.64, 255.0],
+ [105, 105, 116.69, 0.99, 10.64, 255.0],
+ [106, 106, 116.69, 0.99, 10.64, 255.0],
+ [107, 107, 116.69, 0.99, 10.64, 255.0],
+ [108, 108, 116.69, 0.99, 10.64, 255.0],
+ [109, 109, 116.69, 0.99, 10.64, 255.0],
+ [110, 110, 116.69, 0.99, 10.64, 255.0],
+ [111, 111, 116.69, 0.99, 10.64, 255.0],
+ [112, 112, 116.69, 0.99, 10.64, 255.0],
+ [113, 113, 116.69, 0.99, 10.64, 255.0],
+ [114, 114, 116.69, 0.99, 10.64, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/chain_rule_composition_visual/ce.mkv.sha256 b/tests/integration/cases/chain_rule_composition_visual/ce.mkv.sha256
new file mode 100644
index 00000000..a72aee9b
--- /dev/null
+++ b/tests/integration/cases/chain_rule_composition_visual/ce.mkv.sha256
@@ -0,0 +1 @@
+93bd58b4606c752197f3ff782b11149c23e1c843c041ed335dff2c7f245a9a4e ce.mkv
diff --git a/tests/integration/cases/chain_rule_composition_visual/manimgx.mkv.sha256 b/tests/integration/cases/chain_rule_composition_visual/manimgx.mkv.sha256
new file mode 100644
index 00000000..67925e2f
--- /dev/null
+++ b/tests/integration/cases/chain_rule_composition_visual/manimgx.mkv.sha256
@@ -0,0 +1 @@
+ebf82b04d8cd7eacc047a49873eaa1987b6588ffe41962020dc11e956974b34a manimgx.mkv
diff --git a/tests/integration/cases/chain_rule_composition_visual/review.json b/tests/integration/cases/chain_rule_composition_visual/review.json
new file mode 100644
index 00000000..2e4be95a
--- /dev/null
+++ b/tests/integration/cases/chain_rule_composition_visual/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:efc08f9c5a8ddedb0fc158acf19acaa7e412784af3944b7900630ba330562a69",
+ "manimgx": "sha256:996ff589a93c1fbaa619641792d7fbce84ea9572793ff1b02294d0216de97c86",
+ "ce": "sha256:4f3279cdbda46d16391ab8acd11f58a085553a6f234d0b2ce033182d8d9c1d6f",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/chain_rule_composition_visual/scene.py b/tests/integration/cases/chain_rule_composition_visual/scene.py
new file mode 100644
index 00000000..6a0ed9f1
--- /dev/null
+++ b/tests/integration/cases/chain_rule_composition_visual/scene.py
@@ -0,0 +1,62 @@
+import math
+
+import manimgx as m
+
+
+def g(x: float) -> float:
+ return x * x
+
+
+def f(y: float) -> float:
+ return math.sin(y)
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = m.MathTex(
+ "\\frac{d}{dx} f(g(x)) = f'(g(x)) \\cdot g'(x)",
+ color=m.YELLOW,
+ ).to_edge(m.UP, buff=0.4)
+ self.play(m.Write(title))
+
+ x_line = m.NumberLine(
+ x_range=[0, 3, 1],
+ length=9,
+ include_numbers=True,
+ ).move_to(m.UP * 1.0)
+ g_line = m.NumberLine(
+ x_range=[0, 9, 2],
+ length=9,
+ include_numbers=True,
+ ).move_to(m.DOWN * 0.5)
+ f_line = m.NumberLine(
+ x_range=[-1, 1, 0.5],
+ length=9,
+ include_numbers=True,
+ ).move_to(m.DOWN * 2.1)
+ x_label = m.MathTex("x").scale(0.8).next_to(x_line, m.LEFT, buff=0.3)
+ g_label = m.MathTex("g(x) = x^2").scale(0.7).next_to(g_line, m.LEFT, buff=0.3)
+ f_label = (
+ m.MathTex("f(g(x)) = \\sin(x^2)")
+ .scale(0.65)
+ .next_to(f_line, m.LEFT, buff=0.3)
+ )
+
+ self.play(m.Create(x_line), m.Write(x_label))
+ self.play(m.Create(g_line), m.Write(g_label))
+ self.play(m.Create(f_line), m.Write(f_label))
+
+ t = m.ValueTracker(0.4)
+ x_dot = m.always_redraw(
+ lambda: m.Dot(x_line.n2p(t.get_value()), color=m.YELLOW, radius=0.1),
+ )
+ g_dot = m.always_redraw(
+ lambda: m.Dot(g_line.n2p(g(t.get_value())), color=m.YELLOW, radius=0.1),
+ )
+ f_dot = m.always_redraw(
+ lambda: m.Dot(f_line.n2p(f(g(t.get_value()))), color=m.YELLOW, radius=0.1),
+ )
+ self.add(x_dot, g_dot, f_dot)
+
+ self.play(t.animate.set_value(2.6), run_time=4.0)
+ self.wait(1.5)
diff --git a/tests/integration/cases/continuous_convolution_flip_slide/case.json b/tests/integration/cases/continuous_convolution_flip_slide/case.json
new file mode 100644
index 00000000..411df7b9
--- /dev/null
+++ b/tests/integration/cases/continuous_convolution_flip_slide/case.json
@@ -0,0 +1,290 @@
+{
+ "source": "sha256:8e2176b81effa21fd194e23f1df5452be61b025a2c1ec9fabfac81e6d7c85e86",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 8.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["10b29051311b7cd5", 1],
+ ["dc5de7ab01c8cb02", 1],
+ ["2b3e586970fd787e", 1],
+ ["872402609c1faf7b", 1],
+ ["65443a3725e63be8", 1],
+ ["612711886f3b913d", 1],
+ ["df801e51b560b962", 1],
+ ["1e9fa45fa709ed82", 1],
+ ["bce70e3bdd7d0751", 1],
+ ["f470a819d1cd3637", 1],
+ ["3ab7e68c9344baa5", 1],
+ ["c7b434a110df3d99", 1],
+ ["fbcaa9b9b38a0ff4", 1],
+ ["2c98375fbecbde00", 1],
+ ["b48da49003aafca4", 1],
+ ["754e543712a11509", 1],
+ ["9741b82ea110b692", 1],
+ ["1f73bb45273ba4ef", 1],
+ ["fe7d6626d613e4db", 1],
+ ["514b2e6490b47525", 1],
+ ["84ca2415e526c82c", 1],
+ ["aa40050bcf6be369", 1],
+ ["5b6251d36383e86d", 1],
+ ["3c09a9d02b4f232e", 1],
+ ["5539e5a8367077b3", 1],
+ ["948d2f8d158eee62", 1],
+ ["7c88c39786e82923", 1],
+ ["0b2dba2d69e915a3", 1],
+ ["51d82e483a4c92a4", 1],
+ ["546e5139cb80715e", 1],
+ ["0de94ebb39f5138f", 1],
+ ["20641c70952cf365", 1],
+ ["ca7eb50684a4f836", 1],
+ ["e4b9d47255da5565", 1],
+ ["f02a0c73ade7bb5b", 1],
+ ["fff4787680973a91", 1],
+ ["0cb07799f2cc7761", 1],
+ ["9a7fd6f0c34417e4", 1],
+ ["c0b36a55cb8da1ec", 1],
+ ["0b1684bc61d30a42", 1],
+ ["e06f4a749504e465", 1],
+ ["73c18450ac16f717", 1],
+ ["9b2baf9101b1fefa", 1],
+ ["611d8a983c342fbb", 1],
+ ["f1755ad6fbf6f498", 1],
+ ["e9d6d967a3675fa3", 1],
+ ["701369a75550db21", 1],
+ ["fbde0a3b6847ea88", 1],
+ ["e82bd2079ecab71d", 1],
+ ["a762aa4032560275", 1],
+ ["88899587a62dcb19", 1],
+ ["2edb2d26d11a408d", 1],
+ ["21a50d595dc674d6", 1],
+ ["9cdca46a2b8ff5e6", 1],
+ ["0678a794ee0e9788", 1],
+ ["ea3ae243b2aba79a", 1],
+ ["e0a0b3e512457391", 1],
+ ["6cd677b321cf1fe0", 1],
+ ["f3de64aef7569a12", 1],
+ ["e5fda34615db5c17", 1],
+ ["f234cb51dc13dc03", 1],
+ ["4bb7a5c506d783b6", 1],
+ ["f4017f312198d5a2", 1],
+ ["1b246e524bcce1c9", 1],
+ ["114a3a0ae26d6756", 1],
+ ["e76a40cfcca36c98", 1],
+ ["ee06a1abd11a1728", 1],
+ ["8eeac45db2723364", 1],
+ ["39e8851005d8fef9", 1],
+ ["8f2be8e3b5c1eb4d", 1],
+ ["c401ed775f3996fb", 1],
+ ["9c5e01e230fd3bcd", 1],
+ ["d209f5e3441ab1b9", 1],
+ ["d80bd48a25e0d4d7", 1],
+ ["e9a0c0d95802de88", 1],
+ ["888ef8533cfbf07e", 1],
+ ["f90f24d22b033ce2", 1],
+ ["314bdd6d5003956a", 1],
+ ["7658265c661eaa47", 1],
+ ["72381b1fab2c45d2", 1],
+ ["ef47e50705515443", 1],
+ ["67d2c6bab7ecb40c", 1],
+ ["b5dd0c09ea35098c", 6]
+ ],
+ "timeline": [
+ [0.0, 89]
+ ],
+ "id": "sha256:8a44cb8b11f58e7a9d0937c4f6be34c865302adc643cbe542b1149e3345214a7"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 8.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["f78dd90dd88b631f", 1],
+ ["6fd4aaaca9528942", 1],
+ ["9d79629c8d344534", 1],
+ ["17b953681c807bf3", 1],
+ ["b84e9d173c156d99", 1],
+ ["4d63a5a282c82962", 1],
+ ["eb5810e161641778", 1],
+ ["d377d5956e5048a5", 1],
+ ["031bdedb0220058d", 1],
+ ["472a0d03f9935be7", 1],
+ ["aef0968ff75ce980", 1],
+ ["0f5ed994e25484d5", 1],
+ ["7709363d3398e275", 1],
+ ["ecea037c8d0980c6", 1],
+ ["4a33b16182c72a46", 1],
+ ["64140cc6399c0ed9", 1],
+ ["bc9e6d8cbacadad0", 1],
+ ["b429a4908cde64cc", 1],
+ ["cb9406b1ac5c405f", 1],
+ ["2893003085ddeb62", 1],
+ ["c4a34685cd8ca7cb", 1],
+ ["f61c5e4af00d222a", 1],
+ ["c582df2f27b4ad25", 1],
+ ["e233deb1a2bd3b1f", 1],
+ ["9368fb317c180392", 1],
+ ["eea667c364b36959", 1],
+ ["044343c45db1c1c7", 1],
+ ["0aa6216afd161640", 1],
+ ["45b3beccb982fa1f", 1],
+ ["d66e6bb830766405", 1],
+ ["7cb807fb6cdc5328", 1],
+ ["7799293249ec3017", 1],
+ ["ec509ef556f846eb", 1],
+ ["06f947a87d1a9799", 1],
+ ["3f5e86d0a603b5ef", 1],
+ ["134aac1e7c74e283", 1],
+ ["c972db64a99e7e51", 1],
+ ["e260356b186a56eb", 1],
+ ["f0310b67c79c63a1", 1],
+ ["997291491e467f0b", 1],
+ ["e5bfe76c7b871d7f", 1],
+ ["a6c1b6a819101edb", 1],
+ ["7f3d8b633ec33e3a", 1],
+ ["d693fa25f857e6bc", 1],
+ ["5fe7d2a542e0c65d", 1],
+ ["f0a5a470c695d938", 1],
+ ["cde296d0363e99fc", 1],
+ ["c1ed91576e68e9f3", 1],
+ ["e56891057eb9ca8d", 1],
+ ["63b9d448731fbbca", 1],
+ ["b9392c312111a835", 1],
+ ["08e8002ea2eb8f44", 1],
+ ["1ef737766a586c88", 1],
+ ["e5c53d584da289c1", 1],
+ ["b5517df8c7f0b6f8", 1],
+ ["0df1f72f6480944b", 1],
+ ["a8c5f3496cf63ea3", 1],
+ ["f7de8a0bef59fa12", 1],
+ ["31a161bd4717d3cf", 1],
+ ["bb660f38d896cde5", 1],
+ ["d4cc1f918f87f890", 1],
+ ["bea05136e8c62b5e", 1],
+ ["1682bbf982447de7", 1],
+ ["5ba8fba22ce4208f", 1],
+ ["2058da82b44868bc", 1],
+ ["da459f7681e14aea", 1],
+ ["ee4901b2c471d19b", 1],
+ ["6da060823e9a4039", 1],
+ ["24f061f776bd4f7e", 1],
+ ["04da6f6e2d5bba2c", 1],
+ ["4a7a4fb6b4030eb8", 1],
+ ["510cbc30f3c05511", 1],
+ ["06efe199173745ac", 1],
+ ["6c88fe5afbc643e3", 1],
+ ["2c8d1eb3f932bb7c", 1],
+ ["5a9ab504fcb83267", 1],
+ ["e625cc9569ffa022", 1],
+ ["152daba339e052a1", 1],
+ ["be2892ad42e3a879", 1],
+ ["c183c067cb1235db", 1],
+ ["33c0268300ca1a38", 1],
+ ["4697c8cc59433792", 1],
+ ["7ae8a88b09c6b2a0", 5]
+ ],
+ "timeline": [
+ [0.0, 14],
+ [1.4, 10],
+ [2.4, 9],
+ [3.3, 50],
+ [8.3, 5]
+ ],
+ "id": "sha256:5e27c60eb52acc9056e9aa67c38d7a0fae6b7eedfac25096e9c5bac70686ac8b"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 134.67, 0.06, 3.15, 255.0],
+ [2, 2, 146.98, 0.1, 3.87, 255.0],
+ [3, 3, 171.63, 0.15, 5.06, 255.0],
+ [4, 4, 191.69, 0.19, 5.83, 255.0],
+ [5, 5, 184.27, 0.21, 5.9, 255.0],
+ [6, 6, 172.45, 0.23, 5.98, 255.0],
+ [7, 7, 162.18, 0.25, 6.32, 255.0],
+ [8, 8, 152.47, 0.27, 6.57, 255.0],
+ [9, 9, 172.98, 0.29, 6.7, 255.0],
+ [10, 10, 166.12, 0.31, 6.98, 255.0],
+ [11, 11, 173.9, 0.29, 6.67, 255.0],
+ [12, 12, 137.0, 0.26, 6.13, 255.0],
+ [13, 13, 125.92, 0.24, 5.8, 255.0],
+ [14, 14, 125.92, 0.24, 5.73, 255.0],
+ [15, 15, 125.92, 0.24, 5.74, 255.0],
+ [16, 16, 125.92, 0.24, 5.76, 255.0],
+ [17, 17, 125.92, 0.25, 5.81, 255.0],
+ [18, 18, 125.92, 0.27, 5.94, 255.0],
+ [19, 19, 125.92, 0.25, 5.78, 255.0],
+ [20, 20, 125.92, 0.28, 5.96, 255.0],
+ [21, 21, 125.92, 0.27, 5.88, 255.0],
+ [22, 22, 125.92, 0.27, 5.83, 255.0],
+ [23, 23, 125.92, 0.26, 5.81, 255.0],
+ [24, 24, 125.92, 0.26, 5.8, 255.0],
+ [25, 25, 125.92, 0.26, 5.8, 255.0],
+ [26, 26, 125.92, 0.26, 5.8, 255.0],
+ [27, 27, 125.92, 0.27, 5.81, 255.0],
+ [28, 28, 125.92, 0.27, 5.82, 255.0],
+ [29, 29, 125.92, 0.28, 5.86, 255.0],
+ [30, 30, 125.92, 0.29, 5.9, 255.0],
+ [31, 31, 125.92, 0.3, 5.92, 255.0],
+ [32, 32, 125.92, 0.3, 5.92, 255.0],
+ [33, 33, 125.92, 0.3, 5.93, 255.0],
+ [34, 34, 125.92, 0.3, 5.94, 255.0],
+ [35, 35, 125.92, 0.3, 5.93, 255.0],
+ [36, 36, 125.92, 0.3, 5.93, 255.0],
+ [37, 37, 125.92, 0.3, 5.94, 255.0],
+ [38, 38, 125.92, 0.3, 5.94, 255.0],
+ [39, 39, 125.92, 0.3, 5.93, 255.0],
+ [40, 40, 125.92, 0.3, 5.94, 255.0],
+ [41, 41, 125.92, 0.3, 5.94, 255.0],
+ [42, 42, 125.92, 0.3, 5.94, 255.0],
+ [43, 43, 125.92, 0.3, 5.95, 255.0],
+ [44, 44, 125.92, 0.3, 5.94, 255.0],
+ [45, 45, 125.92, 0.3, 5.93, 255.0],
+ [46, 46, 125.92, 0.3, 5.93, 255.0],
+ [47, 47, 125.92, 0.3, 5.93, 255.0],
+ [48, 48, 125.92, 0.3, 5.93, 255.0],
+ [49, 49, 125.92, 0.31, 5.96, 255.0],
+ [50, 50, 125.92, 0.31, 5.96, 255.0],
+ [51, 51, 125.92, 0.31, 5.96, 255.0],
+ [52, 52, 125.92, 0.31, 5.96, 255.0],
+ [53, 53, 125.92, 0.31, 5.99, 255.0],
+ [54, 54, 125.92, 0.31, 5.96, 255.0],
+ [55, 55, 125.92, 0.31, 5.98, 255.0],
+ [56, 56, 125.92, 0.31, 5.99, 255.0],
+ [57, 57, 125.92, 0.32, 6.02, 255.0],
+ [58, 58, 125.92, 0.32, 6.03, 255.0],
+ [59, 59, 125.92, 0.33, 6.11, 255.0],
+ [60, 60, 125.92, 0.34, 6.13, 255.0],
+ [61, 61, 125.92, 0.34, 6.16, 255.0],
+ [62, 62, 125.92, 0.34, 6.18, 255.0],
+ [63, 63, 125.92, 0.35, 6.19, 255.0],
+ [64, 64, 125.92, 0.34, 6.15, 255.0],
+ [65, 65, 125.92, 0.34, 6.16, 255.0],
+ [66, 66, 125.92, 0.35, 6.18, 255.0],
+ [67, 67, 125.92, 0.35, 6.21, 255.0],
+ [68, 68, 125.92, 0.35, 6.22, 255.0],
+ [69, 69, 125.92, 0.36, 6.28, 255.0],
+ [70, 70, 125.92, 0.36, 6.28, 255.0],
+ [71, 71, 125.92, 0.37, 6.28, 255.0],
+ [72, 72, 125.92, 0.37, 6.28, 255.0],
+ [73, 73, 125.92, 0.37, 6.28, 255.0],
+ [74, 74, 125.92, 0.36, 6.27, 255.0],
+ [75, 75, 125.92, 0.36, 6.28, 255.0],
+ [76, 76, 125.92, 0.36, 6.29, 255.0],
+ [77, 77, 125.92, 0.37, 6.3, 255.0],
+ [78, 78, 125.92, 0.37, 6.31, 255.0],
+ [79, 79, 125.92, 0.37, 6.32, 255.0],
+ [80, 80, 125.92, 0.37, 6.32, 255.0],
+ [81, 81, 125.92, 0.37, 6.33, 255.0],
+ [82, 82, 125.92, 0.37, 6.34, 255.0],
+ [83, 83, 125.92, 0.38, 6.35, 255.0],
+ [84, 84, 125.92, 0.38, 6.35, 255.0],
+ [85, 85, 125.92, 0.38, 6.35, 255.0],
+ [86, 86, 125.92, 0.38, 6.35, 255.0],
+ [87, 87, 125.92, 0.38, 6.35, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/continuous_convolution_flip_slide/ce.mkv.sha256 b/tests/integration/cases/continuous_convolution_flip_slide/ce.mkv.sha256
new file mode 100644
index 00000000..1cde7977
--- /dev/null
+++ b/tests/integration/cases/continuous_convolution_flip_slide/ce.mkv.sha256
@@ -0,0 +1 @@
+75506bc1c08485b05f1261adcaf47605551ad036f28731e1b58e9d028de1d27b ce.mkv
diff --git a/tests/integration/cases/continuous_convolution_flip_slide/manimgx.mkv.sha256 b/tests/integration/cases/continuous_convolution_flip_slide/manimgx.mkv.sha256
new file mode 100644
index 00000000..a243eb45
--- /dev/null
+++ b/tests/integration/cases/continuous_convolution_flip_slide/manimgx.mkv.sha256
@@ -0,0 +1 @@
+68f2a66a919841653737386faa7add39b9a6e528743b77221e6e660db5666280 manimgx.mkv
diff --git a/tests/integration/cases/continuous_convolution_flip_slide/review.json b/tests/integration/cases/continuous_convolution_flip_slide/review.json
new file mode 100644
index 00000000..52d5a82a
--- /dev/null
+++ b/tests/integration/cases/continuous_convolution_flip_slide/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:8e2176b81effa21fd194e23f1df5452be61b025a2c1ec9fabfac81e6d7c85e86",
+ "manimgx": "sha256:8a44cb8b11f58e7a9d0937c4f6be34c865302adc643cbe542b1149e3345214a7",
+ "ce": "sha256:5e27c60eb52acc9056e9aa67c38d7a0fae6b7eedfac25096e9c5bac70686ac8b",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/continuous_convolution_flip_slide/scene.py b/tests/integration/cases/continuous_convolution_flip_slide/scene.py
new file mode 100644
index 00000000..a869db2b
--- /dev/null
+++ b/tests/integration/cases/continuous_convolution_flip_slide/scene.py
@@ -0,0 +1,119 @@
+"""Animate the convolution of two boxes f(x) and g(x): flip g, slide it across f, show the running area as the convolution result."""
+
+import numpy as np
+
+import manimgx as m
+
+
+def f(x: float) -> float:
+ """Box f(x) = 1 for x in [0, 1], else 0."""
+ return 1.0 if 0.0 <= x <= 1.0 else 0.0
+
+
+def g(x: float) -> float:
+ """Box g(x) = 1 for x in [0, 1], else 0 — same width as f for a triangular convolution."""
+ return 1.0 if 0.0 <= x <= 1.0 else 0.0
+
+
+def convolution_at(s: float, num_samples: int = 201) -> float:
+ """Numerical integral of f(x) * g(s - x) dx over a window wide enough to cover the support."""
+ xs = np.linspace(-2.0, 3.0, num_samples)
+ values = np.array([f(x) * g(s - x) for x in xs])
+ return float(np.trapezoid(values, xs))
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ # Two stacked panels: top is the flip-and-slide, bottom is the cumulative convolution.
+ top_axes = m.Axes(
+ x_range=(-2.0, 3.0, 1.0),
+ y_range=(0.0, 1.2, 1.0),
+ x_length=8.0,
+ y_length=1.8,
+ ).shift(1.6 * m.UP)
+
+ bot_axes = m.Axes(
+ x_range=(-2.0, 3.0, 1.0),
+ y_range=(0.0, 1.2, 1.0),
+ x_length=8.0,
+ y_length=1.8,
+ ).shift(1.6 * m.DOWN)
+
+ # Panel labels.
+ top_label = m.MathTex(r"f(x) \cdot g(s - x)", font_size=30).next_to(
+ top_axes, m.UP, buff=0.15
+ )
+ bot_label = m.MathTex(r"(f * g)(s)", font_size=30).next_to(
+ bot_axes, m.UP, buff=0.15
+ )
+
+ self.play(
+ m.Create(top_axes),
+ m.Create(bot_axes),
+ m.Write(top_label),
+ m.Write(bot_label),
+ run_time=1.4,
+ )
+
+ # Static f(x) curve on top panel — always visible.
+ f_graph = top_axes.plot(
+ f, x_range=(-2.0, 3.0, 0.005), color=m.BLUE, stroke_width=3.0
+ )
+ self.play(m.Create(f_graph), run_time=1.0)
+
+ # The slider that drives everything.
+ s_tracker = m.ValueTracker(-1.2)
+
+ # Flipped-and-shifted g on top panel: g(s - x).
+ g_graph = m.always_redraw(
+ lambda: top_axes.plot(
+ lambda x: g(s_tracker.get_value() - x),
+ x_range=(-2.0, 3.0, 0.005),
+ color=m.YELLOW,
+ stroke_width=3.0,
+ )
+ )
+
+ # Product curve f(x) * g(s - x) drawn as a filled polyline on top panel.
+ def product_area() -> m.VMobject:
+ s = s_tracker.get_value()
+ xs = np.linspace(-2.0, 3.0, 241)
+ shape_points = [top_axes.c2p(float(xs[0]), 0.0)]
+ for x in xs:
+ y = f(float(x)) * g(s - float(x))
+ shape_points.append(top_axes.c2p(float(x), y))
+ shape_points.append(top_axes.c2p(float(xs[-1]), 0.0))
+ shape = m.Polygon(*shape_points).set_stroke(m.GREEN, 0)
+ shape.set_fill(m.GREEN, 0.45)
+ return shape
+
+ product_shape = m.always_redraw(product_area)
+
+ self.play(m.FadeIn(g_graph), m.FadeIn(product_shape), run_time=0.9)
+
+ # Traced convolution dot on the bottom panel.
+ conv_dot = m.always_redraw(
+ lambda: m.Dot(
+ bot_axes.c2p(
+ s_tracker.get_value(), convolution_at(s_tracker.get_value())
+ ),
+ radius=0.07,
+ color=m.GREEN,
+ )
+ )
+
+ # TracedPath follows the dot; its callable captures the tracker each frame.
+ trace = m.TracedPath(
+ lambda: bot_axes.c2p(
+ s_tracker.get_value(), convolution_at(s_tracker.get_value())
+ ),
+ stroke_color=m.GREEN,
+ stroke_width=3.0,
+ )
+
+ self.add(conv_dot, trace)
+
+ # Sweep s across the support.
+ self.play(s_tracker.animate.set_value(2.0), run_time=5.0, rate_func=m.linear)
+
+ self.wait(0.5)
diff --git a/tests/integration/cases/convolution_sliding_kernel/case.json b/tests/integration/cases/convolution_sliding_kernel/case.json
new file mode 100644
index 00000000..bac59299
--- /dev/null
+++ b/tests/integration/cases/convolution_sliding_kernel/case.json
@@ -0,0 +1,266 @@
+{
+ "source": "sha256:f3f801837e92a46e57e1dfcc863c10bd077266534f80409273ef856e5b3c298c",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 8.7,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["7233eb69580ac33f", 1],
+ ["5de03de1ad8a38db", 1],
+ ["b40041b1123683a2", 1],
+ ["b77e03a5e3a6bb1c", 1],
+ ["63314a1ccb3365f6", 1],
+ ["2edd9bafd3251a0d", 1],
+ ["dc15b09e89491f93", 1],
+ ["fed91664cd43edcb", 1],
+ ["7c1ac9f00b3a22b1", 1],
+ ["0f4df6872d5d2e49", 1],
+ ["5e5a2a87e025cb72", 1],
+ ["a11bacea63f2da56", 1],
+ ["7c1f2f0a255a529b", 1],
+ ["527a073721d610c9", 1],
+ ["481149a3d12d0bac", 1],
+ ["6bec6c48eef2577c", 1],
+ ["aad58498eeed76d3", 1],
+ ["0615c9f529b5ebad", 1],
+ ["22a517b9ad3104e8", 1],
+ ["752944c94aacec55", 1],
+ ["c2174ed88649d1d0", 1],
+ ["4327ec4361f82ca8", 1],
+ ["1f57dfabdcf2d9ce", 1],
+ ["a2d36da8c1d2ac51", 1],
+ ["b81998b422216ab2", 1],
+ ["bd26352c4c9d90aa", 1],
+ ["eb730feb83a413d2", 1],
+ ["61953a4b5cf795be", 1],
+ ["b0ea9deb71d32243", 1],
+ ["2ebe0c040b52076d", 1],
+ ["fed1deafad8e7630", 1],
+ ["ae8584ab856f1226", 1],
+ ["81e2ba3880610418", 1],
+ ["c1ae36fc85615532", 1],
+ ["209d034017192742", 1],
+ ["3f8f84ab43895228", 1],
+ ["8ccaf424299b4e87", 1],
+ ["9c7166d0b402c4b2", 1],
+ ["d9de2093b9b5a4e6", 1],
+ ["a5c9cdb3defb1e45", 5],
+ ["ae7be99de193cd81", 1],
+ ["79e029eb2d1be4ca", 1],
+ ["d66c64dddc342611", 1],
+ ["f2b812c2107c018e", 1],
+ ["35d247575db01bdf", 1],
+ ["c988675e61b8d965", 1],
+ ["e0b9f6b40e9a2f40", 1],
+ ["d02a07db665ccc34", 1],
+ ["62538146e84cd9f6", 1],
+ ["79e029eb2d1be4ca", 1],
+ ["39a638f095b572e7", 1],
+ ["a5c7e5144d75739c", 1],
+ ["3bbf32c61b40a063", 1],
+ ["426ab133d2777c21", 1],
+ ["78e9a5825c400ed2", 1],
+ ["a5c9cdb3defb1e45", 1],
+ ["83346608a2acd7a6", 1],
+ ["d6ca8f51d3a8720e", 1],
+ ["ebca859a85c4adc6", 1],
+ ["90813f05093f541c", 1],
+ ["7ec5451065f52973", 1],
+ ["df4aee3bb1ad2a4d", 1],
+ ["c5a49ba68c94c3a9", 1],
+ ["8e2f39ebf6b3cf3f", 1],
+ ["b48a2fa6552bd510", 1],
+ ["3f3dd1a053911489", 1],
+ ["345d80c9febd9f81", 1],
+ ["0455969e623c0337", 16]
+ ],
+ "timeline": [
+ [0.0, 88]
+ ],
+ "id": "sha256:c4ae2d0639f312b989ea3948f03937b86df2270701ca059a29641d3c29a24d7c"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 8.7,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["8d9213959561df77", 1],
+ ["0387e20b7963042d", 1],
+ ["177e1bab429bcd51", 1],
+ ["4cbe7caa99330798", 1],
+ ["066449bd6b44a05b", 1],
+ ["f2336e2dc7e80bd4", 1],
+ ["60128d349d9b44f6", 1],
+ ["f9b28936beb22ca3", 1],
+ ["cc75095118bd7466", 1],
+ ["c32efe49092003ab", 1],
+ ["049220cb0c347108", 1],
+ ["90f59e7a54719871", 1],
+ ["5ea52a45e90a2ea5", 1],
+ ["da15ac65f2b3e438", 1],
+ ["217844a7452051a1", 1],
+ ["7fc728c8ec4e3398", 1],
+ ["e27993117a06ba17", 1],
+ ["4c8a35a31f2c40a0", 1],
+ ["45a9f42571dec8c0", 1],
+ ["680f025dec5f6120", 1],
+ ["85737b9d0164de02", 1],
+ ["be5779bea207fc21", 1],
+ ["b337e4a97ffb73b5", 1],
+ ["a2f923afbf38d855", 1],
+ ["3d6887be382aa637", 1],
+ ["ee30066a34ad10a8", 1],
+ ["7be8813072a5df5c", 1],
+ ["2347bfd412fb0ecf", 1],
+ ["a164675e17289f86", 1],
+ ["e5e41929a7ba8a34", 1],
+ ["9c6c1a149059d256", 1],
+ ["272df9b3a25e0429", 1],
+ ["6f4bba6b6a5ff104", 1],
+ ["ba85f23f51eebe6f", 1],
+ ["cef3fa2084f21b66", 1],
+ ["c15459026046f5ee", 1],
+ ["fe72865c40bbd8fb", 1],
+ ["e089650a55105153", 1],
+ ["9b749599e272da89", 1],
+ ["f2f34b7467c77197", 5],
+ ["0d319485a0783f1c", 1],
+ ["2a8d35dc8dbaaa8e", 1],
+ ["feaced2c871d644f", 1],
+ ["33032a0aaf97ce14", 1],
+ ["5e122829348d02c8", 1],
+ ["f425189011bf827c", 1],
+ ["224fa75950e5b35e", 1],
+ ["eaad56cd72dfb166", 1],
+ ["9fb2cf07fc8c6bf8", 1],
+ ["2a8d35dc8dbaaa8e", 1],
+ ["3c93c3a1ad6778db", 1],
+ ["8657316ee8ddd43f", 1],
+ ["00723b1ec0c347cd", 1],
+ ["dd558b49566e0fe8", 1],
+ ["93ae167ad993151a", 1],
+ ["f2f34b7467c77197", 1],
+ ["c96b64c26a54d24c", 1],
+ ["f2778c9cefab82f4", 1],
+ ["c61f23068f208150", 1],
+ ["a3f21a1787d25838", 1],
+ ["f16b143a8eedde14", 1],
+ ["d5a77c97b83642b0", 1],
+ ["1c40273b2b04d357", 1],
+ ["1277c7edf201d4b3", 1],
+ ["f863e430b442d03c", 1],
+ ["2b1d1859e4ee1e9d", 1],
+ ["2cdf426045b252e7", 1],
+ ["cd0d8b480ce6bc99", 15]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 10],
+ [4.0, 4],
+ [4.4, 4],
+ [4.8, 4],
+ [5.2, 4],
+ [5.6, 4],
+ [6.0, 4],
+ [6.4, 4],
+ [6.8, 4],
+ [7.2, 15]
+ ],
+ "id": "sha256:86ff3bdebcad4c2b661a831b5e78b1aa5e8c9e3502d5f8db1aca93915270e562"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 122.51, 0.07, 3.54, 255.0],
+ [2, 2, 118.73, 0.12, 4.46, 255.0],
+ [3, 3, 138.55, 0.17, 5.18, 255.0],
+ [4, 4, 130.71, 0.22, 5.86, 255.0],
+ [5, 5, 156.88, 0.26, 6.23, 255.0],
+ [6, 6, 145.31, 0.28, 6.5, 255.0],
+ [7, 7, 152.2, 0.36, 7.47, 255.0],
+ [8, 8, 155.04, 0.41, 7.98, 255.0],
+ [9, 9, 165.16, 0.48, 8.7, 255.0],
+ [10, 10, 169.8, 0.51, 9.07, 255.0],
+ [11, 11, 169.8, 0.57, 9.56, 255.0],
+ [12, 12, 169.8, 0.65, 10.31, 255.0],
+ [13, 13, 169.8, 0.71, 10.84, 255.0],
+ [14, 14, 169.8, 0.75, 11.14, 255.0],
+ [15, 15, 169.8, 0.79, 11.41, 255.0],
+ [16, 16, 169.8, 0.85, 11.81, 255.0],
+ [17, 17, 169.8, 0.85, 11.74, 255.0],
+ [18, 18, 169.8, 0.84, 11.61, 255.0],
+ [19, 19, 169.8, 0.82, 11.49, 255.0],
+ [20, 20, 169.8, 0.82, 11.53, 255.0],
+ [21, 21, 169.8, 0.83, 11.53, 255.0],
+ [22, 22, 169.8, 0.83, 11.55, 255.0],
+ [23, 23, 169.8, 0.85, 11.59, 255.0],
+ [24, 24, 169.8, 0.86, 11.61, 255.0],
+ [25, 25, 169.8, 0.87, 11.63, 255.0],
+ [26, 26, 169.8, 0.88, 11.64, 255.0],
+ [27, 27, 169.8, 0.89, 11.65, 255.0],
+ [28, 28, 169.8, 0.91, 11.79, 255.0],
+ [29, 29, 169.8, 0.9, 11.66, 255.0],
+ [30, 30, 169.8, 0.91, 11.68, 255.0],
+ [31, 31, 169.8, 0.92, 11.68, 255.0],
+ [32, 32, 169.8, 0.92, 11.68, 255.0],
+ [33, 33, 169.8, 0.92, 11.68, 255.0],
+ [34, 34, 169.8, 0.91, 11.68, 255.0],
+ [35, 35, 169.8, 0.92, 11.68, 255.0],
+ [36, 36, 169.8, 0.92, 11.69, 255.0],
+ [37, 37, 169.8, 0.92, 11.69, 255.0],
+ [38, 38, 169.8, 0.92, 11.69, 255.0],
+ [39, 39, 169.8, 0.92, 11.69, 255.0],
+ [40, 40, 169.8, 0.92, 11.69, 255.0],
+ [41, 41, 169.8, 0.92, 11.69, 255.0],
+ [42, 42, 169.8, 0.92, 11.69, 255.0],
+ [43, 43, 169.8, 0.92, 11.69, 255.0],
+ [44, 44, 169.8, 0.92, 11.69, 255.0],
+ [45, 45, 169.8, 0.92, 11.69, 255.0],
+ [46, 46, 169.8, 0.93, 11.69, 255.0],
+ [47, 47, 169.8, 0.93, 11.69, 255.0],
+ [48, 48, 169.8, 0.93, 11.69, 255.0],
+ [49, 49, 169.8, 0.92, 11.69, 255.0],
+ [50, 50, 169.8, 0.92, 11.69, 255.0],
+ [51, 51, 169.8, 0.92, 11.69, 255.0],
+ [52, 52, 169.8, 0.93, 11.69, 255.0],
+ [53, 53, 169.8, 0.93, 11.69, 255.0],
+ [54, 54, 169.8, 0.93, 11.69, 255.0],
+ [55, 55, 169.8, 0.93, 11.69, 255.0],
+ [56, 56, 169.8, 0.92, 11.69, 255.0],
+ [57, 57, 169.8, 0.93, 11.69, 255.0],
+ [58, 58, 169.8, 0.93, 11.7, 255.0],
+ [59, 59, 169.8, 0.93, 11.69, 255.0],
+ [60, 60, 169.8, 0.92, 11.69, 255.0],
+ [61, 61, 169.8, 0.93, 11.69, 255.0],
+ [62, 62, 169.8, 0.93, 11.7, 255.0],
+ [63, 63, 169.8, 0.93, 11.69, 255.0],
+ [64, 64, 169.8, 0.92, 11.69, 255.0],
+ [65, 65, 169.8, 0.93, 11.69, 255.0],
+ [66, 66, 169.8, 0.93, 11.69, 255.0],
+ [67, 67, 169.8, 0.93, 11.69, 255.0],
+ [68, 68, 169.8, 0.93, 11.69, 255.0],
+ [69, 69, 169.8, 0.92, 11.69, 255.0],
+ [70, 70, 169.8, 0.92, 11.69, 255.0],
+ [71, 71, 169.8, 0.93, 11.69, 255.0],
+ [72, 72, 169.8, 0.93, 11.69, 255.0],
+ [73, 73, 169.8, 0.93, 11.69, 255.0],
+ [74, 74, 169.8, 0.93, 11.69, 255.0],
+ [75, 75, 169.8, 0.93, 11.69, 255.0],
+ [76, 76, 169.8, 0.93, 11.69, 255.0],
+ [77, 77, 169.8, 0.93, 11.69, 255.0],
+ [78, 78, 169.8, 0.93, 11.69, 255.0],
+ [79, 79, 169.8, 0.93, 11.69, 255.0],
+ [80, 80, 169.8, 0.93, 11.69, 255.0],
+ [81, 81, 169.8, 0.93, 11.69, 255.0],
+ [82, 82, 169.8, 0.93, 11.69, 255.0],
+ [83, 83, 169.8, 0.93, 11.69, 255.0],
+ [84, 84, 169.8, 0.93, 11.69, 255.0],
+ [85, 85, 169.8, 0.93, 11.69, 255.0],
+ [86, 86, 169.8, 0.93, 11.69, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/convolution_sliding_kernel/ce.mkv.sha256 b/tests/integration/cases/convolution_sliding_kernel/ce.mkv.sha256
new file mode 100644
index 00000000..e7ff088a
--- /dev/null
+++ b/tests/integration/cases/convolution_sliding_kernel/ce.mkv.sha256
@@ -0,0 +1 @@
+bba35d8357dcceb4a3fff4dbf4cc284ad698589da155f097f193f793b27992c3 ce.mkv
diff --git a/tests/integration/cases/convolution_sliding_kernel/manimgx.mkv.sha256 b/tests/integration/cases/convolution_sliding_kernel/manimgx.mkv.sha256
new file mode 100644
index 00000000..8b8049ec
--- /dev/null
+++ b/tests/integration/cases/convolution_sliding_kernel/manimgx.mkv.sha256
@@ -0,0 +1 @@
+d01ea39b7f02948123943fea9fea534b2f64939a1132639cf80549b6025689ef manimgx.mkv
diff --git a/tests/integration/cases/convolution_sliding_kernel/review.json b/tests/integration/cases/convolution_sliding_kernel/review.json
new file mode 100644
index 00000000..9373ac96
--- /dev/null
+++ b/tests/integration/cases/convolution_sliding_kernel/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:f3f801837e92a46e57e1dfcc863c10bd077266534f80409273ef856e5b3c298c",
+ "manimgx": "sha256:c4ae2d0639f312b989ea3948f03937b86df2270701ca059a29641d3c29a24d7c",
+ "ce": "sha256:86ff3bdebcad4c2b661a831b5e78b1aa5e8c9e3502d5f8db1aca93915270e562",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/convolution_sliding_kernel/scene.py b/tests/integration/cases/convolution_sliding_kernel/scene.py
new file mode 100644
index 00000000..be4e0c27
--- /dev/null
+++ b/tests/integration/cases/convolution_sliding_kernel/scene.py
@@ -0,0 +1,51 @@
+import manimgx as m
+
+SIGNAL = [0, 0, 0, 1, 2, 3, 2, 1, 0, 0, 0]
+KERNEL = [0.2, 0.6, 0.2]
+CELL = 0.55
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = (
+ m.Tex("Convolution: kernel slides over signal")
+ .scale(0.85)
+ .to_edge(m.UP, buff=0.3)
+ )
+ self.play(m.Write(title))
+
+ sig_grp = m.VGroup()
+ for i, v in enumerate(SIGNAL):
+ sig_grp.add(
+ m.VGroup(
+ m.Square(side_length=CELL, color=m.WHITE, stroke_width=1.5),
+ m.MathTex(str(v)).scale(0.55),
+ ).move_to([(i - 5) * CELL + 0.1, 1.2, 0]),
+ )
+ self.play(m.Create(sig_grp))
+
+ ker_grp = m.VGroup()
+ for j, k in enumerate(KERNEL):
+ ker_grp.add(
+ m.VGroup(
+ m.Square(
+ side_length=CELL,
+ color=m.YELLOW,
+ fill_color=m.YELLOW,
+ fill_opacity=0.35,
+ stroke_width=1.5,
+ ),
+ m.MathTex(f"{k}").scale(0.5),
+ ).move_to([(j - 1) * CELL, -1.4, 0]),
+ )
+ self.play(m.FadeIn(ker_grp))
+ self.wait(0.4)
+
+ for shift_steps in range(-3, 4):
+ target_x = shift_steps * CELL
+ current_center = ker_grp.get_center()[0]
+ self.play(
+ ker_grp.animate.shift(m.RIGHT * (target_x - current_center)),
+ run_time=0.4,
+ )
+ self.wait(1.5)
diff --git a/tests/integration/cases/delta_area_delta_x_ratio/case.json b/tests/integration/cases/delta_area_delta_x_ratio/case.json
new file mode 100644
index 00000000..c4afbef2
--- /dev/null
+++ b/tests/integration/cases/delta_area_delta_x_ratio/case.json
@@ -0,0 +1,200 @@
+{
+ "source": "sha256:ae7e4f925b5e6079d752cfbdf312868bebc25befbbce2bb2e0fa991bf45905eb",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 6.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["039d8dee2c9f186a", 1],
+ ["99cb6202fe5a0b34", 1],
+ ["d9dfc328c885d188", 1],
+ ["76161f10a66c60bb", 1],
+ ["1ba8f2bd5c792dfd", 1],
+ ["0bd9aa0a67ae3587", 1],
+ ["2662bdb552bda6a3", 1],
+ ["3127cc432e6fddfa", 1],
+ ["47e13ab42d535f17", 1],
+ ["b4d6721273933e8a", 1],
+ ["d56d061919f45e5e", 1],
+ ["66db3afe21285cb4", 1],
+ ["6a74100db06d35d8", 1],
+ ["e4e78f2dad4cad28", 1],
+ ["36549aafcb0292d5", 1],
+ ["b4fd285212ac178c", 1],
+ ["9830ba7af7c1b233", 1],
+ ["1fcc2d90f6a51d5e", 1],
+ ["cde2a24c5a52e3b4", 1],
+ ["eedf74188c7c8916", 1],
+ ["7a7ff8bf07e0f765", 1],
+ ["c2173344df6c233a", 1],
+ ["0506cf136206af33", 1],
+ ["ac95b13784557bb9", 1],
+ ["8f47ad16bac6d8af", 1],
+ ["ed3d36029a624e88", 1],
+ ["43053b1a09e2df75", 1],
+ ["e58123b8f0ffc905", 1],
+ ["c58c7124ba9a2061", 1],
+ ["8e20faa4a2a5be17", 1],
+ ["7e6c468b3ce5082b", 1],
+ ["17cf267b7f796c7f", 1],
+ ["fc65d07a23e40f2a", 1],
+ ["7e6b98d13beb8862", 1],
+ ["6f3c453bc2ac133a", 1],
+ ["c4e639513c7957b9", 1],
+ ["40c34ae1672ebbae", 1],
+ ["b21ef63c0dd4f074", 1],
+ ["25253ea4cd108e5d", 1],
+ ["37d772f3b8afe41b", 1],
+ ["7644e62b770efb7f", 1],
+ ["7fe8e05a662b4500", 1],
+ ["6be858f565bd9513", 1],
+ ["7f905a6c024e341c", 1],
+ ["f82ce0234d0b9561", 1],
+ ["8303cef3907f4e72", 1],
+ ["0e796511a7c05bc2", 1],
+ ["f3857c942d3dc509", 1],
+ ["8276250bb2c26e91", 1],
+ ["9299981c20f9e072", 16]
+ ],
+ "timeline": [
+ [0.0, 66]
+ ],
+ "id": "sha256:8e6ef28fbfb0c761d2716d84ad95c1adf5e5d629e8be8dc5f4021e5a071083d0"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 6.5,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["e0d5001c2bfd768d", 1],
+ ["87933f1caf069da5", 1],
+ ["d3ca581c0fad08b9", 1],
+ ["664a15b27522259b", 1],
+ ["75c9775af1652a41", 1],
+ ["cf13abc3798a909e", 1],
+ ["63029e7931b04654", 1],
+ ["afbd916cc3a793ab", 1],
+ ["05a73af483eb0071", 1],
+ ["85a82900b3a996a1", 1],
+ ["eea3dd3e4b0ad154", 1],
+ ["622937b6fd6b8117", 1],
+ ["45059bb1c2cd7e2b", 1],
+ ["df217fa26cca4f85", 1],
+ ["61dde85001e8c5af", 1],
+ ["4b4bb760175efa93", 1],
+ ["f0c97a8cce537fa6", 1],
+ ["805e2fdc5511ce13", 1],
+ ["2d750cedb121ecfb", 1],
+ ["95c28708e0c1eb47", 1],
+ ["4a1cac9a45cfc690", 1],
+ ["5a2889b7c7885869", 1],
+ ["bd846117334bbcd9", 1],
+ ["a6e3fe92a022d585", 1],
+ ["0a7a5fb907bc2bd8", 1],
+ ["0242e714cc0a26f0", 1],
+ ["eea48d7089d3cb2a", 1],
+ ["866b61b487f7d932", 1],
+ ["24f42a05f95614e0", 1],
+ ["7fdb2aaea6b90f81", 1],
+ ["14d4497b49fc71fb", 1],
+ ["1eb2764e08a62c8b", 1],
+ ["390c4fc8503766f4", 1],
+ ["901c545c3a5fc2fe", 1],
+ ["3f61cce8e71b5d38", 1],
+ ["1d0237516d61afa4", 1],
+ ["7243961259cce592", 1],
+ ["706482b3650ea33d", 1],
+ ["872c8bd7d973b7a3", 1],
+ ["4c5963b28c60f8d7", 1],
+ ["371982ce561b68d2", 1],
+ ["aa5ea05c1340df6f", 1],
+ ["4184f03190ec1510", 1],
+ ["6b9d3c0d2184aed7", 1],
+ ["822a16dd2c5b4392", 1],
+ ["d06a9cf3bd5170ae", 1],
+ ["bb3dcf2c797eee63", 1],
+ ["c31153fcab429ce9", 1],
+ ["18cfa7bb3637db14", 1],
+ ["80ad5f05c53c1275", 15]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 10],
+ [2.0, 30],
+ [5.0, 15]
+ ],
+ "id": "sha256:9be49d0b8ed1ec852092d4476c460df2f517be6ff2131f5c8401422606132d9b"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 10.04, 0.02, 0.39, 166.0],
+ [2, 2, 33.0, 0.02, 0.67, 221.0],
+ [3, 3, 81.96, 0.02, 1.02, 221.0],
+ [4, 4, 87.49, 0.03, 1.26, 221.0],
+ [5, 5, 74.88, 0.03, 1.02, 221.0],
+ [6, 6, 52.71, 0.03, 0.87, 221.0],
+ [7, 7, 18.65, 0.03, 0.6, 217.0],
+ [8, 8, 5.12, 0.03, 0.47, 55.0],
+ [9, 9, 3.98, 0.03, 0.46, 39.0],
+ [10, 10, 3.98, 0.03, 0.47, 39.0],
+ [11, 11, 117.49, 0.07, 2.32, 247.0],
+ [12, 12, 102.29, 0.13, 3.65, 247.0],
+ [13, 13, 133.92, 0.19, 4.8, 247.0],
+ [14, 14, 130.14, 0.17, 3.78, 247.0],
+ [15, 15, 135.86, 0.18, 3.99, 247.0],
+ [16, 16, 98.59, 0.17, 3.6, 247.0],
+ [17, 17, 82.1, 0.19, 3.95, 247.0],
+ [18, 18, 80.98, 0.18, 3.61, 247.0],
+ [19, 19, 80.98, 0.17, 3.43, 247.0],
+ [20, 20, 80.98, 0.18, 3.48, 247.0],
+ [21, 21, 80.98, 0.18, 3.49, 247.0],
+ [22, 22, 80.98, 0.18, 3.49, 247.0],
+ [23, 23, 80.98, 0.18, 3.49, 247.0],
+ [24, 24, 80.98, 0.18, 3.49, 247.0],
+ [25, 25, 80.98, 0.18, 3.49, 247.0],
+ [26, 26, 80.98, 0.18, 3.48, 247.0],
+ [27, 27, 80.98, 0.18, 3.49, 247.0],
+ [28, 28, 80.98, 0.18, 3.49, 247.0],
+ [29, 29, 80.98, 0.18, 3.49, 247.0],
+ [30, 30, 80.98, 0.18, 3.49, 247.0],
+ [31, 31, 80.98, 0.18, 3.49, 247.0],
+ [32, 32, 80.98, 0.18, 3.49, 247.0],
+ [33, 33, 80.98, 0.18, 3.49, 247.0],
+ [34, 34, 80.98, 0.18, 3.49, 247.0],
+ [35, 35, 80.98, 0.18, 3.49, 247.0],
+ [36, 36, 80.98, 0.18, 3.5, 247.0],
+ [37, 37, 80.98, 0.18, 3.5, 247.0],
+ [38, 38, 80.98, 0.18, 3.5, 247.0],
+ [39, 39, 80.98, 0.18, 3.5, 247.0],
+ [40, 40, 80.98, 0.18, 3.5, 247.0],
+ [41, 41, 80.98, 0.18, 3.5, 247.0],
+ [42, 42, 80.98, 0.18, 3.5, 247.0],
+ [43, 43, 80.98, 0.18, 3.5, 247.0],
+ [44, 44, 80.98, 0.18, 3.5, 247.0],
+ [45, 45, 80.98, 0.18, 3.5, 247.0],
+ [46, 46, 80.98, 0.18, 3.5, 247.0],
+ [47, 47, 80.98, 0.18, 3.5, 247.0],
+ [48, 48, 80.98, 0.18, 3.5, 247.0],
+ [49, 49, 80.98, 0.18, 3.5, 247.0],
+ [50, 50, 80.98, 0.18, 3.5, 247.0],
+ [51, 51, 80.98, 0.18, 3.5, 247.0],
+ [52, 52, 80.98, 0.18, 3.5, 247.0],
+ [53, 53, 80.98, 0.18, 3.5, 247.0],
+ [54, 54, 80.98, 0.18, 3.5, 247.0],
+ [55, 55, 80.98, 0.18, 3.5, 247.0],
+ [56, 56, 80.98, 0.18, 3.5, 247.0],
+ [57, 57, 80.98, 0.18, 3.5, 247.0],
+ [58, 58, 80.98, 0.18, 3.5, 247.0],
+ [59, 59, 80.98, 0.18, 3.5, 247.0],
+ [60, 60, 80.98, 0.18, 3.5, 247.0],
+ [61, 61, 80.98, 0.18, 3.5, 247.0],
+ [62, 62, 80.98, 0.18, 3.5, 247.0],
+ [63, 63, 80.98, 0.18, 3.5, 247.0],
+ [64, 64, 80.98, 0.18, 3.5, 247.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/delta_area_delta_x_ratio/ce.mkv.sha256 b/tests/integration/cases/delta_area_delta_x_ratio/ce.mkv.sha256
new file mode 100644
index 00000000..8dd76bac
--- /dev/null
+++ b/tests/integration/cases/delta_area_delta_x_ratio/ce.mkv.sha256
@@ -0,0 +1 @@
+24387c681fa75bf9b8b3f1ef907176b9015a36c18da9df6a16565f39c87329ea ce.mkv
diff --git a/tests/integration/cases/delta_area_delta_x_ratio/manimgx.mkv.sha256 b/tests/integration/cases/delta_area_delta_x_ratio/manimgx.mkv.sha256
new file mode 100644
index 00000000..a4d41af7
--- /dev/null
+++ b/tests/integration/cases/delta_area_delta_x_ratio/manimgx.mkv.sha256
@@ -0,0 +1 @@
+e435ca0e757677dfbedd3ada656f82cd0f73feb86459aac828bb1a265fda8244 manimgx.mkv
diff --git a/tests/integration/cases/delta_area_delta_x_ratio/review.json b/tests/integration/cases/delta_area_delta_x_ratio/review.json
new file mode 100644
index 00000000..1a3781f9
--- /dev/null
+++ b/tests/integration/cases/delta_area_delta_x_ratio/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:ae7e4f925b5e6079d752cfbdf312868bebc25befbbce2bb2e0fa991bf45905eb",
+ "manimgx": "sha256:8e6ef28fbfb0c761d2716d84ad95c1adf5e5d629e8be8dc5f4021e5a071083d0",
+ "ce": "sha256:9be49d0b8ed1ec852092d4476c460df2f517be6ff2131f5c8401422606132d9b",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/delta_area_delta_x_ratio/scene.py b/tests/integration/cases/delta_area_delta_x_ratio/scene.py
new file mode 100644
index 00000000..9eee90ee
--- /dev/null
+++ b/tests/integration/cases/delta_area_delta_x_ratio/scene.py
@@ -0,0 +1,48 @@
+import math
+
+import manimgx as m
+
+
+def f(x: float) -> float:
+ return 0.5 + 0.3 * math.sin(x) + 0.12 * x
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ ax = m.Axes(
+ x_range=[0, 5, 1],
+ y_range=[0, 2, 0.5],
+ x_length=10,
+ y_length=5,
+ ).shift(m.DOWN * 0.5)
+ curve = ax.plot(f, color=m.BLUE, x_range=[0, 5])
+ self.play(m.Create(ax), m.Create(curve))
+
+ title = m.MathTex(
+ "\\frac{\\Delta A}{\\Delta x} \\approx f(x)",
+ color=m.YELLOW,
+ ).to_edge(m.UP, buff=0.4)
+ self.play(m.Write(title))
+
+ x = m.ValueTracker(2.0)
+ dx = 0.5
+
+ def area_region() -> m.Polygon:
+ return ax.get_area(
+ curve,
+ x_range=[0, x.get_value()],
+ color=m.YELLOW,
+ opacity=0.45,
+ )
+
+ def delta_region() -> m.Polygon:
+ return ax.get_area(
+ curve,
+ x_range=[x.get_value(), x.get_value() + dx],
+ color=m.GREEN,
+ opacity=0.7,
+ )
+
+ self.add(m.always_redraw(area_region), m.always_redraw(delta_region))
+ self.play(x.animate.set_value(3.6), run_time=3.0)
+ self.wait(1.5)
diff --git a/tests/integration/cases/derivative_limit_zoom_definition/case.json b/tests/integration/cases/derivative_limit_zoom_definition/case.json
new file mode 100644
index 00000000..f481966d
--- /dev/null
+++ b/tests/integration/cases/derivative_limit_zoom_definition/case.json
@@ -0,0 +1,219 @@
+{
+ "source": "sha256:26b2321daecbc67308d4c9b174ea5d556504e17ac7362cadf570118f62fba013",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.4,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["d01973a0c6d9f36b", 1],
+ ["f67c9d45be8523e5", 1],
+ ["8a09c851eaed5886", 1],
+ ["d20e5f504fe7d758", 1],
+ ["df893169d07f63dd", 1],
+ ["8331176525111116", 1],
+ ["5c739cd42e223096", 1],
+ ["54c4c932e9479341", 1],
+ ["a9e4fb5142bf9b3f", 1],
+ ["a6a7861436b0f93a", 5],
+ ["090dfa314d04ff12", 1],
+ ["ed067f50cd806887", 1],
+ ["b62289958a9050a9", 1],
+ ["bb6ddb90ce6ca5e7", 1],
+ ["c0401a605e20f521", 1],
+ ["17f4ac5b9e9e2eb3", 1],
+ ["ef85d823deff0695", 1],
+ ["1e81f5d2f8bc71f3", 1],
+ ["7ee4170831ee1e79", 1],
+ ["104c18acfca2f237", 1],
+ ["b80b499f336c702b", 1],
+ ["216b0692f40741df", 1],
+ ["b1a4cac7dedcf8a3", 1],
+ ["47eee122ff818b97", 1],
+ ["9ee382e442a33347", 1],
+ ["e873118de92a0cfa", 1],
+ ["20dd967c263baacf", 1],
+ ["760fef6da728ea80", 1],
+ ["ad8604e2f13c7825", 1],
+ ["a7ff04d6958f993d", 1],
+ ["2f78c3f656c25f44", 1],
+ ["3fab0631506cbaca", 1],
+ ["bcf6d9cdf6b6abfd", 1],
+ ["e03aa21e392e741d", 1],
+ ["7565abdceb1ff882", 1],
+ ["d31e0f605907d326", 1],
+ ["5d178b12e291ce4e", 1],
+ ["3b0b0ce1ab66e2b1", 1],
+ ["f1a6446f0ea4a8ce", 1],
+ ["9a01d87b5ac1f47a", 1],
+ ["6b07732578b893b7", 1],
+ ["5e9a90a7b8514c7c", 1],
+ ["5332b1c65aa8aba6", 1],
+ ["589231f91a42a5b0", 1],
+ ["77767b392fd7156b", 1],
+ ["b89ae40efe71c425", 1],
+ ["56ab0e606943c63c", 1],
+ ["ba9e2f8449d8115c", 1],
+ ["3c43a9dc414034d7", 1],
+ ["6b93035653ac485c", 1],
+ ["472907f27a42cae3", 1],
+ ["96468bb076120271", 1],
+ ["31eb78450b30deef", 1],
+ ["116edcf6ea75d792", 1],
+ ["a039264dba22f36e", 16]
+ ],
+ "timeline": [
+ [0.0, 75]
+ ],
+ "id": "sha256:49a4ec2a0bf731738b5e6611e55f5cd12cb8c3ec9f7a8945ea4b901dc55bb9c1"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.4,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["099250da5d0d40dd", 1],
+ ["683d8574171465d5", 1],
+ ["96bc8d9fe40d31ee", 1],
+ ["5987c98bd52c5e40", 1],
+ ["45814cde21b4ee6e", 1],
+ ["d56ab0bc0569ce98", 1],
+ ["3abf18a9593e651a", 1],
+ ["06c2d3190bb8e5ba", 1],
+ ["6d82001345e9c660", 1],
+ ["8b4fb003e04b0765", 5],
+ ["824f4894b95f6055", 1],
+ ["d9bf354dd9b83e72", 1],
+ ["443e6ddf397560b3", 1],
+ ["1408873781548a0b", 1],
+ ["f57a485a50a2417b", 1],
+ ["9a3dd05962572e0d", 1],
+ ["e0aeafcf4f31b05f", 1],
+ ["6dcd01a6d693e492", 1],
+ ["c4ec62ae15812f3d", 1],
+ ["e224227b06cc3b61", 1],
+ ["4df27bc22f4bb7c0", 1],
+ ["e330ee6fdbc64663", 1],
+ ["98deade6ebef976a", 1],
+ ["94d434631cfe2883", 1],
+ ["6dfa8c6fac8cb278", 1],
+ ["c0613f8ee5ff706c", 1],
+ ["850b24a5d485ab59", 1],
+ ["6a0f41e80e36d0a1", 1],
+ ["556cf056d9d930ee", 1],
+ ["5fcbf2eb77e19114", 1],
+ ["b5ddc6cbf61b72d4", 1],
+ ["29a3f02f91b9d875", 1],
+ ["0a319e462125e447", 1],
+ ["13a9ebca69e7b181", 1],
+ ["185e056d4bbaeeab", 1],
+ ["d35d5b840576e1d9", 1],
+ ["eef7ce4f7d194db4", 1],
+ ["0dfa5c4398134e38", 1],
+ ["96883f5f2e4fbeca", 1],
+ ["2b41271f85df2b57", 1],
+ ["b8b0ecb5e3c49ccd", 1],
+ ["cfb4ba4ed8787b66", 1],
+ ["be4a487773b83864", 1],
+ ["843cc762b00b5565", 1],
+ ["684c345209b49b1a", 1],
+ ["58bb4b3c99f79198", 1],
+ ["753d4dda3139bde2", 1],
+ ["5e0b6088aaa4d867", 1],
+ ["be379d315088d28d", 1],
+ ["05c25a04f9406d03", 1],
+ ["177ab145951d65b3", 1],
+ ["5083560ec2f047a8", 1],
+ ["d20661c5329e7978", 1],
+ ["a183c0cc121a0ce3", 1],
+ ["5ca0e2ad2899c4b8", 15]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 4],
+ [1.4, 45],
+ [5.9, 15]
+ ],
+ "id": "sha256:becfa51bd49c6bcaecbb8df47602879cf1dc9df269d852e2f38b4e7be53c2de5"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 25.04, 0.01, 0.55, 221.0],
+ [2, 2, 83.92, 0.02, 1.04, 221.0],
+ [3, 3, 81.71, 0.03, 1.51, 221.0],
+ [4, 4, 91.31, 0.06, 2.79, 221.0],
+ [5, 5, 104.06, 0.09, 3.55, 221.0],
+ [6, 6, 103.1, 0.09, 3.37, 221.0],
+ [7, 7, 100.1, 0.06, 2.52, 221.0],
+ [8, 8, 98.18, 0.04, 1.62, 221.0],
+ [9, 9, 6.71, 0.02, 0.41, 51.0],
+ [10, 10, 184.08, 0.23, 5.37, 247.0],
+ [11, 11, 184.08, 0.23, 5.37, 247.0],
+ [12, 12, 184.08, 0.23, 5.37, 247.0],
+ [13, 13, 184.08, 0.23, 5.37, 247.0],
+ [14, 14, 184.08, 0.23, 5.37, 247.0],
+ [15, 15, 184.08, 0.23, 5.37, 247.0],
+ [16, 16, 184.08, 0.23, 5.37, 247.0],
+ [17, 17, 184.59, 0.23, 5.36, 247.0],
+ [18, 18, 184.59, 0.23, 5.36, 247.0],
+ [19, 19, 184.59, 0.23, 5.36, 247.0],
+ [20, 20, 184.59, 0.23, 5.37, 247.0],
+ [21, 21, 184.59, 0.23, 5.37, 247.0],
+ [22, 22, 184.2, 0.23, 5.36, 247.0],
+ [23, 23, 184.59, 0.23, 5.37, 247.0],
+ [24, 24, 180.9, 0.23, 5.36, 247.0],
+ [25, 25, 177.98, 0.23, 5.36, 247.0],
+ [26, 26, 181.98, 0.23, 5.37, 247.0],
+ [27, 27, 184.08, 0.23, 5.37, 247.0],
+ [28, 28, 184.59, 0.24, 5.37, 247.0],
+ [29, 29, 180.9, 0.23, 5.36, 247.0],
+ [30, 30, 181.98, 0.23, 5.38, 247.0],
+ [31, 31, 181.88, 0.26, 5.77, 247.0],
+ [32, 32, 185.06, 0.26, 5.77, 247.0],
+ [33, 33, 182.82, 0.26, 5.76, 247.0],
+ [34, 34, 184.59, 0.23, 5.37, 247.0],
+ [35, 35, 184.08, 0.23, 5.37, 247.0],
+ [36, 36, 180.9, 0.23, 5.36, 247.0],
+ [37, 37, 184.08, 0.23, 5.37, 247.0],
+ [38, 38, 180.9, 0.23, 5.35, 247.0],
+ [39, 39, 184.59, 0.23, 5.36, 247.0],
+ [40, 40, 180.9, 0.23, 5.35, 247.0],
+ [41, 41, 184.08, 0.23, 5.37, 247.0],
+ [42, 42, 184.59, 0.23, 5.37, 247.0],
+ [43, 43, 184.59, 0.23, 5.36, 247.0],
+ [44, 44, 184.08, 0.23, 5.37, 247.0],
+ [45, 45, 184.2, 0.23, 5.35, 247.0],
+ [46, 46, 180.9, 0.23, 5.35, 247.0],
+ [47, 47, 184.59, 0.23, 5.35, 247.0],
+ [48, 48, 180.59, 0.23, 5.33, 247.0],
+ [49, 49, 184.08, 0.23, 5.36, 247.0],
+ [50, 50, 184.59, 0.23, 5.37, 247.0],
+ [51, 51, 184.59, 0.23, 5.37, 247.0],
+ [52, 52, 184.2, 0.23, 5.36, 247.0],
+ [53, 53, 184.2, 0.23, 5.36, 247.0],
+ [54, 54, 184.59, 0.23, 5.37, 247.0],
+ [55, 55, 184.59, 0.23, 5.37, 247.0],
+ [56, 56, 184.59, 0.23, 5.37, 247.0],
+ [57, 57, 180.9, 0.23, 5.36, 247.0],
+ [58, 58, 180.9, 0.23, 5.36, 247.0],
+ [59, 59, 180.9, 0.23, 5.36, 247.0],
+ [60, 60, 180.9, 0.23, 5.36, 247.0],
+ [61, 61, 180.9, 0.23, 5.36, 247.0],
+ [62, 62, 180.9, 0.23, 5.36, 247.0],
+ [63, 63, 180.9, 0.23, 5.36, 247.0],
+ [64, 64, 180.9, 0.23, 5.36, 247.0],
+ [65, 65, 180.9, 0.23, 5.36, 247.0],
+ [66, 66, 180.9, 0.23, 5.36, 247.0],
+ [67, 67, 180.9, 0.23, 5.36, 247.0],
+ [68, 68, 180.9, 0.23, 5.36, 247.0],
+ [69, 69, 180.9, 0.23, 5.36, 247.0],
+ [70, 70, 180.9, 0.23, 5.36, 247.0],
+ [71, 71, 180.9, 0.23, 5.36, 247.0],
+ [72, 72, 180.9, 0.23, 5.36, 247.0],
+ [73, 73, 180.9, 0.23, 5.36, 247.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/derivative_limit_zoom_definition/ce.mkv.sha256 b/tests/integration/cases/derivative_limit_zoom_definition/ce.mkv.sha256
new file mode 100644
index 00000000..c13f3f67
--- /dev/null
+++ b/tests/integration/cases/derivative_limit_zoom_definition/ce.mkv.sha256
@@ -0,0 +1 @@
+d6c95cc9150a8172a4f37febdb761315c325867fc113c1800d0c2080b177a7ed ce.mkv
diff --git a/tests/integration/cases/derivative_limit_zoom_definition/manimgx.mkv.sha256 b/tests/integration/cases/derivative_limit_zoom_definition/manimgx.mkv.sha256
new file mode 100644
index 00000000..a0fbc0a5
--- /dev/null
+++ b/tests/integration/cases/derivative_limit_zoom_definition/manimgx.mkv.sha256
@@ -0,0 +1 @@
+39288e714babe0046c8e9f40517dda62469b66a5f0e91580f693908f978abbf7 manimgx.mkv
diff --git a/tests/integration/cases/derivative_limit_zoom_definition/review.json b/tests/integration/cases/derivative_limit_zoom_definition/review.json
new file mode 100644
index 00000000..ede99fb4
--- /dev/null
+++ b/tests/integration/cases/derivative_limit_zoom_definition/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:26b2321daecbc67308d4c9b174ea5d556504e17ac7362cadf570118f62fba013",
+ "manimgx": "sha256:49a4ec2a0bf731738b5e6611e55f5cd12cb8c3ec9f7a8945ea4b901dc55bb9c1",
+ "ce": "sha256:becfa51bd49c6bcaecbb8df47602879cf1dc9df269d852e2f38b4e7be53c2de5",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/derivative_limit_zoom_definition/scene.py b/tests/integration/cases/derivative_limit_zoom_definition/scene.py
new file mode 100644
index 00000000..fb8429f2
--- /dev/null
+++ b/tests/integration/cases/derivative_limit_zoom_definition/scene.py
@@ -0,0 +1,60 @@
+import numpy as np
+
+import manimgx as m
+
+
+def f(x: float) -> float:
+ return x * x
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ ax = m.Axes(
+ x_range=[-0.5, 2.5, 0.5],
+ y_range=[-0.5, 5, 1],
+ x_length=9,
+ y_length=6,
+ )
+ curve = ax.plot(f, color=m.BLUE)
+ self.play(m.Create(ax), m.Create(curve))
+
+ x0 = 1.0
+ dx = m.ValueTracker(1.0)
+
+ def secant() -> m.Line:
+ x1 = x0 + dx.get_value()
+ p0 = ax.c2p(x0, f(x0))
+ p1 = ax.c2p(x1, f(x1))
+ direction = p1 - p0
+ norm = np.linalg.norm(direction)
+ if norm > 1e-9:
+ direction = direction / norm
+ return m.Line(
+ p0 - direction * 1.4,
+ p1 + direction * 0.6,
+ color=m.YELLOW,
+ stroke_width=3,
+ )
+
+ def endpoints() -> m.VGroup:
+ x1 = x0 + dx.get_value()
+ return m.VGroup(
+ m.Dot(ax.c2p(x0, f(x0)), color=m.RED, radius=0.08),
+ m.Dot(ax.c2p(x1, f(x1)), color=m.RED, radius=0.08),
+ )
+
+ def slope_text() -> m.MathTex:
+ slope = (f(x0 + dx.get_value()) - f(x0)) / dx.get_value()
+ return m.MathTex(
+ f"\\frac{{df}}{{dx}} \\approx {slope:.2f}",
+ color=m.YELLOW,
+ ).to_corner(m.UR, buff=0.5)
+
+ self.add(
+ m.always_redraw(secant),
+ m.always_redraw(endpoints),
+ m.always_redraw(slope_text),
+ )
+ self.wait(0.4)
+ self.play(dx.animate.set_value(0.05), run_time=4.5)
+ self.wait(1.5)
diff --git a/tests/integration/cases/discrete_convolution_slide/case.json b/tests/integration/cases/discrete_convolution_slide/case.json
new file mode 100644
index 00000000..e172d1bf
--- /dev/null
+++ b/tests/integration/cases/discrete_convolution_slide/case.json
@@ -0,0 +1,331 @@
+{
+ "source": "sha256:e315a0db1e7c36be78868010230169d64ee51a36d260d2419667eebaac08b6ed",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["7258038417264e2b", 1],
+ ["eb7992d9110efded", 1],
+ ["98d0d5147ed73f5e", 1],
+ ["3e7472db121e2301", 1],
+ ["85fc1465066d0fa1", 1],
+ ["7c8c108263c19305", 1],
+ ["bf6a28822ed79bf3", 1],
+ ["082490e23f900329", 1],
+ ["f5c4ede8f6146525", 1],
+ ["b57c40c517ecda58", 1],
+ ["606c8f9f06812ff0", 1],
+ ["4680a75c56eb1e32", 1],
+ ["9ed6f1707a477d5b", 1],
+ ["50504eb7620c383d", 1],
+ ["883c4511d4de2007", 1],
+ ["a1ef193560695388", 1],
+ ["5f64b6f3e9e5a0db", 1],
+ ["c2846a664e751050", 1],
+ ["fed1f18b524b76ff", 1],
+ ["abf772dcbad5b504", 1],
+ ["c3481d48b71698fa", 1],
+ ["4b6bf196e1823275", 1],
+ ["d5941456925d2bd3", 1],
+ ["16b881e4feaa76a7", 1],
+ ["7e13c05cef8d8ffe", 1],
+ ["0aa78fc2a695df04", 1],
+ ["f88e0ac7e8c7379b", 1],
+ ["16185c66eeebe866", 1],
+ ["8c40fa512ba86bb0", 1],
+ ["bc841799a7770d37", 1],
+ ["9b67795f9681a045", 1],
+ ["edafb3f1f0cdffb3", 1],
+ ["54bd6ee8a942629e", 1],
+ ["c452be3678b83f06", 1],
+ ["2ad3d238991254e7", 1],
+ ["86fe7546b03a0398", 1],
+ ["7bddaee88725a05f", 1],
+ ["ef2ce565efd916c5", 1],
+ ["467f2d906407a828", 1],
+ ["1e428efbc248170a", 1],
+ ["e64d295ef0e9c3b0", 1],
+ ["f3ae2247ba728124", 1],
+ ["e060b380885ef0ad", 1],
+ ["e116ef5a651ed89c", 1],
+ ["4fb754cfe753b068", 1],
+ ["3bab40feae674a05", 1],
+ ["ea74f15567281d09", 1],
+ ["98726358e2b4d450", 1],
+ ["0a036a91cccba981", 1],
+ ["84394481bbf2b19c", 1],
+ ["8e36ba34ce95d011", 1],
+ ["b33cab35a6f20ecd", 1],
+ ["ad98f7de0e0047e9", 1],
+ ["0e44c1faad5f3af9", 1],
+ ["994eef40c52cf953", 1],
+ ["4e5d023b9f1a5bb7", 1],
+ ["06b6c2890c7bec9e", 1],
+ ["407c625bc4ba5f5e", 1],
+ ["6f1f566e7adc78f0", 1],
+ ["c99ae3c831088451", 1],
+ ["fa7e2bec6c469b08", 1],
+ ["f8014f96a26afa3c", 1],
+ ["95522748b55cb1fb", 1],
+ ["4aefc930fe36e0c0", 1],
+ ["e140051b3d61da4b", 1],
+ ["55a2cb8e9c67a4a6", 1],
+ ["e76bc8c1b641f657", 1],
+ ["56198d6767b68c7b", 1],
+ ["554192ce01e407a4", 1],
+ ["7bde3e4e6162d03a", 1],
+ ["de9bc199822616a5", 1],
+ ["8354bea8debbdcd9", 1],
+ ["f3bff3eff1cb1b56", 1],
+ ["8dc3ff4a8624d644", 1],
+ ["24f196c3ce762c17", 1],
+ ["d3f65b7e7d009bf3", 1],
+ ["abd016e1b78ac9ab", 1],
+ ["1fc57ebf09e618ce", 1],
+ ["80b1d44167f85458", 1],
+ ["26b2a9af44ef1b61", 1],
+ ["98281df4384c724b", 1],
+ ["9600df6d7b66bb26", 1],
+ ["34ef43fa164a7d40", 1],
+ ["5a7d827e4ee5bf64", 1],
+ ["7caedf4a5fd7275d", 1],
+ ["44355ea622be1f20", 1],
+ ["7361ae7eb1512897", 1],
+ ["e5f23eb15556ad11", 1],
+ ["771045b7b64facf9", 1],
+ ["2bfa88f87030970c", 1],
+ ["9fd359f62f8c9aff", 1],
+ ["ab52e07dce989ac5", 1],
+ ["9b1777f0907b8e4d", 1],
+ ["e3b0365741d3b34c", 6]
+ ],
+ "timeline": [
+ [0.0, 100]
+ ],
+ "id": "sha256:c54213651c7ee8fd6895afa89ad2b4cc1101c263422eb187a3b64fddea6dea74"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["c87880d6ae2597a1", 1],
+ ["d0c51aeb20cf5945", 1],
+ ["d9a9b71c9487a51f", 1],
+ ["91c14d4a93c083fe", 1],
+ ["8fb6ec0571f78f08", 1],
+ ["62695be77c543587", 1],
+ ["bc20aad987704d98", 1],
+ ["47462f4659df99e3", 1],
+ ["b0744cada785c5c1", 1],
+ ["9c42aa4106b9587d", 1],
+ ["2ec160b9a440bc83", 1],
+ ["e2b0014bf16fecbb", 1],
+ ["d5440a9e862966b9", 1],
+ ["cb2172da0bfdbc02", 1],
+ ["302f33b2e3575c3d", 1],
+ ["edc13f68771341ac", 1],
+ ["22d16a56785366af", 1],
+ ["cb350723a34a9bec", 1],
+ ["db2e774bde2cdc9a", 1],
+ ["74abea68701ed07c", 1],
+ ["1aa6d7026b749b8b", 1],
+ ["e3411dfdf0a6385b", 1],
+ ["0ed5cb4f36e66197", 1],
+ ["f47eb191b93d0aef", 1],
+ ["d51e63312889a047", 1],
+ ["db1e770ba10acbc1", 1],
+ ["90c4b2669cb51d6a", 1],
+ ["7aa8bb1fe8a92d47", 1],
+ ["2f7d6c50b86a678d", 1],
+ ["ff9b0e1f8ea8a818", 1],
+ ["a5d1a6fe4e9668fd", 1],
+ ["2adee7e2273f8add", 1],
+ ["688d4d3c95731d9c", 1],
+ ["2a468e0c40fefa18", 1],
+ ["5aaf8bf153327e38", 1],
+ ["dbe0428cf3ee010d", 1],
+ ["a31eaba10588c2f1", 1],
+ ["118b975ee128ac5b", 1],
+ ["36c34a6bafa47270", 1],
+ ["a378034482615041", 1],
+ ["776424342a06db36", 1],
+ ["0264f220ec90a984", 1],
+ ["928d6218676def9c", 1],
+ ["6ff15987d0aa99be", 1],
+ ["2361c15bd3214863", 1],
+ ["b6829c54d596766e", 1],
+ ["38cbd35699a66847", 1],
+ ["96cb53b8713376e8", 1],
+ ["dac54dac5a8d32f9", 1],
+ ["fe6c06143a5f8d0b", 1],
+ ["98b219ac98cb6808", 1],
+ ["ec9159d4b47a4dc7", 1],
+ ["a86ce06d8472264a", 1],
+ ["964421f84fed477a", 1],
+ ["7356019e3dade381", 1],
+ ["2043de48d496faff", 1],
+ ["6a27f443c694b1b5", 1],
+ ["3a3bfb49a6abc3cf", 1],
+ ["cc6292a5b7cb91ce", 1],
+ ["8c49f8c0d492b14b", 1],
+ ["3ce47349a5e08a44", 1],
+ ["aeac843c33ddf829", 1],
+ ["650d44a0c948f18c", 1],
+ ["35b4ea944387df4c", 1],
+ ["eedbaf77399eb28f", 1],
+ ["ae9c98c9acedc11b", 1],
+ ["f65e182ddcf635fb", 1],
+ ["ef712485cb9bdc54", 1],
+ ["d84b3cee9a20380f", 1],
+ ["e4a31cc0d3e6dcc3", 1],
+ ["585ab029ead95d86", 1],
+ ["84d24d585a216096", 1],
+ ["b9058ff95e3e4cb4", 1],
+ ["b0107b10382419ef", 1],
+ ["0962fe94538e873d", 1],
+ ["b3c883b0854e8c7e", 1],
+ ["3790009c3984bdc1", 1],
+ ["b220f2eb3c9f61b9", 1],
+ ["a910907b0377d1a1", 1],
+ ["688e1391ff13328e", 1],
+ ["9a4b7d2d5d9a1c70", 1],
+ ["def6052c9821406e", 1],
+ ["a5317be3045e3be8", 1],
+ ["43a0074449378fd7", 1],
+ ["bb584c7468aca152", 1],
+ ["21fe45356938c4b3", 1],
+ ["febea340f0605144", 1],
+ ["c401aaaf7e85a96a", 1],
+ ["807cff5e783f3453", 1],
+ ["ed13658315eb3e0c", 1],
+ ["328a7896d35e1cc1", 1],
+ ["9b4702deba0fce72", 1],
+ ["aa94a43a4f9fcfd0", 1],
+ ["53d82536dbe1659f", 5]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 12],
+ [2.2, 10],
+ [3.2, 8],
+ [4.0, 7],
+ [4.7, 7],
+ [5.4, 6],
+ [6.0, 7],
+ [6.7, 7],
+ [7.4, 6],
+ [8.0, 7],
+ [8.7, 7],
+ [9.4, 5]
+ ],
+ "id": "sha256:394d4fbc029194437b8dc369a2813061d6165f3bf21da2a51aa1920180d0e005"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 1.63, 0.04, 0.21, 3.0],
+ [2, 2, 1.69, 0.03, 0.18, 4.0],
+ [3, 3, 3.18, 0.05, 0.24, 8.0],
+ [4, 4, 5.33, 0.02, 0.28, 17.0],
+ [5, 5, 9.27, 0.03, 0.54, 30.0],
+ [6, 6, 13.63, 0.06, 0.84, 43.0],
+ [7, 7, 15.67, 0.06, 1.06, 51.0],
+ [8, 8, 16.33, 0.06, 1.17, 53.0],
+ [9, 9, 16.67, 0.05, 1.21, 55.0],
+ [10, 10, 16.8, 0.07, 1.23, 55.0],
+ [11, 11, 16.84, 0.07, 1.19, 57.0],
+ [12, 12, 17.24, 0.07, 1.2, 59.0],
+ [13, 13, 16.29, 0.07, 1.18, 55.0],
+ [14, 14, 15.43, 0.07, 1.13, 55.0],
+ [15, 15, 15.16, 0.06, 1.08, 55.0],
+ [16, 16, 14.22, 0.07, 1.42, 87.0],
+ [17, 17, 15.33, 0.06, 1.07, 64.0],
+ [18, 18, 14.84, 0.07, 1.13, 55.0],
+ [19, 19, 16.41, 0.07, 1.18, 57.0],
+ [20, 20, 16.8, 0.07, 1.19, 55.0],
+ [21, 21, 15.65, 0.07, 1.18, 55.0],
+ [22, 22, 16.49, 0.07, 1.23, 55.0],
+ [23, 23, 99.69, 0.11, 2.79, 255.0],
+ [24, 24, 93.67, 0.14, 3.54, 255.0],
+ [25, 25, 133.35, 0.17, 4.08, 255.0],
+ [26, 26, 120.57, 0.19, 4.48, 255.0],
+ [27, 27, 149.0, 0.23, 5.37, 255.0],
+ [28, 28, 149.0, 0.27, 5.77, 255.0],
+ [29, 29, 149.0, 0.29, 6.21, 255.0],
+ [30, 30, 149.0, 0.31, 6.3, 255.0],
+ [31, 31, 149.0, 0.3, 6.19, 255.0],
+ [32, 32, 149.0, 0.3, 6.24, 255.0],
+ [33, 33, 149.0, 0.3, 6.23, 255.0],
+ [34, 34, 149.0, 0.3, 6.24, 255.0],
+ [35, 35, 149.0, 0.3, 6.24, 255.0],
+ [36, 36, 149.0, 0.3, 6.24, 255.0],
+ [37, 37, 149.0, 0.3, 6.24, 255.0],
+ [38, 38, 149.0, 0.3, 6.24, 255.0],
+ [39, 39, 149.0, 0.3, 6.24, 255.0],
+ [40, 40, 149.0, 0.3, 6.24, 255.0],
+ [41, 41, 149.0, 0.3, 6.28, 255.0],
+ [42, 42, 149.0, 0.31, 6.41, 255.0],
+ [43, 43, 149.0, 0.32, 6.53, 255.0],
+ [44, 44, 149.0, 0.32, 6.51, 255.0],
+ [45, 45, 149.0, 0.31, 6.31, 255.0],
+ [46, 46, 149.0, 0.3, 6.26, 255.0],
+ [47, 47, 149.0, 0.3, 6.24, 255.0],
+ [48, 48, 143.53, 0.3, 6.18, 253.0],
+ [49, 49, 140.29, 0.29, 6.01, 253.0],
+ [50, 50, 140.29, 0.28, 5.64, 253.0],
+ [51, 51, 140.29, 0.26, 5.36, 253.0],
+ [52, 52, 140.29, 0.26, 5.38, 253.0],
+ [53, 53, 140.29, 0.26, 5.42, 253.0],
+ [54, 54, 140.29, 0.26, 5.43, 253.0],
+ [55, 55, 140.29, 0.26, 5.43, 253.0],
+ [56, 56, 140.29, 0.26, 5.43, 253.0],
+ [57, 57, 140.29, 0.27, 5.44, 253.0],
+ [58, 58, 140.29, 0.26, 5.43, 253.0],
+ [59, 59, 140.29, 0.26, 5.43, 253.0],
+ [60, 60, 140.29, 0.26, 5.43, 253.0],
+ [61, 61, 140.29, 0.27, 5.47, 253.0],
+ [62, 62, 140.29, 0.28, 5.62, 253.0],
+ [63, 63, 140.29, 0.29, 5.66, 253.0],
+ [64, 64, 140.29, 0.31, 5.79, 253.0],
+ [65, 65, 140.29, 0.3, 5.58, 253.0],
+ [66, 66, 140.29, 0.29, 5.53, 253.0],
+ [67, 67, 140.29, 0.29, 5.52, 253.0],
+ [68, 68, 140.29, 0.29, 5.47, 253.0],
+ [69, 69, 140.29, 0.29, 5.32, 253.0],
+ [70, 70, 140.29, 0.28, 4.98, 253.0],
+ [71, 71, 140.29, 0.27, 4.71, 253.0],
+ [72, 72, 140.29, 0.27, 4.76, 253.0],
+ [73, 73, 140.29, 0.27, 4.82, 253.0],
+ [74, 74, 140.29, 0.27, 4.84, 253.0],
+ [75, 75, 140.29, 0.27, 4.84, 253.0],
+ [76, 76, 140.29, 0.27, 4.84, 253.0],
+ [77, 77, 140.29, 0.27, 4.85, 253.0],
+ [78, 78, 140.29, 0.27, 4.84, 253.0],
+ [79, 79, 140.29, 0.27, 4.85, 253.0],
+ [80, 80, 140.29, 0.27, 4.85, 253.0],
+ [81, 81, 140.29, 0.27, 4.89, 253.0],
+ [82, 82, 140.29, 0.29, 5.07, 253.0],
+ [83, 83, 140.29, 0.3, 5.13, 253.0],
+ [84, 84, 140.29, 0.33, 5.33, 253.0],
+ [85, 85, 140.29, 0.33, 5.25, 253.0],
+ [86, 86, 140.29, 0.32, 5.1, 253.0],
+ [87, 87, 140.29, 0.32, 5.06, 253.0],
+ [88, 88, 137.43, 0.32, 5.02, 248.0],
+ [89, 89, 125.57, 0.32, 4.83, 225.0],
+ [90, 90, 96.43, 0.31, 4.37, 193.0],
+ [91, 91, 79.45, 0.3, 4.04, 193.0],
+ [92, 92, 79.45, 0.3, 4.15, 193.0],
+ [93, 93, 80.53, 0.3, 4.25, 193.0],
+ [94, 94, 84.57, 0.3, 4.29, 193.0],
+ [95, 95, 84.57, 0.3, 4.29, 193.0],
+ [96, 96, 84.57, 0.3, 4.29, 193.0],
+ [97, 97, 84.57, 0.3, 4.29, 193.0],
+ [98, 98, 84.57, 0.3, 4.29, 193.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/discrete_convolution_slide/ce.mkv.sha256 b/tests/integration/cases/discrete_convolution_slide/ce.mkv.sha256
new file mode 100644
index 00000000..f04901fa
--- /dev/null
+++ b/tests/integration/cases/discrete_convolution_slide/ce.mkv.sha256
@@ -0,0 +1 @@
+c06f4ed4ec9d310fa22d88881b69c3dfb944bf92ed40e438dce78d9e574922b3 ce.mkv
diff --git a/tests/integration/cases/discrete_convolution_slide/manimgx.mkv.sha256 b/tests/integration/cases/discrete_convolution_slide/manimgx.mkv.sha256
new file mode 100644
index 00000000..80a84204
--- /dev/null
+++ b/tests/integration/cases/discrete_convolution_slide/manimgx.mkv.sha256
@@ -0,0 +1 @@
+af9b34935959f16ec4f74664e12d5f5285ea47708b231d7314b644f81a019e6d manimgx.mkv
diff --git a/tests/integration/cases/discrete_convolution_slide/review.json b/tests/integration/cases/discrete_convolution_slide/review.json
new file mode 100644
index 00000000..9c06d807
--- /dev/null
+++ b/tests/integration/cases/discrete_convolution_slide/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:e315a0db1e7c36be78868010230169d64ee51a36d260d2419667eebaac08b6ed",
+ "manimgx": "sha256:c54213651c7ee8fd6895afa89ad2b4cc1101c263422eb187a3b64fddea6dea74",
+ "ce": "sha256:394d4fbc029194437b8dc369a2813061d6165f3bf21da2a51aa1920180d0e005",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/discrete_convolution_slide/scene.py b/tests/integration/cases/discrete_convolution_slide/scene.py
new file mode 100644
index 00000000..cf66247e
--- /dev/null
+++ b/tests/integration/cases/discrete_convolution_slide/scene.py
@@ -0,0 +1,97 @@
+"""Show what convolving the sequences (1, 2, 3) and (4, 5, 6) looks like step by step."""
+
+import manimgx as m
+
+CELL = 1.0 # world-space width/height of each cell (one manimgx unit)
+TOP_Y = 1.8
+BOT_Y = 0.3
+OUT_Y = -1.8
+
+
+def _cell(value: int, color: str) -> m.VGroup:
+ """A labeled square cell: filled square + integer label centered inside."""
+ square = m.Square(side_length=CELL).set_stroke(m.WHITE, 2).set_fill(color, 0.35)
+ label = m.MathTex(str(value), font_size=38)
+ label.move_to(square.get_center())
+ return m.VGroup(square, label)
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ # Top row: (1, 2, 3), centered on x = 0.
+ top_values = [1, 2, 3]
+ top_row = m.VGroup(*[_cell(v, m.BLUE) for v in top_values])
+ for i, cell in enumerate(top_row):
+ cell.move_to([(i - 1) * CELL, TOP_Y, 0.0])
+
+ # Bottom row: (4, 5, 6), drawn in reading order — to be flipped (convolution).
+ bot_values = [4, 5, 6]
+ bot_row = m.VGroup(*[_cell(v, m.YELLOW) for v in bot_values])
+ for i, cell in enumerate(bot_row):
+ cell.move_to([(i - 1) * CELL, BOT_Y, 0.0])
+
+ self.play(m.FadeIn(top_row), m.FadeIn(bot_row), run_time=1.0)
+
+ # Flip the bottom row 180 degrees — this is the "reverse g" step of convolution.
+ self.play(m.Rotate(bot_row, m.PI), run_time=1.2)
+
+ # Output row placeholder: three empty labels for c_0, c_1, c_2.
+ output_labels: list[m.MathTex] = []
+ for n in range(3):
+ placeholder = m.MathTex(f"c_{n} = ?", font_size=36)
+ placeholder.move_to([(n - 1) * 2.2, OUT_Y, 0.0])
+ output_labels.append(placeholder)
+ output_group = m.VGroup(*output_labels)
+ self.play(m.Write(output_group), run_time=1.0)
+
+ # March the flipped bot_row across the top_row and collect aligned products.
+ # After the Rotate, the cell that VISUALLY shows "6" sits at x=-1, "5" at x=0, "4" at x=1.
+ # Position the flipped row so its rightmost visible cell aligns with top[0] (index 0).
+ # top_row centers: top[0] = -1, top[1] = 0, top[2] = 1.
+ # For output index n, the flipped row's cells overlap top_row cells i where i + j = n.
+ # We realize that by shifting the flipped row left-to-right in CELL-sized steps.
+
+ # Start: shift bot_row left so only its rightmost cell aligns with top[0] (n=0).
+ # After rotate, bot_row's geometric center is still at (0, BOT_Y). We want to move it.
+ start_shift = (
+ -2.0 * CELL * m.RIGHT
+ ) # bot_row center at x=-2; its visible "4" at x=-1 overlaps top[0] at x=-1.
+ self.play(bot_row.animate.shift(start_shift), run_time=0.8)
+
+ # Pair products for the three march steps:
+ products_by_n = {
+ 0: [(0, 0, 1 * 4)],
+ 1: [(0, 1, 1 * 5), (1, 0, 2 * 4)],
+ 2: [(0, 2, 1 * 6), (1, 1, 2 * 5), (2, 0, 3 * 4)],
+ }
+
+ results = {0: 4, 1: 13, 2: 28}
+
+ for n in range(3):
+ # Highlight each aligned pair with a SurroundingRectangle pulse.
+ pair_highlights: list[m.Animation] = []
+ for top_idx, _bot_idx, _prod in products_by_n[n]:
+ top_cell = top_row[top_idx]
+ # The bot cell overlapping top_cell is the one currently at the same x.
+ target_x = top_cell.get_center()[0]
+ # Find the submobject of bot_row whose center is nearest target_x.
+ nearest = min(bot_row, key=lambda c: abs(c.get_center()[0] - target_x))
+ pair_rect = m.SurroundingRectangle(
+ m.VGroup(top_cell, nearest), color=m.GREEN, buff=0.08
+ )
+ pair_highlights.append(m.Create(pair_rect))
+ if pair_highlights:
+ self.play(*pair_highlights, run_time=0.7)
+
+ # Resolve the output cell for this step.
+ final_label = m.MathTex(
+ f"c_{n} = {results[n]}", font_size=36, color=m.GREEN
+ )
+ final_label.move_to(output_labels[n].get_center())
+ self.play(m.FadeTransform(output_labels[n], final_label), run_time=0.7)
+
+ # Shift the bottom row right by one cell for the next alignment — skip after last.
+ if n < 2:
+ self.play(bot_row.animate.shift(CELL * m.RIGHT), run_time=0.6)
+
+ self.wait(0.5)
diff --git a/tests/integration/cases/dr_annulus_polar_nudge/case.json b/tests/integration/cases/dr_annulus_polar_nudge/case.json
new file mode 100644
index 00000000..97c67801
--- /dev/null
+++ b/tests/integration/cases/dr_annulus_polar_nudge/case.json
@@ -0,0 +1,350 @@
+{
+ "source": "sha256:2b28ee12978f998377093e54e87cef20529034bba81c22a264362522a45b2d20",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 11.1,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["7e5a0920e9a35cbf", 1],
+ ["70a1a1295825f6d6", 1],
+ ["e5922515ea71cb02", 1],
+ ["2f487e76d1937f3a", 1],
+ ["6a09ec2e1ccdb94e", 1],
+ ["f8b50c614664c443", 1],
+ ["a39b6c6e26b82ed3", 1],
+ ["432a63cc8892cc70", 1],
+ ["a6d06814b10bcce6", 1],
+ ["69826caa96e5b5e7", 1],
+ ["af79f58048883406", 1],
+ ["7d6f47c414e4cc5b", 1],
+ ["f349669067cc19c9", 1],
+ ["b0ef836ea9f04124", 1],
+ ["1f006ecd4fa7282a", 1],
+ ["ede979c6d6c0e518", 1],
+ ["6da96cc70a4731e8", 1],
+ ["89676d01774740ff", 1],
+ ["03b954095b9cb763", 1],
+ ["1dd7b47c0c4c2d4c", 3],
+ ["ae81ccc7da94a61b", 1],
+ ["437b612addc0b0ef", 1],
+ ["5fbbd819ffac2168", 1],
+ ["86a0db658b917e0a", 1],
+ ["c1586aac594b40b6", 1],
+ ["72e23de4c725205f", 1],
+ ["f7eab8db5945b0f8", 1],
+ ["4834b80f19914923", 1],
+ ["0b57f0031ad0cc2d", 1],
+ ["b030903cc4408d26", 1],
+ ["d28228fc09135ea7", 1],
+ ["ddb959e8904bd7f6", 1],
+ ["a50169cbe749a230", 1],
+ ["8a283473337e4e28", 1],
+ ["ea63dd349d3fa20e", 1],
+ ["34a5e16bcf658fd2", 1],
+ ["ce4f3aaab6a237fc", 1],
+ ["79f9db49946dad84", 1],
+ ["cba3f4a42992b2b7", 1],
+ ["942c1bf809160dee", 1],
+ ["d0b993ddc1f827f0", 4],
+ ["ebff569971c59e7b", 1],
+ ["e58ce477f6115dd1", 1],
+ ["86a62f9037b33c38", 1],
+ ["c484d9ead8fa76e9", 1],
+ ["af4d0324ac92fd87", 1],
+ ["792b796c5adc74b7", 1],
+ ["afd87587fe7b683e", 1],
+ ["493aa9eb55a9d188", 1],
+ ["005a6a2c19016d54", 1],
+ ["6eeed0f2560cb9b8", 1],
+ ["cc5788bf2730de4b", 1],
+ ["a68ac85f82f9bc29", 1],
+ ["1cc172923ba20c6e", 1],
+ ["3f28acec60170ab6", 1],
+ ["dc3a668d925593de", 1],
+ ["44e00026ce900530", 1],
+ ["b79e845214dce1c3", 1],
+ ["6678c8377a38712e", 1],
+ ["7ad11ddc3432ca6a", 1],
+ ["4f7d975e15d7eb31", 1],
+ ["a1160236b9b08335", 1],
+ ["17dc9e47329e4dc2", 1],
+ ["90707dcd799d754e", 1],
+ ["efcbfce75fd23b1b", 1],
+ ["043aef899fc382ba", 1],
+ ["4ff4e9c36713abc9", 1],
+ ["6b830a8527503264", 1],
+ ["2c52255ddd284622", 1],
+ ["34efe8eca1740564", 1],
+ ["4756281b8b58d82c", 1],
+ ["8073ccfaedfd7591", 1],
+ ["c083d8f46d5d200b", 1],
+ ["cbf9457b9f9bc83e", 1],
+ ["8bfdf694e398ab93", 1],
+ ["f3516cad69cfa725", 1],
+ ["a9c99a94e1e03702", 1],
+ ["d70b2f7fa79d35c8", 1],
+ ["7e57919cb3286d96", 1],
+ ["70098573cfaeb3c3", 1],
+ ["05ac993ffe54711b", 1],
+ ["76bffc89b5938913", 1],
+ ["82aab85d7be88f98", 1],
+ ["27710abda962fb79", 1],
+ ["de58a2e48d339cc2", 1],
+ ["e667f554c37c235f", 4],
+ ["edfa98c7d41d34e6", 1],
+ ["37bccb6bb201c425", 1],
+ ["cf4212371ac7a584", 1],
+ ["f47106943307ce47", 1],
+ ["2e66ddfbb93013d3", 1],
+ ["e8379573f2722bc5", 1],
+ ["03c7d86ca84313e9", 1],
+ ["22fe4adc0c3944b6", 1],
+ ["48c01f7fbae550b4", 1],
+ ["8a10bd41689383ee", 1],
+ ["20473a9a3b733954", 1],
+ ["d906b5bdf0d9886f", 6]
+ ],
+ "timeline": [
+ [0.0, 112]
+ ],
+ "id": "sha256:5aaff50a22a4c9db3213d1c1eafda08a4dfd84233a01331254394a2824f97b27"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 11.1,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["53b6fe087101385f", 1],
+ ["6774836f0e582d9b", 1],
+ ["781d3ad0dbef2e53", 1],
+ ["ae2f4ae02d764efd", 1],
+ ["42b500cebfd42762", 1],
+ ["af90b0c3e1c56e2e", 1],
+ ["74032a5d92c29d55", 1],
+ ["504b36ab1e01eebb", 1],
+ ["b9c8ec9dfe6bab01", 1],
+ ["0241d5e2f78fc8e6", 1],
+ ["dcfef8b17839acf9", 1],
+ ["4bff0b94f8738e08", 1],
+ ["7afb89aa82192a53", 1],
+ ["f74a76a321dbf6b2", 1],
+ ["410852032c907ed3", 1],
+ ["f968cd7323424601", 1],
+ ["556618d3b1b95169", 1],
+ ["12fed7cfa3d57c17", 1],
+ ["9efc23faa100c0ec", 1],
+ ["f96fd96380e39bee", 2],
+ ["cafeaae610f3f827", 1],
+ ["ab18b395ffccc5b0", 1],
+ ["7ce6141d5d65d725", 1],
+ ["183653de37819fe6", 1],
+ ["529e8d8f388d9569", 1],
+ ["d414ebca9b3508d6", 1],
+ ["e4df87756f155bcf", 1],
+ ["6559d5423b349c51", 1],
+ ["bf5d53cf8bab5aba", 1],
+ ["3c2bd5de0addddd9", 1],
+ ["777ec55667124a86", 1],
+ ["6e0dd3d3fc561d3e", 1],
+ ["ff51a068390ed316", 1],
+ ["a6c1b939935f5e44", 1],
+ ["590acb24e578b2dd", 1],
+ ["8c3e105bff1f08a5", 1],
+ ["fcd1ef4567e7eed4", 1],
+ ["c274723699730b4f", 1],
+ ["9f0fabd07d769bc1", 1],
+ ["ab2e8c606023520c", 1],
+ ["4505e13cc3725265", 3],
+ ["9f0535da42ef435b", 1],
+ ["a7267d593a7bc710", 1],
+ ["6c8328d632700f68", 1],
+ ["43de6f1212cf4188", 1],
+ ["8fa84fab43daa6f6", 1],
+ ["19a8538e835f5f5a", 1],
+ ["7eda5d0736f35a83", 1],
+ ["f0a49973d11ecea6", 1],
+ ["9c8751c2c7d42348", 1],
+ ["b0871c2bc46c8730", 1],
+ ["383d2e3e7f48b1e4", 1],
+ ["d3cf52b0d763fca3", 1],
+ ["0ca53a068663253b", 1],
+ ["8e5c7c72f0309abd", 1],
+ ["5a37b67f3e02faec", 1],
+ ["50b838e4c7b0cd8a", 1],
+ ["7905416739e3272e", 1],
+ ["80bb11f93a74bb9d", 1],
+ ["160b74f95db85a9d", 1],
+ ["d32df7ab5abc7435", 1],
+ ["6f14d28705e4ea16", 1],
+ ["af4eddf0444f86ae", 1],
+ ["91a46498761a192c", 1],
+ ["67240ae0e6278ba8", 1],
+ ["b0e63341dfa80e6f", 1],
+ ["47d23e079ffaef8a", 1],
+ ["d633280c62d3dcb2", 1],
+ ["bd34929a40d79596", 1],
+ ["944a8e521640a478", 1],
+ ["1ea767344882ac9a", 1],
+ ["5c924abba4b06ee2", 1],
+ ["68ec54ad5904e4e3", 1],
+ ["4eb0d7afc0b8644f", 1],
+ ["a33e8f54c48f16a2", 1],
+ ["f746d80988fc6b35", 1],
+ ["2ade14ba2c115171", 1],
+ ["40652218c63a2e31", 1],
+ ["3c0a08a4e62ecf6b", 1],
+ ["16018f4e6fcb8558", 1],
+ ["1d6d4fd01b6c7885", 1],
+ ["159f3cbc7dcecfd4", 1],
+ ["6594bd95241a5532", 1],
+ ["e3f6e46f411c27c0", 1],
+ ["23b2225befded5e6", 1],
+ ["086e2181e7efd69b", 3],
+ ["a810a9923b48ca0d", 1],
+ ["24550e47a17b2646", 1],
+ ["f7b3d7d4166fa36c", 1],
+ ["91e9582add76eef5", 1],
+ ["9194436ab749b933", 1],
+ ["44ee19f0fee69960", 1],
+ ["6c562e106a130286", 1],
+ ["70fd9ae0cbb6606e", 1],
+ ["511e2bcb4ea6b47e", 1],
+ ["fd1821a8286abbd7", 1],
+ ["eef5593b14958b3d", 1],
+ ["fdbbd5437638af4d", 5]
+ ],
+ "timeline": [
+ [0.0, 12],
+ [1.2, 8],
+ [2.0, 2],
+ [2.3, 8],
+ [3.1, 12],
+ [4.3, 2],
+ [4.6, 15],
+ [6.1, 15],
+ [7.6, 15],
+ [9.1, 2],
+ [9.4, 12],
+ [10.6, 5]
+ ],
+ "id": "sha256:a5637ead0a1b7f7926f5ab3b4b164c37f358845e0b8d61c7f2585bee066b4497"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 1.33, 0.0, 0.03, 10.0],
+ [2, 2, 2.04, 0.0, 0.05, 17.0],
+ [3, 3, 1.92, 0.0, 0.07, 15.0],
+ [4, 4, 3.02, 0.0, 0.11, 26.0],
+ [5, 5, 2.73, 0.01, 0.15, 18.0],
+ [6, 6, 2.59, 0.02, 0.2, 15.0],
+ [7, 7, 3.22, 0.03, 0.27, 23.0],
+ [8, 8, 2.59, 0.04, 0.27, 18.0],
+ [9, 9, 2.59, 0.04, 0.27, 16.0],
+ [10, 10, 2.59, 0.04, 0.28, 16.0],
+ [11, 11, 2.59, 0.04, 0.28, 16.0],
+ [12, 12, 2.59, 0.04, 0.28, 16.0],
+ [13, 13, 68.49, 0.05, 1.32, 201.0],
+ [14, 14, 130.35, 0.06, 1.72, 201.0],
+ [15, 15, 87.37, 0.05, 1.27, 201.0],
+ [16, 16, 18.53, 0.04, 0.44, 85.0],
+ [17, 17, 16.96, 0.04, 0.42, 78.0],
+ [18, 18, 15.33, 0.04, 0.39, 57.0],
+ [19, 19, 10.2, 0.04, 0.34, 49.0],
+ [20, 20, 14.67, 0.04, 0.39, 60.0],
+ [21, 21, 14.67, 0.04, 0.39, 60.0],
+ [21, 22, 14.67, 0.04, 0.39, 60.0],
+ [22, 23, 14.67, 0.04, 0.39, 60.0],
+ [23, 24, 79.51, 0.1, 1.7, 245.0],
+ [24, 25, 78.22, 0.1, 2.26, 247.0],
+ [25, 26, 161.8, 0.12, 2.64, 247.0],
+ [26, 27, 107.53, 0.1, 1.94, 247.0],
+ [27, 28, 63.35, 0.1, 1.24, 163.0],
+ [28, 29, 50.27, 0.08, 1.07, 149.0],
+ [29, 30, 34.29, 0.09, 1.05, 126.0],
+ [30, 31, 48.57, 0.1, 1.17, 159.0],
+ [31, 32, 102.51, 0.14, 3.0, 255.0],
+ [32, 33, 114.27, 0.2, 4.33, 255.0],
+ [33, 34, 94.47, 0.2, 3.9, 255.0],
+ [34, 35, 108.84, 0.23, 4.39, 255.0],
+ [35, 36, 159.33, 0.26, 4.92, 255.0],
+ [36, 37, 166.82, 0.24, 4.45, 255.0],
+ [37, 38, 83.14, 0.23, 4.06, 255.0],
+ [38, 39, 113.67, 0.26, 4.54, 255.0],
+ [39, 40, 154.76, 0.26, 4.46, 255.0],
+ [40, 41, 110.9, 0.24, 4.13, 242.0],
+ [41, 42, 80.0, 0.23, 3.87, 242.0],
+ [42, 43, 80.0, 0.23, 3.96, 243.0],
+ [43, 44, 80.0, 0.23, 3.96, 243.0],
+ [43, 45, 80.0, 0.23, 3.96, 243.0],
+ [44, 46, 80.0, 0.23, 3.96, 243.0],
+ [45, 47, 80.0, 0.23, 3.96, 243.0],
+ [46, 48, 80.0, 0.23, 3.96, 243.0],
+ [47, 49, 80.0, 0.23, 3.97, 243.0],
+ [48, 50, 80.0, 0.23, 3.98, 243.0],
+ [49, 51, 80.0, 0.23, 3.98, 243.0],
+ [50, 52, 80.0, 0.23, 3.99, 243.0],
+ [51, 53, 80.0, 0.23, 4.01, 243.0],
+ [52, 54, 80.0, 0.23, 4.03, 243.0],
+ [53, 55, 80.0, 0.23, 4.04, 243.0],
+ [54, 56, 80.0, 0.23, 4.04, 243.0],
+ [55, 57, 80.0, 0.23, 4.05, 243.0],
+ [56, 58, 80.0, 0.23, 4.05, 243.0],
+ [57, 59, 80.0, 0.23, 4.05, 243.0],
+ [58, 60, 80.0, 0.23, 4.05, 243.0],
+ [59, 61, 80.0, 0.23, 4.05, 243.0],
+ [60, 62, 80.0, 0.23, 4.05, 243.0],
+ [61, 63, 80.0, 0.23, 4.05, 243.0],
+ [62, 64, 80.0, 0.23, 4.05, 243.0],
+ [63, 65, 80.0, 0.23, 4.06, 243.0],
+ [64, 66, 80.0, 0.23, 4.05, 243.0],
+ [65, 67, 80.0, 0.23, 4.06, 243.0],
+ [66, 68, 80.0, 0.23, 4.06, 243.0],
+ [67, 69, 80.0, 0.23, 4.06, 243.0],
+ [68, 70, 80.0, 0.22, 4.06, 243.0],
+ [69, 71, 80.0, 0.22, 4.06, 243.0],
+ [70, 72, 80.0, 0.22, 4.06, 243.0],
+ [71, 73, 80.0, 0.22, 4.06, 243.0],
+ [72, 74, 80.0, 0.22, 4.06, 243.0],
+ [73, 75, 80.0, 0.22, 4.06, 243.0],
+ [74, 76, 80.0, 0.22, 4.06, 243.0],
+ [75, 77, 80.0, 0.22, 4.06, 243.0],
+ [76, 78, 80.0, 0.22, 4.06, 243.0],
+ [77, 79, 80.0, 0.22, 4.06, 243.0],
+ [78, 80, 80.0, 0.22, 4.06, 243.0],
+ [79, 81, 80.0, 0.22, 4.06, 243.0],
+ [80, 82, 80.0, 0.22, 4.06, 243.0],
+ [81, 83, 80.0, 0.22, 4.06, 243.0],
+ [82, 84, 80.0, 0.22, 4.06, 243.0],
+ [83, 85, 80.0, 0.22, 4.06, 243.0],
+ [84, 86, 80.0, 0.22, 4.06, 243.0],
+ [85, 87, 80.0, 0.22, 4.06, 243.0],
+ [86, 88, 80.0, 0.22, 4.06, 243.0],
+ [87, 89, 80.0, 0.22, 4.06, 243.0],
+ [88, 90, 80.0, 0.22, 4.06, 243.0],
+ [89, 91, 80.0, 0.22, 4.06, 243.0],
+ [90, 92, 80.0, 0.22, 4.06, 243.0],
+ [90, 93, 80.0, 0.22, 4.06, 243.0],
+ [91, 94, 80.0, 0.22, 4.06, 243.0],
+ [92, 95, 84.84, 0.28, 5.07, 255.0],
+ [93, 96, 106.92, 0.34, 5.98, 255.0],
+ [94, 97, 158.67, 0.34, 5.75, 255.0],
+ [95, 98, 131.63, 0.35, 5.7, 255.0],
+ [96, 99, 147.88, 0.37, 6.04, 255.0],
+ [97, 100, 145.71, 0.4, 6.36, 255.0],
+ [98, 101, 137.51, 0.42, 6.48, 255.0],
+ [99, 102, 114.35, 0.47, 6.92, 255.0],
+ [100, 103, 156.45, 0.49, 7.18, 255.0],
+ [101, 104, 156.45, 0.44, 6.47, 255.0],
+ [102, 105, 156.45, 0.42, 6.26, 255.0],
+ [103, 106, 156.45, 0.42, 6.26, 255.0],
+ [104, 107, 156.45, 0.42, 6.26, 255.0],
+ [105, 108, 156.45, 0.42, 6.26, 255.0],
+ [106, 109, 156.45, 0.42, 6.26, 255.0],
+ [107, 110, 156.45, 0.42, 6.26, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/dr_annulus_polar_nudge/ce.mkv.sha256 b/tests/integration/cases/dr_annulus_polar_nudge/ce.mkv.sha256
new file mode 100644
index 00000000..6bcf5b22
--- /dev/null
+++ b/tests/integration/cases/dr_annulus_polar_nudge/ce.mkv.sha256
@@ -0,0 +1 @@
+32a9f5e6fdda6f5551f38c797f00db92dba17048460093143372f014d09bbba9 ce.mkv
diff --git a/tests/integration/cases/dr_annulus_polar_nudge/manimgx.mkv.sha256 b/tests/integration/cases/dr_annulus_polar_nudge/manimgx.mkv.sha256
new file mode 100644
index 00000000..f7f63af7
--- /dev/null
+++ b/tests/integration/cases/dr_annulus_polar_nudge/manimgx.mkv.sha256
@@ -0,0 +1 @@
+b2a13248c439154a032e3337fce66a591bc722b753bfde7d484755014f00dfee manimgx.mkv
diff --git a/tests/integration/cases/dr_annulus_polar_nudge/review.json b/tests/integration/cases/dr_annulus_polar_nudge/review.json
new file mode 100644
index 00000000..1bcd92bf
--- /dev/null
+++ b/tests/integration/cases/dr_annulus_polar_nudge/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:2b28ee12978f998377093e54e87cef20529034bba81c22a264362522a45b2d20",
+ "manimgx": "sha256:5aaff50a22a4c9db3213d1c1eafda08a4dfd84233a01331254394a2824f97b27",
+ "ce": "sha256:a5637ead0a1b7f7926f5ab3b4b164c37f358845e0b8d61c7f2585bee066b4497",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/dr_annulus_polar_nudge/scene.py b/tests/integration/cases/dr_annulus_polar_nudge/scene.py
new file mode 100644
index 00000000..a451c287
--- /dev/null
+++ b/tests/integration/cases/dr_annulus_polar_nudge/scene.py
@@ -0,0 +1,86 @@
+"""Why does d/dr of pi*r^2 equal 2*pi*r? Show the nudge geometrically."""
+
+import numpy as np
+
+import manimgx as m
+
+EVAL_MUST_NOT_USE: set[str] = set()
+EVAL_EXEMPT: set[str] = set()
+EVAL_NOTES: str = ""
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ base_radius = 1.8
+ center = 1.0 * m.LEFT
+
+ # The disk of area pi*r^2.
+ disk = m.Circle(radius=base_radius, color=m.TEAL_E).move_to(center)
+ disk.set_fill(m.TEAL_E, opacity=0.75)
+ disk.set_stroke(m.WHITE, width=1.5)
+
+ # Radius label with a small marker line.
+ radius_line = m.Line(
+ center,
+ center + np.array([base_radius, 0.0, 0.0]),
+ color=m.WHITE,
+ stroke_width=3.0,
+ )
+ r_label = m.MathTex("r", color=m.WHITE).next_to(radius_line, m.DOWN, buff=0.1)
+
+ self.play(m.Create(disk), run_time=1.2)
+ self.play(m.Create(radius_line), m.Write(r_label), run_time=0.8)
+ self.wait(0.3)
+
+ # The nudge: an annulus of thickness dr that wraps around the disk.
+ dr_tracker = m.ValueTracker(0.5)
+ dA = m.always_redraw(
+ lambda: m.Annulus(
+ inner_radius=base_radius,
+ outer_radius=base_radius + dr_tracker.get_value(),
+ color=m.RED_E,
+ fill_opacity=0.7,
+ stroke_color=m.WHITE,
+ stroke_width=1.0,
+ ).move_to(center)
+ )
+
+ # The dr bracket sitting on the right side of the disk.
+ def dr_brace() -> m.Line:
+ r_outer = base_radius + dr_tracker.get_value()
+ y = 0.0
+ return m.Line(
+ center + np.array([base_radius, y + 0.35, 0.0]),
+ center + np.array([r_outer, y + 0.35, 0.0]),
+ color=m.YELLOW,
+ stroke_width=4.0,
+ )
+
+ dr_indicator = m.always_redraw(dr_brace)
+ dr_label = m.MathTex("dr", color=m.YELLOW).next_to(
+ np.array([center[0] + base_radius + 0.3, 0.6, 0.0]),
+ m.UP,
+ buff=0.1,
+ )
+
+ self.add(dA, dr_indicator)
+ self.play(m.FadeIn(dA), m.Write(dr_label), run_time=0.8)
+
+ # Equation in the upper right — spelled out next to the picture.
+ area_eq = m.MathTex(R"dA = 2 \pi r \cdot dr").scale(1.1).to_edge(m.UP)
+ self.play(m.Write(area_eq), run_time=1.2)
+ self.wait(0.3)
+
+ # Let the student SEE dr shrink toward the limit.
+ self.play(dr_tracker.animate.set_value(0.25), run_time=1.5)
+ self.play(dr_tracker.animate.set_value(0.1), run_time=1.5)
+ self.play(dr_tracker.animate.set_value(0.05), run_time=1.5)
+ self.wait(0.3)
+
+ derivative_eq = (
+ m.MathTex(R"\frac{d}{dr}(\pi r^2) = 2 \pi r")
+ .scale(1.1)
+ .next_to(area_eq, m.DOWN, buff=0.3)
+ )
+ self.play(m.Write(derivative_eq), run_time=1.2)
+ self.wait(0.5)
diff --git a/tests/integration/cases/euler_spiral_taylor_terms/case.json b/tests/integration/cases/euler_spiral_taylor_terms/case.json
new file mode 100644
index 00000000..e8ed9b43
--- /dev/null
+++ b/tests/integration/cases/euler_spiral_taylor_terms/case.json
@@ -0,0 +1,285 @@
+{
+ "source": "sha256:806de92926a44392326351565306d2b42971b352df4f24e6c4ead419e4a24206",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 8.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["961c0e6dc8aef2f4", 1],
+ ["175fb62bfa9598ca", 1],
+ ["872b08bf3881e3fd", 1],
+ ["4d30fb128e56c27b", 1],
+ ["a8f69805aa75028d", 1],
+ ["b99a006688bbb1a7", 1],
+ ["a06cc9f0607d3818", 1],
+ ["eef55aaf554393f6", 1],
+ ["d0eb5eb8fe00bd86", 1],
+ ["b888696ab80a7f6d", 1],
+ ["bba598e0acdd5ff1", 1],
+ ["1738bde0ee34c8db", 1],
+ ["24e6c27a816ef452", 1],
+ ["336d22a403dda289", 1],
+ ["71bce7740e06fa5c", 1],
+ ["19fb2b836330d733", 1],
+ ["a486214233ee1869", 1],
+ ["2f18271db83b814d", 1],
+ ["4183db3430b08f89", 1],
+ ["f69ced91d066fa86", 1],
+ ["5c907916e44e3727", 1],
+ ["8a4946bd545cd90d", 1],
+ ["0857c0e4e5864239", 1],
+ ["68893df8d800bd4b", 4],
+ ["80b61d49b7f22cc6", 1],
+ ["1bb02b0862ad7692", 1],
+ ["ae9d3e4cf6f2bbd8", 1],
+ ["feca0752953add45", 1],
+ ["2883db27fd9b0bad", 1],
+ ["43767c9362a5fef2", 1],
+ ["0f22b8576717d32c", 1],
+ ["8b8407f1f4e5037a", 1],
+ ["a48af00e7708531a", 1],
+ ["7249ae1f92cfa6bd", 1],
+ ["25361cea62157fed", 1],
+ ["60cbb367fcefa64f", 1],
+ ["f4c1921a2a9f6cd3", 1],
+ ["6aaba886a0ed08b4", 1],
+ ["117d1a7637d13972", 1],
+ ["147b8b9f8fde5e48", 1],
+ ["42c6f3689f40e7b6", 1],
+ ["a2d65d35f333089f", 1],
+ ["0517b033e47e8670", 1],
+ ["76128c8d29eaa4bb", 1],
+ ["50f60ff0f2640e3c", 1],
+ ["10f586d47e713228", 1],
+ ["f04690f91f92064a", 1],
+ ["b68a7ec21e6c9194", 1],
+ ["f747d932e580096e", 1],
+ ["839b94089d783f2a", 1],
+ ["321f944c87adcf86", 1],
+ ["593bba158502136e", 1],
+ ["663f9cf1a962578a", 1],
+ ["70748d24ebe8aa7b", 1],
+ ["1b0129f0a5e517eb", 1],
+ ["362d31e439ac404a", 1],
+ ["523a07bf2ce19619", 1],
+ ["3c1f349b29afc3fa", 1],
+ ["198e0f5cdf5e90c4", 1],
+ ["39517635cd6914da", 1],
+ ["6fadd82a0b05a53d", 1],
+ ["0d91e0128fa82da3", 1],
+ ["f3c9fd049ccb16ee", 1],
+ ["4c0f45622e9aa066", 1],
+ ["c8fe0980669d8630", 1],
+ ["5d1bbb7f735ee54a", 1],
+ ["80f99569036570c2", 1],
+ ["f7b23ca5f3c6d9a0", 1],
+ ["de4474404b5bf156", 1],
+ ["820af1d11ad3ed4a", 1],
+ ["3748fcacbd065a55", 1],
+ ["1746fa266ed3c8c5", 1],
+ ["d67ac8a21d3f0035", 1],
+ ["723edd80a1b60f41", 1],
+ ["0584531d43613263", 1],
+ ["9e7cbc2fc8a281f2", 1],
+ ["92469b96c2634518", 1],
+ ["91da382209ca4eb0", 1],
+ ["966a89bea0ceccde", 1],
+ ["17dbe9b635f5c0e0", 6]
+ ],
+ "timeline": [
+ [0.0, 89]
+ ],
+ "id": "sha256:94db8a7c1a036406da0f8b638845733458315c3f321412e2d8fabb0b69987028"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 8.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["3876571c1985e5c2", 1],
+ ["713a4020e65f8761", 1],
+ ["ddae1c8becc191c2", 1],
+ ["6ff3a3ad1f38b0ce", 1],
+ ["aae6f81d397bfdfb", 1],
+ ["040bdd2470ef7bbc", 1],
+ ["5618db42fac6b0ff", 1],
+ ["3a75908f237d7a9c", 1],
+ ["49772a63c2cf386a", 1],
+ ["4847d61c0f074c67", 1],
+ ["e3214ac8175ab98d", 1],
+ ["809391f9b19a499d", 1],
+ ["4ac20b514fc70fa9", 1],
+ ["c216c1751714a8e1", 1],
+ ["11c7869aeb813faa", 1],
+ ["f7b765fbb15391f7", 1],
+ ["00d47fcb99b1a513", 1],
+ ["11cc7d08b68ce536", 1],
+ ["6086e50e1c58127b", 1],
+ ["6eb88241eb38d970", 1],
+ ["bba72b2cc0042fba", 1],
+ ["6a992482a4998fa0", 1],
+ ["0bf734fd9c49b13c", 1],
+ ["5e3f8a0bb1b957bd", 3],
+ ["c752a069697e70dc", 1],
+ ["eda4407f4637cca0", 1],
+ ["c60bfb253b73f00c", 1],
+ ["f506a3939f47b81f", 1],
+ ["83ec5086924c8a44", 1],
+ ["53036a84a0b7652b", 1],
+ ["ade1ea60ef756f4e", 1],
+ ["10989f2cb8fc5617", 1],
+ ["8b9b04f2e0ed2bf7", 1],
+ ["65a1c828671341ea", 1],
+ ["f77d514eb50c8579", 1],
+ ["e14d4d4ffb48d38d", 1],
+ ["4697787e9cbb4586", 1],
+ ["94efbfe87f8366d6", 1],
+ ["388516be05c00854", 1],
+ ["abd177e33b9d0450", 1],
+ ["64c90c572658c2a7", 1],
+ ["2a4e39e6b9a66bf9", 1],
+ ["9ca638a17b08e3d3", 1],
+ ["e3045d77fbe15caa", 1],
+ ["25963710ecb4c6f0", 1],
+ ["c6f7aee08fbaecab", 1],
+ ["3c662119034033ba", 1],
+ ["76f083a94d34326f", 1],
+ ["ad70bb3b2b09bcad", 1],
+ ["4abca6793dbef021", 1],
+ ["d2832684e71e8a13", 1],
+ ["4755e04f4b3183a7", 1],
+ ["eb722841efdb9acf", 1],
+ ["ae683ee78d46a447", 1],
+ ["2af5f2053fac098b", 1],
+ ["516b031601d0f90b", 1],
+ ["0240f0a81a18617f", 1],
+ ["6e71a9d05a2ba39f", 1],
+ ["7c22b9727c280fc5", 1],
+ ["0443984253efc0b9", 1],
+ ["7db0316f4597b76d", 1],
+ ["a417e7724d3fd817", 1],
+ ["83747ed083f9cdd3", 1],
+ ["eee97a69e837220a", 1],
+ ["cb6cb3a054e94c8e", 1],
+ ["8bd9f6813d42b2cb", 1],
+ ["8c38e492ca716268", 1],
+ ["e7a72b7205372b6f", 1],
+ ["fd4132a1b4fb8a04", 1],
+ ["556f7d79c7d6b91a", 1],
+ ["68fce80290081bab", 1],
+ ["d22958e43665ccee", 1],
+ ["51c5d5a80eff46e4", 1],
+ ["a683956072541354", 1],
+ ["b47630d577398559", 1],
+ ["8d1a4aa44f459140", 1],
+ ["12ee48fd394cc735", 1],
+ ["de4de5d06d2c2121", 1],
+ ["86e41ee0b836ad31", 1],
+ ["14367f65625f556a", 5]
+ ],
+ "timeline": [
+ [0.0, 12],
+ [1.2, 12],
+ [2.4, 2],
+ [2.7, 6],
+ [3.3, 50],
+ [8.3, 5]
+ ],
+ "id": "sha256:8c70dea9a450617d821162913e8f6880397db04ae9b177fde224e36fd8728b3b"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 1.0, 0.0, 0.11, 5.0],
+ [2, 2, 1.0, 0.0, 0.12, 5.0],
+ [3, 3, 1.0, 0.01, 0.13, 5.0],
+ [4, 4, 1.43, 0.01, 0.19, 5.0],
+ [5, 5, 1.43, 0.01, 0.2, 5.0],
+ [6, 6, 1.43, 0.01, 0.2, 5.0],
+ [7, 7, 1.43, 0.01, 0.2, 5.0],
+ [8, 8, 1.43, 0.01, 0.2, 5.0],
+ [9, 9, 1.43, 0.01, 0.2, 5.0],
+ [10, 10, 8.73, 0.03, 0.89, 51.0],
+ [11, 11, 12.73, 0.04, 1.1, 51.0],
+ [12, 12, 15.24, 0.08, 1.63, 51.0],
+ [13, 13, 91.14, 0.13, 3.09, 255.0],
+ [14, 14, 144.94, 0.17, 4.05, 255.0],
+ [15, 15, 105.22, 0.3, 6.32, 255.0],
+ [16, 16, 145.31, 0.43, 7.44, 255.0],
+ [17, 17, 166.76, 0.47, 7.91, 255.0],
+ [18, 18, 162.98, 0.47, 8.19, 255.0],
+ [19, 19, 142.98, 0.54, 8.81, 255.0],
+ [20, 20, 126.33, 0.53, 8.59, 255.0],
+ [21, 21, 130.41, 0.66, 10.02, 255.0],
+ [22, 22, 126.33, 0.63, 9.41, 255.0],
+ [23, 23, 126.33, 0.63, 9.47, 255.0],
+ [24, 24, 126.33, 0.62, 9.42, 255.0],
+ [25, 25, 126.33, 0.62, 9.42, 255.0],
+ [25, 26, 126.33, 0.62, 9.42, 255.0],
+ [26, 27, 126.33, 0.62, 9.42, 255.0],
+ [27, 28, 126.33, 0.63, 9.47, 255.0],
+ [28, 29, 126.33, 0.63, 9.48, 255.0],
+ [29, 30, 126.33, 0.63, 9.49, 255.0],
+ [30, 31, 126.33, 0.63, 9.47, 255.0],
+ [31, 32, 126.33, 0.63, 9.45, 255.0],
+ [32, 33, 126.33, 0.63, 9.45, 255.0],
+ [33, 34, 126.33, 0.63, 9.45, 255.0],
+ [34, 35, 126.33, 0.63, 9.45, 255.0],
+ [35, 36, 126.33, 0.63, 9.45, 255.0],
+ [36, 37, 126.33, 0.63, 9.45, 255.0],
+ [37, 38, 126.33, 0.63, 9.45, 255.0],
+ [38, 39, 126.33, 0.63, 9.45, 255.0],
+ [39, 40, 126.33, 0.63, 9.45, 255.0],
+ [40, 41, 126.33, 0.63, 9.45, 255.0],
+ [41, 42, 126.33, 0.63, 9.45, 255.0],
+ [42, 43, 126.33, 0.63, 9.45, 255.0],
+ [43, 44, 126.33, 0.63, 9.45, 255.0],
+ [44, 45, 126.33, 0.63, 9.45, 255.0],
+ [45, 46, 126.33, 0.63, 9.45, 255.0],
+ [46, 47, 126.33, 0.63, 9.45, 255.0],
+ [47, 48, 126.33, 0.63, 9.45, 255.0],
+ [48, 49, 126.33, 0.63, 9.45, 255.0],
+ [49, 50, 126.33, 0.63, 9.45, 255.0],
+ [50, 51, 126.33, 0.63, 9.45, 255.0],
+ [51, 52, 126.33, 0.63, 9.45, 255.0],
+ [52, 53, 126.33, 0.63, 9.45, 255.0],
+ [53, 54, 126.33, 0.63, 9.45, 255.0],
+ [54, 55, 126.33, 0.63, 9.45, 255.0],
+ [55, 56, 126.33, 0.63, 9.45, 255.0],
+ [56, 57, 126.33, 0.63, 9.44, 255.0],
+ [57, 58, 126.33, 0.63, 9.44, 255.0],
+ [58, 59, 126.33, 0.61, 9.29, 255.0],
+ [59, 60, 126.33, 0.63, 9.43, 255.0],
+ [60, 61, 126.33, 0.62, 9.35, 255.0],
+ [61, 62, 126.33, 0.61, 9.22, 255.0],
+ [62, 63, 126.33, 0.61, 9.23, 255.0],
+ [63, 64, 124.92, 0.61, 9.24, 255.0],
+ [64, 65, 126.33, 0.62, 9.29, 255.0],
+ [65, 66, 126.33, 0.62, 9.33, 255.0],
+ [66, 67, 126.33, 0.63, 9.37, 255.0],
+ [67, 68, 126.33, 0.63, 9.41, 255.0],
+ [68, 69, 126.33, 0.63, 9.41, 255.0],
+ [69, 70, 126.33, 0.63, 9.4, 255.0],
+ [70, 71, 126.33, 0.63, 9.4, 255.0],
+ [71, 72, 126.33, 0.63, 9.4, 255.0],
+ [72, 73, 126.33, 0.63, 9.4, 255.0],
+ [73, 74, 126.33, 0.63, 9.4, 255.0],
+ [74, 75, 126.33, 0.63, 9.4, 255.0],
+ [75, 76, 126.33, 0.6, 9.35, 255.0],
+ [76, 77, 126.33, 0.63, 9.4, 255.0],
+ [77, 78, 126.33, 0.63, 9.4, 255.0],
+ [78, 79, 126.33, 0.63, 9.4, 255.0],
+ [79, 80, 126.33, 0.63, 9.4, 255.0],
+ [80, 81, 126.33, 0.63, 9.4, 255.0],
+ [81, 82, 126.33, 0.63, 9.4, 255.0],
+ [82, 83, 126.33, 0.63, 9.4, 255.0],
+ [83, 84, 126.33, 0.63, 9.4, 255.0],
+ [84, 85, 126.33, 0.63, 9.4, 255.0],
+ [85, 86, 126.33, 0.63, 9.4, 255.0],
+ [86, 87, 126.33, 0.63, 9.4, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/euler_spiral_taylor_terms/ce.mkv.sha256 b/tests/integration/cases/euler_spiral_taylor_terms/ce.mkv.sha256
new file mode 100644
index 00000000..0f431867
--- /dev/null
+++ b/tests/integration/cases/euler_spiral_taylor_terms/ce.mkv.sha256
@@ -0,0 +1 @@
+9ad464aacde2db2ad05ee4ee085223f147faad705e4442fe93062e8d8827f857 ce.mkv
diff --git a/tests/integration/cases/euler_spiral_taylor_terms/manimgx.mkv.sha256 b/tests/integration/cases/euler_spiral_taylor_terms/manimgx.mkv.sha256
new file mode 100644
index 00000000..90b02d6f
--- /dev/null
+++ b/tests/integration/cases/euler_spiral_taylor_terms/manimgx.mkv.sha256
@@ -0,0 +1 @@
+f62f9a915c0dd71b6e4bc2842fdcad51538373e0dfa313b2d57bdf0bd9e257de manimgx.mkv
diff --git a/tests/integration/cases/euler_spiral_taylor_terms/review.json b/tests/integration/cases/euler_spiral_taylor_terms/review.json
new file mode 100644
index 00000000..f7291be2
--- /dev/null
+++ b/tests/integration/cases/euler_spiral_taylor_terms/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:806de92926a44392326351565306d2b42971b352df4f24e6c4ead419e4a24206",
+ "manimgx": "sha256:94db8a7c1a036406da0f8b638845733458315c3f321412e2d8fabb0b69987028",
+ "ce": "sha256:8c70dea9a450617d821162913e8f6880397db04ae9b177fde224e36fd8728b3b",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/euler_spiral_taylor_terms/scene.py b/tests/integration/cases/euler_spiral_taylor_terms/scene.py
new file mode 100644
index 00000000..a42792d8
--- /dev/null
+++ b/tests/integration/cases/euler_spiral_taylor_terms/scene.py
@@ -0,0 +1,109 @@
+"""Show why e^(i*pi) = -1 by chaining together Taylor series terms as vectors that spiral to -1."""
+
+import numpy as np
+
+import manimgx as m
+
+EVAL_MUST_NOT_USE: set[str] = set()
+EVAL_EXEMPT: set[str] = set()
+EVAL_NOTES: str = ""
+
+
+N_TERMS = 7
+
+
+def partial_sums(t: float) -> list[complex]:
+ """Cumulative partial sums of sum_{k=0}^{N} (it)^k / k!."""
+ z = 1.0 + 0.0j
+ sums: list[complex] = [z]
+ term = 1.0 + 0.0j # (it)^0 / 0! = 1
+ for k in range(1, N_TERMS + 1):
+ term = term * (1j * t) / k
+ z = z + term
+ sums.append(z)
+ return sums
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ plane = m.ComplexPlane(
+ x_range=(-2.0, 2.0, 1.0),
+ y_range=(-2.0, 2.0, 1.0),
+ x_length=6.0,
+ y_length=6.0,
+ ).shift(0.3 * m.DOWN)
+
+ title = (
+ m.MathTex(R"e^{i\pi} = \sum_{k=0}^{\infty} \frac{(i\pi)^k}{k!}")
+ .scale(0.95)
+ .to_edge(m.UP)
+ )
+
+ self.play(m.Create(plane), run_time=1.2)
+ self.play(m.Write(title), run_time=1.2)
+ self.wait(0.3)
+
+ t_tracker = m.ValueTracker(0.0)
+
+ # Chain of arrows — each arrow k goes from partial_sum[k-1] to partial_sum[k].
+ def build_chain() -> m.VGroup:
+ t = t_tracker.get_value()
+ sums = partial_sums(t)
+ arrows = m.VGroup()
+ palette = [
+ m.YELLOW,
+ m.ORANGE,
+ m.RED,
+ m.PINK,
+ m.PURPLE,
+ m.BLUE,
+ m.GREEN,
+ ]
+ for k in range(1, len(sums)):
+ start = plane.number_to_point(sums[k - 1])
+ end = plane.number_to_point(sums[k])
+ if np.linalg.norm(end - start) < 1e-4:
+ continue
+ color = palette[(k - 1) % len(palette)]
+ arrows.add(
+ m.Arrow(
+ start,
+ end,
+ color=color,
+ buff=0.0,
+ stroke_width=4.0,
+ max_tip_length_to_length_ratio=0.35,
+ )
+ )
+ return arrows
+
+ chain = m.always_redraw(build_chain)
+
+ # Green dot at the cumulative endpoint.
+ endpoint_dot = m.always_redraw(
+ lambda: m.Dot(
+ plane.number_to_point(partial_sums(t_tracker.get_value())[-1]),
+ color=m.GREEN,
+ radius=0.1,
+ )
+ )
+
+ # Reference mark at -1.
+ target_dot = m.Dot(
+ plane.number_to_point(-1.0 + 0.0j), color=m.WHITE, radius=0.08
+ )
+ target_label = (
+ m.MathTex("-1", color=m.WHITE)
+ .scale(0.7)
+ .next_to(target_dot, m.DOWN, buff=0.1)
+ )
+
+ self.play(m.FadeIn(target_dot), m.Write(target_label), run_time=0.6)
+ self.add(chain, endpoint_dot)
+
+ self.play(
+ t_tracker.animate.set_value(m.PI),
+ run_time=5.0,
+ rate_func=m.smooth,
+ )
+ self.wait(0.5)
diff --git a/tests/integration/cases/fourier_decomposition_of_wave/case.json b/tests/integration/cases/fourier_decomposition_of_wave/case.json
new file mode 100644
index 00000000..066751aa
--- /dev/null
+++ b/tests/integration/cases/fourier_decomposition_of_wave/case.json
@@ -0,0 +1,210 @@
+{
+ "source": "sha256:04884f83b5f0628f4c329161759ae99fffe62b2896b494286d71daf4f75bb5e7",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.1,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["ce9f98213cfcabc0", 1],
+ ["d184354c6e2d9616", 1],
+ ["22b24379201e98d9", 1],
+ ["7bd2bdce006676cd", 1],
+ ["669534428229c849", 1],
+ ["565a9871f97b0490", 1],
+ ["88727647ef0847fc", 1],
+ ["bbaf8275b5ec0375", 1],
+ ["e8171ac8d0491009", 1],
+ ["6d7753c59a6aba88", 1],
+ ["8c7ae18df04eb2d6", 1],
+ ["e5100b17f6a92db4", 1],
+ ["b5cbfe64952c887c", 1],
+ ["a75cd2a59d4dc1d8", 1],
+ ["8625e7c6b809c8e2", 1],
+ ["225db840fd812078", 1],
+ ["19f85203e8326d60", 1],
+ ["2ca0c64f71a1dee4", 1],
+ ["9aacb921b13cd50b", 1],
+ ["8ed655bc63661cdd", 1],
+ ["9bc6dddd6481ff21", 1],
+ ["271adaca7ca5dd00", 1],
+ ["8d447236ad039ba8", 1],
+ ["f181fba013138bd8", 1],
+ ["80f3d9c0ab6c4684", 1],
+ ["6617f7cce40d51fe", 1],
+ ["d12e7c7f08e332ff", 1],
+ ["84efd695fcaef17e", 1],
+ ["25af771cda6b2604", 1],
+ ["2d9d2774ebae6860", 1],
+ ["81c38047d2a16089", 1],
+ ["8f94d9decffb3d90", 1],
+ ["88fd79d6612ac067", 1],
+ ["3bebfd886ce68e26", 1],
+ ["73e010dc36b64c1e", 1],
+ ["9da1784aa6fe445e", 1],
+ ["bc9583f850c676f8", 1],
+ ["f5086b4f12116a34", 1],
+ ["a545a953f29e401d", 1],
+ ["c52b62b36ee59f1b", 1],
+ ["1864cabbb43eea10", 1],
+ ["5209a3389f7ded41", 1],
+ ["de737fdf385bcb92", 1],
+ ["c6622382ff025fa4", 1],
+ ["ef0db61e39b88626", 1],
+ ["22da2d61cefad2d7", 1],
+ ["014489761950712f", 1],
+ ["a28ad914743ca491", 1],
+ ["42a46e3ece1f8e1e", 1],
+ ["4f4889625b59e861", 1],
+ ["f9c54fec99e4fef2", 21]
+ ],
+ "timeline": [
+ [0.0, 72]
+ ],
+ "id": "sha256:d9e9114f183480ffb4e042f71c2ede4080a592f4ae384dd3a3d8fd9c5207fa97"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.1,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["64e0ac9e75f3dd75", 1],
+ ["af8041c6fa1a2d2e", 1],
+ ["f7bcbea41b10fe88", 1],
+ ["88b353e9ef9dbcb7", 1],
+ ["82f132d46a194f05", 1],
+ ["cd7c2b979bd106a1", 1],
+ ["5bd868c35ae69adb", 1],
+ ["208780ebb94b2144", 1],
+ ["f1d1439f1f145dea", 1],
+ ["f5bc4f200cdb4bd7", 1],
+ ["1bbf540efce1210b", 1],
+ ["9e724626b7aed4e2", 1],
+ ["02aeb7c25fc43dc4", 1],
+ ["c6156de7e0594cf0", 1],
+ ["48e12ce72eeb2d18", 1],
+ ["3b5877bce588ee4b", 1],
+ ["3cf40a4bb9cdfd15", 1],
+ ["35d6dfd606085857", 1],
+ ["2d7e0a20fe9e4ad5", 1],
+ ["133e928d1595ae10", 1],
+ ["c6aeca4c9f0d8bcf", 1],
+ ["f4b2f7a24260e3d1", 1],
+ ["59b5dc603e0b2248", 1],
+ ["4f7ec5c339ac62a6", 1],
+ ["5f894e9ccb34ea67", 1],
+ ["74a5b09d49d2cab8", 1],
+ ["396c167e3b12c75c", 1],
+ ["fa43096eb0d5f63d", 1],
+ ["d17040769f873433", 1],
+ ["3d70d24d7cf5f92d", 1],
+ ["1f302be62d0c378e", 1],
+ ["735a778d98ef25dc", 1],
+ ["13d9a6d6f940bfa2", 1],
+ ["bf1a973799466a0d", 1],
+ ["23248f18da287fde", 1],
+ ["30cedd4b411f100e", 1],
+ ["d8c9e70647d68981", 1],
+ ["be1e64ef5fe82034", 1],
+ ["d0a24df62fc8b6c6", 1],
+ ["3e3905ae9bc1e108", 1],
+ ["5d97c9133dd4cf7e", 1],
+ ["9710bf5cacddb827", 1],
+ ["3d53c463c16313de", 1],
+ ["4862b72325083d36", 1],
+ ["a61feb74ffd33648", 1],
+ ["742821f65842b4c5", 1],
+ ["9a0dc49f5be02028", 1],
+ ["0e2a03c7088c61f1", 1],
+ ["d9b4f9cb237468bb", 1],
+ ["e607b58db5bfb9f5", 1],
+ ["a03e6862eb6e6b64", 20]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 7],
+ [3.7, 7],
+ [4.4, 7],
+ [5.1, 20]
+ ],
+ "id": "sha256:d18dc3f825f135a582939e500bf9a0867c415ae06f23940ae86537048b1bb545"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 136.69, 0.08, 3.99, 255.0],
+ [2, 2, 124.61, 0.16, 5.14, 255.0],
+ [3, 3, 113.59, 0.19, 5.24, 255.0],
+ [4, 4, 132.55, 0.25, 6.09, 255.0],
+ [5, 5, 141.76, 0.28, 6.33, 255.0],
+ [6, 6, 127.47, 0.28, 5.97, 255.0],
+ [7, 7, 94.49, 0.27, 5.68, 255.0],
+ [8, 8, 111.22, 0.29, 6.0, 255.0],
+ [9, 9, 102.49, 0.3, 6.09, 255.0],
+ [10, 10, 112.45, 0.29, 5.95, 255.0],
+ [11, 11, 131.39, 0.32, 6.29, 255.0],
+ [12, 12, 106.2, 0.34, 6.3, 255.0],
+ [13, 13, 138.63, 0.37, 6.65, 255.0],
+ [14, 14, 109.65, 0.39, 6.72, 255.0],
+ [15, 15, 120.8, 0.43, 7.09, 255.0],
+ [16, 16, 123.73, 0.46, 7.23, 255.0],
+ [17, 17, 117.35, 0.47, 7.24, 255.0],
+ [18, 18, 98.1, 0.44, 6.8, 255.0],
+ [19, 19, 90.06, 0.43, 6.77, 226.0],
+ [20, 20, 95.1, 0.43, 6.86, 234.0],
+ [21, 21, 95.1, 0.44, 6.9, 255.0],
+ [22, 22, 95.1, 0.45, 7.0, 255.0],
+ [23, 23, 95.1, 0.45, 7.01, 255.0],
+ [24, 24, 95.1, 0.45, 6.89, 235.0],
+ [25, 25, 95.1, 0.45, 6.87, 234.0],
+ [26, 26, 95.1, 0.45, 6.89, 235.0],
+ [27, 27, 95.1, 0.47, 7.02, 255.0],
+ [28, 28, 95.1, 0.47, 7.01, 255.0],
+ [29, 29, 95.1, 0.46, 6.92, 255.0],
+ [30, 30, 95.1, 0.46, 6.88, 234.0],
+ [31, 31, 95.1, 0.47, 6.88, 234.0],
+ [32, 32, 95.1, 0.47, 6.9, 236.0],
+ [33, 33, 95.1, 0.47, 6.9, 246.0],
+ [34, 34, 95.1, 0.48, 6.9, 246.0],
+ [35, 35, 95.1, 0.48, 6.91, 234.0],
+ [36, 36, 95.1, 0.48, 6.89, 234.0],
+ [37, 37, 95.1, 0.48, 6.89, 234.0],
+ [38, 38, 95.1, 0.49, 6.9, 234.0],
+ [39, 39, 95.1, 0.49, 6.9, 234.0],
+ [40, 40, 95.1, 0.5, 6.9, 234.0],
+ [41, 41, 95.1, 0.5, 6.9, 234.0],
+ [42, 42, 95.1, 0.5, 6.91, 234.0],
+ [43, 43, 95.1, 0.5, 6.9, 234.0],
+ [44, 44, 95.1, 0.5, 6.9, 234.0],
+ [45, 45, 95.1, 0.52, 6.91, 234.0],
+ [46, 46, 95.1, 0.52, 6.91, 234.0],
+ [47, 47, 95.1, 0.52, 6.91, 234.0],
+ [48, 48, 95.1, 0.53, 6.92, 234.0],
+ [49, 49, 95.1, 0.53, 6.93, 234.0],
+ [50, 50, 95.1, 0.53, 6.92, 234.0],
+ [51, 51, 95.1, 0.53, 6.92, 234.0],
+ [52, 52, 95.1, 0.53, 6.92, 234.0],
+ [53, 53, 95.1, 0.53, 6.92, 234.0],
+ [54, 54, 95.1, 0.53, 6.92, 234.0],
+ [55, 55, 95.1, 0.53, 6.92, 234.0],
+ [56, 56, 95.1, 0.53, 6.92, 234.0],
+ [57, 57, 95.1, 0.53, 6.92, 234.0],
+ [58, 58, 95.1, 0.53, 6.92, 234.0],
+ [59, 59, 95.1, 0.53, 6.92, 234.0],
+ [60, 60, 95.1, 0.53, 6.92, 234.0],
+ [61, 61, 95.1, 0.53, 6.92, 234.0],
+ [62, 62, 95.1, 0.53, 6.92, 234.0],
+ [63, 63, 95.1, 0.53, 6.92, 234.0],
+ [64, 64, 95.1, 0.53, 6.92, 234.0],
+ [65, 65, 95.1, 0.53, 6.92, 234.0],
+ [66, 66, 95.1, 0.53, 6.92, 234.0],
+ [67, 67, 95.1, 0.53, 6.92, 234.0],
+ [68, 68, 95.1, 0.53, 6.92, 234.0],
+ [69, 69, 95.1, 0.53, 6.92, 234.0],
+ [70, 70, 95.1, 0.53, 6.92, 234.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/fourier_decomposition_of_wave/ce.mkv.sha256 b/tests/integration/cases/fourier_decomposition_of_wave/ce.mkv.sha256
new file mode 100644
index 00000000..ee6f6416
--- /dev/null
+++ b/tests/integration/cases/fourier_decomposition_of_wave/ce.mkv.sha256
@@ -0,0 +1 @@
+bad23180a39aa54b01361a157ec182217afe6cbd9ad0571af94d28ce8b3eb114 ce.mkv
diff --git a/tests/integration/cases/fourier_decomposition_of_wave/manimgx.mkv.sha256 b/tests/integration/cases/fourier_decomposition_of_wave/manimgx.mkv.sha256
new file mode 100644
index 00000000..fb6bbcf0
--- /dev/null
+++ b/tests/integration/cases/fourier_decomposition_of_wave/manimgx.mkv.sha256
@@ -0,0 +1 @@
+e46c0b9c95169fdbc391ca67f543f71b5736b83068e5b60203f4e2a302cb944c manimgx.mkv
diff --git a/tests/integration/cases/fourier_decomposition_of_wave/review.json b/tests/integration/cases/fourier_decomposition_of_wave/review.json
new file mode 100644
index 00000000..95511fff
--- /dev/null
+++ b/tests/integration/cases/fourier_decomposition_of_wave/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:04884f83b5f0628f4c329161759ae99fffe62b2896b494286d71daf4f75bb5e7",
+ "manimgx": "sha256:d9e9114f183480ffb4e042f71c2ede4080a592f4ae384dd3a3d8fd9c5207fa97",
+ "ce": "sha256:d18dc3f825f135a582939e500bf9a0867c415ae06f23940ae86537048b1bb545",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/fourier_decomposition_of_wave/scene.py b/tests/integration/cases/fourier_decomposition_of_wave/scene.py
new file mode 100644
index 00000000..a528341d
--- /dev/null
+++ b/tests/integration/cases/fourier_decomposition_of_wave/scene.py
@@ -0,0 +1,48 @@
+import math
+
+import manimgx as m
+
+FREQS = [1, 2, 4]
+AMPS = [1.0, 0.5, 0.3]
+
+
+def composite(x: float) -> float:
+ return sum(a * math.sin(f * x) for f, a in zip(FREQS, AMPS))
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = (
+ m.Tex("Wave decomposition into pure frequencies")
+ .scale(0.85)
+ .to_edge(m.UP, buff=0.3)
+ )
+ self.play(m.Write(title))
+
+ ax_top = m.Axes(
+ x_range=[0, 2 * math.pi, math.pi / 2],
+ y_range=[-2, 2, 1],
+ x_length=10,
+ y_length=1.8,
+ ).shift(m.UP * 2.0)
+ composite_curve = ax_top.plot(
+ composite, color=m.WHITE, x_range=[0, 2 * math.pi]
+ )
+ self.play(m.Create(ax_top), m.Create(composite_curve))
+
+ colors = [m.YELLOW, m.GREEN, m.RED]
+ for i, (freq, amp) in enumerate(zip(FREQS, AMPS)):
+ y_offset = 0.4 - i * 1.7
+ ax = m.Axes(
+ x_range=[0, 2 * math.pi, math.pi / 2],
+ y_range=[-1.2, 1.2, 1],
+ x_length=10,
+ y_length=1.3,
+ ).shift(m.UP * y_offset)
+ curve = ax.plot(
+ lambda x, f=freq, a=amp: a * math.sin(f * x),
+ color=colors[i],
+ x_range=[0, 2 * math.pi],
+ )
+ self.play(m.Create(ax), m.Create(curve), run_time=0.7)
+ self.wait(2.0)
diff --git a/tests/integration/cases/lhopital_geometric_zoom/case.json b/tests/integration/cases/lhopital_geometric_zoom/case.json
new file mode 100644
index 00000000..b6228130
--- /dev/null
+++ b/tests/integration/cases/lhopital_geometric_zoom/case.json
@@ -0,0 +1,174 @@
+{
+ "source": "sha256:4f76459b7ad0e6c52003f1a6539176113c47e80501cff3d85a57087c20e877e2",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.8,
+ "frames": [
+ ["3e1756437513c1a4", 5],
+ ["af5b5748c1b3ba0e", 1],
+ ["4ae04cd30963b2b4", 1],
+ ["18ed799a04e6cf2e", 1],
+ ["f2784a0237147808", 1],
+ ["71867d55e2965d9d", 1],
+ ["26e521318982a45e", 1],
+ ["8c94f40a219c1d34", 1],
+ ["797744b08b63a4c9", 1],
+ ["975d95f018be8779", 1],
+ ["e37abe53fe100bfb", 1],
+ ["ac4f1f07361666a2", 1],
+ ["a8a0ba96da38dcf3", 1],
+ ["3bc4d09fd88815bd", 1],
+ ["66670e6f1eaf7c07", 1],
+ ["c477da8b7cc4be7e", 1],
+ ["beee8c30f7da37ff", 1],
+ ["28f85a9a7f3280e1", 1],
+ ["a2e5e353f40a8276", 1],
+ ["9dc8bb68e402da7d", 1],
+ ["d26da287b928d651", 1],
+ ["8d2a54a427f7462a", 1],
+ ["759e6fe05ea62b96", 1],
+ ["6c7bf5c17bc95cab", 1],
+ ["81c549bc4c25ca71", 1],
+ ["cbd646760046afdb", 1],
+ ["e1e5d69b633179f2", 1],
+ ["5cbf0ac48f54d0e9", 1],
+ ["8913f390d8a599d7", 1],
+ ["854907112386496f", 1],
+ ["348629ebd165d0b5", 45]
+ ],
+ "timeline": [
+ [0.0, 79]
+ ],
+ "id": "sha256:3ce983625c207c6921d3add7ae4554334a4542ec680e5e475296fd93d6c5de1b"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.8,
+ "frames": [
+ ["612511b680631175", 5],
+ ["ce08e083012bbd5e", 1],
+ ["99e89189a64bccb0", 1],
+ ["d3de607cf2113c73", 1],
+ ["6ea6febcf42b9e70", 1],
+ ["5d3b4d606c911cd8", 1],
+ ["afa5462c5281191c", 1],
+ ["cc1b2777f9d795ce", 1],
+ ["9b0595dfbb073d86", 1],
+ ["1b2ba96afb8bfb08", 1],
+ ["a3df04158b72b240", 1],
+ ["8a4bf2b8afadb9b5", 1],
+ ["0f09d8a7f367c4cd", 1],
+ ["969d86ea41964989", 1],
+ ["7d645dcfd6584c4c", 1],
+ ["738497bc77988eb9", 1],
+ ["f4c0cf1b06db375e", 1],
+ ["8d70fb89f61d32c9", 1],
+ ["23431e45b56414ac", 1],
+ ["d3082f9dcc1428af", 1],
+ ["abdda7c86ce718e1", 1],
+ ["9235b49abdca4bb7", 1],
+ ["a1fbab01b3363426", 1],
+ ["e5d4fc05f5a3173d", 1],
+ ["edc6ee59892e3d72", 1],
+ ["f34de85480e264e3", 1],
+ ["3d1b8034acfa1ac1", 1],
+ ["d62c277c076f623f", 1],
+ ["cfddaa0e6aba242f", 1],
+ ["d5b242a8be72c0a3", 1],
+ ["faa999aa3fe91ee7", 44]
+ ],
+ "timeline": [
+ [0.0, 4],
+ [0.4, 30],
+ [3.4, 4],
+ [3.8, 20],
+ [5.8, 20]
+ ],
+ "id": "sha256:efc8091eab21ae5713b55d6d15143090600894fd5607f1048b46e433b702c663"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 20.14, 0.06, 1.13, 123.0],
+ [1, 1, 20.14, 0.06, 1.13, 123.0],
+ [2, 2, 20.14, 0.06, 1.13, 123.0],
+ [3, 3, 20.14, 0.06, 1.13, 123.0],
+ [4, 4, 20.14, 0.06, 1.13, 123.0],
+ [5, 5, 20.41, 0.06, 1.13, 110.0],
+ [6, 6, 20.94, 0.06, 1.15, 104.0],
+ [7, 7, 20.76, 0.06, 1.16, 118.0],
+ [8, 8, 21.33, 0.06, 1.17, 119.0],
+ [9, 9, 20.84, 0.07, 1.18, 106.0],
+ [10, 10, 20.61, 0.08, 1.25, 105.0],
+ [11, 11, 21.31, 0.07, 1.22, 109.0],
+ [12, 12, 21.41, 0.06, 1.18, 132.0],
+ [13, 13, 24.22, 0.06, 1.21, 132.0],
+ [14, 14, 22.69, 0.07, 1.27, 144.0],
+ [15, 15, 24.9, 0.08, 1.37, 140.0],
+ [16, 16, 27.24, 0.07, 1.38, 126.0],
+ [17, 17, 9.92, 0.06, 0.82, 63.0],
+ [18, 18, 8.98, 0.05, 0.78, 60.0],
+ [19, 19, 8.47, 0.04, 0.8, 63.0],
+ [20, 20, 8.31, 0.06, 0.88, 62.0],
+ [21, 21, 7.49, 0.04, 0.83, 62.0],
+ [22, 22, 7.86, 0.05, 0.9, 61.0],
+ [23, 23, 7.94, 0.05, 0.89, 63.0],
+ [24, 24, 7.73, 0.05, 0.94, 63.0],
+ [25, 25, 7.92, 0.05, 0.94, 65.0],
+ [26, 26, 7.92, 0.05, 0.97, 64.0],
+ [27, 27, 8.02, 0.05, 1.01, 64.0],
+ [28, 28, 8.1, 0.06, 1.05, 66.0],
+ [29, 29, 8.08, 0.04, 1.04, 66.0],
+ [30, 30, 8.04, 0.05, 1.04, 64.0],
+ [31, 31, 8.18, 0.05, 1.05, 67.0],
+ [32, 32, 8.31, 0.07, 1.16, 66.0],
+ [33, 33, 8.24, 0.08, 1.21, 67.0],
+ [34, 34, 8.31, 0.05, 1.07, 68.0],
+ [35, 35, 8.31, 0.05, 1.07, 68.0],
+ [36, 36, 8.31, 0.05, 1.07, 68.0],
+ [37, 37, 8.31, 0.05, 1.07, 68.0],
+ [38, 38, 8.31, 0.05, 1.07, 68.0],
+ [39, 39, 8.31, 0.05, 1.07, 68.0],
+ [40, 40, 8.31, 0.05, 1.07, 68.0],
+ [41, 41, 8.31, 0.05, 1.07, 68.0],
+ [42, 42, 8.31, 0.05, 1.07, 68.0],
+ [43, 43, 8.31, 0.05, 1.07, 68.0],
+ [44, 44, 8.31, 0.05, 1.07, 68.0],
+ [45, 45, 8.31, 0.05, 1.07, 68.0],
+ [46, 46, 8.31, 0.05, 1.07, 68.0],
+ [47, 47, 8.31, 0.05, 1.07, 68.0],
+ [48, 48, 8.31, 0.05, 1.07, 68.0],
+ [49, 49, 8.31, 0.05, 1.07, 68.0],
+ [50, 50, 8.31, 0.05, 1.07, 68.0],
+ [51, 51, 8.31, 0.05, 1.07, 68.0],
+ [52, 52, 8.31, 0.05, 1.07, 68.0],
+ [53, 53, 8.31, 0.05, 1.07, 68.0],
+ [54, 54, 8.31, 0.05, 1.07, 68.0],
+ [55, 55, 8.31, 0.05, 1.07, 68.0],
+ [56, 56, 8.31, 0.05, 1.07, 68.0],
+ [57, 57, 8.31, 0.05, 1.07, 68.0],
+ [58, 58, 8.31, 0.05, 1.07, 68.0],
+ [59, 59, 8.31, 0.05, 1.07, 68.0],
+ [60, 60, 8.31, 0.05, 1.07, 68.0],
+ [61, 61, 8.31, 0.05, 1.07, 68.0],
+ [62, 62, 8.31, 0.05, 1.07, 68.0],
+ [63, 63, 8.31, 0.05, 1.07, 68.0],
+ [64, 64, 8.31, 0.05, 1.07, 68.0],
+ [65, 65, 8.31, 0.05, 1.07, 68.0],
+ [66, 66, 8.31, 0.05, 1.07, 68.0],
+ [67, 67, 8.31, 0.05, 1.07, 68.0],
+ [68, 68, 8.31, 0.05, 1.07, 68.0],
+ [69, 69, 8.31, 0.05, 1.07, 68.0],
+ [70, 70, 8.31, 0.05, 1.07, 68.0],
+ [71, 71, 8.31, 0.05, 1.07, 68.0],
+ [72, 72, 8.31, 0.05, 1.07, 68.0],
+ [73, 73, 8.31, 0.05, 1.07, 68.0],
+ [74, 74, 8.31, 0.05, 1.07, 68.0],
+ [75, 75, 8.31, 0.05, 1.07, 68.0],
+ [76, 76, 8.31, 0.05, 1.07, 68.0],
+ [77, 77, 8.31, 0.05, 1.07, 68.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/lhopital_geometric_zoom/ce.mkv.sha256 b/tests/integration/cases/lhopital_geometric_zoom/ce.mkv.sha256
new file mode 100644
index 00000000..01d8d1e1
--- /dev/null
+++ b/tests/integration/cases/lhopital_geometric_zoom/ce.mkv.sha256
@@ -0,0 +1 @@
+75c028b6994301635e47e87bcae91f49c71c5db01158adcaf2c08e760fbd8c51 ce.mkv
diff --git a/tests/integration/cases/lhopital_geometric_zoom/manimgx.mkv.sha256 b/tests/integration/cases/lhopital_geometric_zoom/manimgx.mkv.sha256
new file mode 100644
index 00000000..9aecdb97
--- /dev/null
+++ b/tests/integration/cases/lhopital_geometric_zoom/manimgx.mkv.sha256
@@ -0,0 +1 @@
+f5a52fb85f4a57ba6fd4db3c9214ee23ad75d43876d5065806eafe55bddaad9c manimgx.mkv
diff --git a/tests/integration/cases/lhopital_geometric_zoom/scene.py b/tests/integration/cases/lhopital_geometric_zoom/scene.py
new file mode 100644
index 00000000..2079bdf5
--- /dev/null
+++ b/tests/integration/cases/lhopital_geometric_zoom/scene.py
@@ -0,0 +1,35 @@
+import math
+
+import manimgx as m
+
+
+class TeacherScene(m.MovingCameraScene):
+ def construct(self) -> None:
+ ax = m.Axes(
+ x_range=[-2, 2, 1],
+ y_range=[-2, 2, 0.5],
+ x_length=10,
+ y_length=8,
+ )
+ f_curve = ax.plot(lambda x: math.sin(x), color=m.BLUE, x_range=[-2, 2])
+ g_curve = ax.plot(lambda x: x, color=m.YELLOW, x_range=[-2, 2])
+ f_label = m.MathTex("\\sin x", color=m.BLUE).move_to(ax.c2p(1.7, 1.5))
+ g_label = m.MathTex("x", color=m.YELLOW).move_to(ax.c2p(1.85, 1.85))
+ self.add(ax, f_curve, g_curve, f_label, g_label)
+ self.wait(0.4)
+
+ self.play(
+ self.camera.frame.animate.set(width=1.8).move_to(ax.c2p(0.0, 0.0)),
+ run_time=3.0,
+ )
+ self.wait(0.4)
+
+ ratio = (
+ m.MathTex(
+ "\\lim_{x \\to 0} \\frac{\\sin x}{x} = \\frac{f'(0)}{g'(0)} = 1",
+ )
+ .scale(0.18)
+ .move_to(ax.c2p(0.0, 0.55))
+ )
+ self.play(m.Write(ratio))
+ self.wait(2.0)
diff --git a/tests/integration/cases/product_rule_rectangle_decomposition/case.json b/tests/integration/cases/product_rule_rectangle_decomposition/case.json
new file mode 100644
index 00000000..c43666ff
--- /dev/null
+++ b/tests/integration/cases/product_rule_rectangle_decomposition/case.json
@@ -0,0 +1,211 @@
+{
+ "source": "sha256:4320de59a85a080a267d228f2fb63b8dcbdd8424ad90de839c12dd33d6befdf1",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.3,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["f0ec00b839fd462a", 1],
+ ["6dd719b2d77b0e76", 1],
+ ["faae9d68d533f634", 1],
+ ["4f98155417c1c17d", 1],
+ ["86879b97312fe5f1", 1],
+ ["e97ae485c241dd63", 1],
+ ["536bef68835c1b7b", 1],
+ ["242bb689cfa802a8", 1],
+ ["350e77d89e5461f1", 1],
+ ["625eb69661321adb", 4],
+ ["1bccb1ee458b276c", 1],
+ ["37af1fb92f15314f", 1],
+ ["e26305e31b59844e", 1],
+ ["7677112777a9014b", 1],
+ ["3144afcd91b8a049", 1],
+ ["ccdba96e52584fe9", 1],
+ ["af153c043beffed9", 1],
+ ["503abcf8c31c3f49", 1],
+ ["a48458015ecc3180", 1],
+ ["b713ba39f80aaebb", 1],
+ ["30a51c7acc85dbb1", 1],
+ ["77375c1b8b29066e", 1],
+ ["bcefff2f45cd4ae2", 1],
+ ["a71b9d965196a115", 1],
+ ["174d1bf1c9dc75cd", 1],
+ ["984d9451310ba2fb", 1],
+ ["e8a19c3971a0c603", 1],
+ ["74132268d125a7ca", 1],
+ ["a6f71037e76b5933", 1],
+ ["3aa4f6d5cd56fe8f", 1],
+ ["5da8b0a1663a49cc", 1],
+ ["d650bd94f6e51a58", 1],
+ ["a8ba911c52f9d60b", 1],
+ ["b33858febda2c498", 1],
+ ["dcd00970b05b14be", 1],
+ ["404178b38189a370", 1],
+ ["5a258324a1f132d4", 1],
+ ["225412eab7c4aaf7", 1],
+ ["5bae7ac1879f93cc", 1],
+ ["866617542b7698dc", 1],
+ ["be3c55365506442f", 1],
+ ["1f8cb07c33be6462", 1],
+ ["38fd14d507e5464d", 1],
+ ["f1ebe44d17b31dac", 1],
+ ["7e8e501a3ad597b1", 1],
+ ["4b6511f44ac981c0", 1],
+ ["bae766380ae0f1c7", 1],
+ ["81884a7a37ccda99", 1],
+ ["010436d863b6719f", 1],
+ ["32c25f0c50114b0a", 21]
+ ],
+ "timeline": [
+ [0.0, 74]
+ ],
+ "id": "sha256:d760d34a651b8c5fb6eead3e4ec78f3d9c4ccdcfd7fa0b419c1b4bd6b988b55b"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.3,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["c075ace9db6df252", 1],
+ ["b881db1861daa453", 1],
+ ["39037c210012360a", 1],
+ ["bf678ee2df6c8d46", 1],
+ ["5bc39e93e13833b8", 1],
+ ["427685900c31bb94", 1],
+ ["f7f22892393b85f2", 1],
+ ["4feffb869f0a577c", 1],
+ ["1e81396d3a80e842", 1],
+ ["654f19194e5198bb", 3],
+ ["9bb9bf4c3711071d", 1],
+ ["945218a72224b45c", 1],
+ ["655341b7740a795c", 1],
+ ["3bdc9e5b8485a10a", 1],
+ ["a2985a3aa75f899c", 1],
+ ["da818ed1a5ea4593", 1],
+ ["0c90e546d955b097", 1],
+ ["a54ecaf12af4e105", 1],
+ ["4a715edd13d6bc6f", 1],
+ ["13dd5035135caef4", 1],
+ ["3ff38cfcd2fd8b13", 1],
+ ["415edb7b6cb2dc3d", 1],
+ ["a49434db176568b0", 1],
+ ["ea6540908e897368", 1],
+ ["735d3be19cd7a62a", 1],
+ ["efa36493750ccbb3", 1],
+ ["5d53c37d43cd75ee", 1],
+ ["ae1bfaa98f185365", 1],
+ ["de7b1d1bcf123f2e", 1],
+ ["26d7efd83de0ed5b", 1],
+ ["e1932f32f90a8191", 1],
+ ["0dd14351abd4a645", 1],
+ ["7da7b8bf149c7d9f", 1],
+ ["6a9d006d64527880", 1],
+ ["7ec0580d411fa796", 1],
+ ["0a2d8e7ca9df0bcc", 1],
+ ["89608e55a2145f6e", 1],
+ ["28ffedb4b6aed064", 1],
+ ["91f9fd629b7f1167", 1],
+ ["471c52cfe5729e8c", 1],
+ ["754c7d45ee7357d1", 1],
+ ["219a509d85b10a63", 1],
+ ["42b83a38234835e6", 1],
+ ["7bae9a1548acdaeb", 1],
+ ["0b24c963333df0a1", 1],
+ ["9b365d0dcce5bd63", 1],
+ ["d29c990523e1c203", 1],
+ ["80b7085606494bc9", 1],
+ ["f6727a3f461ec41f", 1],
+ ["e30a8b4d94b88ba8", 20]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 2],
+ [1.3, 10],
+ [2.3, 10],
+ [3.3, 10],
+ [4.3, 10],
+ [5.3, 20]
+ ],
+ "id": "sha256:47d1478cca79c00b647e93120961e43f225c26179b57c60b67ca3c3d18df3e1f"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 134.06, 0.05, 1.83, 246.0],
+ [2, 2, 130.51, 0.06, 2.44, 243.0],
+ [3, 3, 109.45, 0.07, 2.87, 236.0],
+ [4, 4, 93.82, 0.05, 2.01, 221.0],
+ [5, 5, 55.0, 0.03, 1.24, 197.0],
+ [6, 6, 31.55, 0.06, 0.81, 112.0],
+ [7, 7, 23.76, 0.03, 0.63, 82.0],
+ [8, 8, 17.24, 0.03, 0.56, 85.0],
+ [9, 9, 17.71, 0.01, 0.54, 83.0],
+ [10, 10, 17.65, 0.02, 0.59, 84.0],
+ [11, 11, 17.65, 0.02, 0.59, 84.0],
+ [11, 12, 17.65, 0.02, 0.59, 84.0],
+ [12, 13, 17.65, 0.02, 0.59, 84.0],
+ [13, 14, 76.06, 0.03, 1.29, 193.0],
+ [14, 15, 86.1, 0.04, 1.59, 190.0],
+ [15, 16, 135.08, 0.06, 2.16, 185.0],
+ [16, 17, 103.41, 0.07, 2.15, 173.0],
+ [17, 18, 98.04, 0.07, 2.08, 155.0],
+ [18, 19, 84.76, 0.06, 1.86, 137.0],
+ [19, 20, 70.24, 0.06, 1.66, 125.0],
+ [20, 21, 68.55, 0.05, 1.56, 119.0],
+ [21, 22, 67.63, 0.05, 1.54, 117.0],
+ [22, 23, 66.94, 0.05, 1.57, 116.0],
+ [23, 24, 106.51, 0.07, 1.98, 220.0],
+ [24, 25, 89.92, 0.08, 2.36, 218.0],
+ [25, 26, 66.94, 0.07, 2.14, 211.0],
+ [26, 27, 88.94, 0.08, 2.13, 198.0],
+ [27, 28, 66.94, 0.07, 1.88, 177.0],
+ [28, 29, 66.94, 0.07, 1.78, 156.0],
+ [29, 30, 66.94, 0.07, 1.69, 116.0],
+ [30, 31, 66.94, 0.07, 1.69, 116.0],
+ [31, 32, 66.94, 0.07, 1.71, 116.0],
+ [32, 33, 66.94, 0.07, 1.7, 116.0],
+ [33, 34, 66.94, 0.07, 1.81, 252.0],
+ [34, 35, 76.61, 0.07, 1.88, 248.0],
+ [35, 36, 81.53, 0.08, 2.13, 252.0],
+ [36, 37, 146.2, 0.09, 2.53, 252.0],
+ [37, 38, 151.24, 0.1, 2.72, 252.0],
+ [38, 39, 140.37, 0.1, 2.68, 252.0],
+ [39, 40, 128.18, 0.09, 2.47, 252.0],
+ [40, 41, 135.37, 0.09, 2.34, 252.0],
+ [41, 42, 111.45, 0.09, 2.21, 249.0],
+ [42, 43, 88.22, 0.09, 2.13, 219.0],
+ [43, 44, 136.63, 0.19, 4.84, 255.0],
+ [44, 45, 155.61, 0.31, 6.77, 255.0],
+ [45, 46, 190.08, 0.41, 8.02, 255.0],
+ [46, 47, 190.08, 0.56, 9.71, 255.0],
+ [47, 48, 190.08, 0.68, 10.87, 255.0],
+ [48, 49, 190.08, 0.8, 11.92, 255.0],
+ [49, 50, 190.08, 0.93, 13.1, 255.0],
+ [50, 51, 190.08, 1.0, 13.62, 255.0],
+ [51, 52, 190.08, 1.03, 13.79, 255.0],
+ [52, 53, 190.08, 1.05, 14.27, 255.0],
+ [53, 54, 190.08, 1.05, 14.27, 255.0],
+ [54, 55, 190.08, 1.05, 14.27, 255.0],
+ [55, 56, 190.08, 1.05, 14.27, 255.0],
+ [56, 57, 190.08, 1.05, 14.27, 255.0],
+ [57, 58, 190.08, 1.05, 14.27, 255.0],
+ [58, 59, 190.08, 1.05, 14.27, 255.0],
+ [59, 60, 190.08, 1.05, 14.27, 255.0],
+ [60, 61, 190.08, 1.05, 14.27, 255.0],
+ [61, 62, 190.08, 1.05, 14.27, 255.0],
+ [62, 63, 190.08, 1.05, 14.27, 255.0],
+ [63, 64, 190.08, 1.05, 14.27, 255.0],
+ [64, 65, 190.08, 1.05, 14.27, 255.0],
+ [65, 66, 190.08, 1.05, 14.27, 255.0],
+ [66, 67, 190.08, 1.05, 14.27, 255.0],
+ [67, 68, 190.08, 1.05, 14.27, 255.0],
+ [68, 69, 190.08, 1.05, 14.27, 255.0],
+ [69, 70, 190.08, 1.05, 14.27, 255.0],
+ [70, 71, 190.08, 1.05, 14.27, 255.0],
+ [71, 72, 190.08, 1.05, 14.27, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/product_rule_rectangle_decomposition/ce.mkv.sha256 b/tests/integration/cases/product_rule_rectangle_decomposition/ce.mkv.sha256
new file mode 100644
index 00000000..89688847
--- /dev/null
+++ b/tests/integration/cases/product_rule_rectangle_decomposition/ce.mkv.sha256
@@ -0,0 +1 @@
+91862da1b113ce033f2cb91acd5ebc8b368f9601876ebddcf0b225752f20fc22 ce.mkv
diff --git a/tests/integration/cases/product_rule_rectangle_decomposition/manimgx.mkv.sha256 b/tests/integration/cases/product_rule_rectangle_decomposition/manimgx.mkv.sha256
new file mode 100644
index 00000000..3f5d0845
--- /dev/null
+++ b/tests/integration/cases/product_rule_rectangle_decomposition/manimgx.mkv.sha256
@@ -0,0 +1 @@
+3f0882d57cbdbdb7592c30911456e8a78be5090baa1d11533bdaabe5d7ce893d manimgx.mkv
diff --git a/tests/integration/cases/product_rule_rectangle_decomposition/review.json b/tests/integration/cases/product_rule_rectangle_decomposition/review.json
new file mode 100644
index 00000000..25118621
--- /dev/null
+++ b/tests/integration/cases/product_rule_rectangle_decomposition/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:4320de59a85a080a267d228f2fb63b8dcbdd8424ad90de839c12dd33d6befdf1",
+ "manimgx": "sha256:d760d34a651b8c5fb6eead3e4ec78f3d9c4ccdcfd7fa0b419c1b4bd6b988b55b",
+ "ce": "sha256:47d1478cca79c00b647e93120961e43f225c26179b57c60b67ca3c3d18df3e1f",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/product_rule_rectangle_decomposition/scene.py b/tests/integration/cases/product_rule_rectangle_decomposition/scene.py
new file mode 100644
index 00000000..0028e4f0
--- /dev/null
+++ b/tests/integration/cases/product_rule_rectangle_decomposition/scene.py
@@ -0,0 +1,77 @@
+import manimgx as m
+
+F = 2.5
+G = 1.8
+DF = 0.55
+DG = 0.4
+ORIGIN_X = -2.0
+ORIGIN_Y = -1.5
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ rect_fg = m.Rectangle(
+ width=F,
+ height=G,
+ color=m.YELLOW,
+ fill_color=m.YELLOW,
+ fill_opacity=0.4,
+ stroke_width=2,
+ ).move_to([ORIGIN_X + F / 2, ORIGIN_Y + G / 2, 0])
+ fg_label = m.MathTex("fg", color=m.YELLOW).move_to(rect_fg.get_center())
+ self.play(m.FadeIn(rect_fg), m.Write(fg_label))
+ self.wait(0.3)
+
+ strip_gdf = m.Rectangle(
+ width=DF,
+ height=G,
+ color=m.GREEN,
+ fill_color=m.GREEN,
+ fill_opacity=0.4,
+ stroke_width=2,
+ ).move_to([ORIGIN_X + F + DF / 2, ORIGIN_Y + G / 2, 0])
+ gdf_label = (
+ m.MathTex("g\\,df", color=m.GREEN)
+ .scale(0.6)
+ .move_to(strip_gdf.get_center())
+ )
+
+ strip_fdg = m.Rectangle(
+ width=F,
+ height=DG,
+ color=m.BLUE,
+ fill_color=m.BLUE,
+ fill_opacity=0.4,
+ stroke_width=2,
+ ).move_to([ORIGIN_X + F / 2, ORIGIN_Y + G + DG / 2, 0])
+ fdg_label = (
+ m.MathTex("f\\,dg", color=m.BLUE).scale(0.6).move_to(strip_fdg.get_center())
+ )
+
+ corner = m.Rectangle(
+ width=DF,
+ height=DG,
+ color=m.RED,
+ fill_color=m.RED,
+ fill_opacity=0.6,
+ stroke_width=1.5,
+ ).move_to([ORIGIN_X + F + DF / 2, ORIGIN_Y + G + DG / 2, 0])
+ corner_label = (
+ m.MathTex("df\\,dg", color=m.RED)
+ .scale(0.35)
+ .next_to(
+ corner,
+ m.UR,
+ buff=0.06,
+ )
+ )
+
+ self.play(m.FadeIn(strip_gdf), m.Write(gdf_label))
+ self.play(m.FadeIn(strip_fdg), m.Write(fdg_label))
+ self.play(m.FadeIn(corner), m.Write(corner_label))
+
+ formula = m.MathTex(
+ "d(fg) \\approx g\\,df + f\\,dg",
+ ).to_edge(m.DOWN, buff=0.5)
+ self.play(m.Write(formula))
+ self.wait(2.0)
diff --git a/tests/integration/cases/rationals_dense_cover/case.json b/tests/integration/cases/rationals_dense_cover/case.json
new file mode 100644
index 00000000..ee3e873a
--- /dev/null
+++ b/tests/integration/cases/rationals_dense_cover/case.json
@@ -0,0 +1,317 @@
+{
+ "source": "sha256:81647fe029c99d9b228f011c473076986732a8db59178a4badbb392fc21537f6",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 11.9,
+ "frames": [
+ ["2d70e28348487a4b", 1],
+ ["8850581419903f3f", 1],
+ ["b6dc8f610c038839", 1],
+ ["5594ec521bbca1d8", 1],
+ ["aa811cad153bfa83", 1],
+ ["579fd010a7f076f4", 1],
+ ["d4f0f2146deb17b0", 1],
+ ["65582bc83d7eb93a", 1],
+ ["188f52ff19cce1c3", 1],
+ ["f76c7e4b64ad80e0", 1],
+ ["42d00374a4f6c650", 1],
+ ["410492a68d942d8b", 1],
+ ["6a7ae983ccdbfa4f", 1],
+ ["6cd0720ac6c07c4e", 1],
+ ["9afb4de92fab30d8", 1],
+ ["fc078a333703b49f", 1],
+ ["6a965a26b150b369", 1],
+ ["7be8604d2a6e55ae", 1],
+ ["5c1e07ac2c40804a", 1],
+ ["06fd6cc46122722a", 1],
+ ["9db5f66aa02cd37b", 1],
+ ["411ebe3e5849fa8a", 1],
+ ["5528aa3434171beb", 1],
+ ["8cc3b7a693b436bb", 1],
+ ["a4f1a92b2876f288", 1],
+ ["0d5bc28001e3478b", 1],
+ ["dcfb2b30d31cc1e8", 1],
+ ["dcfad65e6c807238", 1],
+ ["ed65e641b5d93d5c", 1],
+ ["ab0aaf2ce99eace4", 1],
+ ["9f7067d67682d288", 1],
+ ["5c6fa36eeff3c51f", 1],
+ ["6299e9a29a5bedb4", 1],
+ ["6f3394a5112ffdcb", 1],
+ ["430bc3952df73e7e", 1],
+ ["38864e5b46207fc1", 1],
+ ["597ed00ef9e4d7de", 1],
+ ["9e701579ca9c63e8", 1],
+ ["8f988e3cedc7a2ec", 1],
+ ["71316e0d15fbd7d0", 1],
+ ["0aed6e1dd3b7da13", 1],
+ ["efd34ac22ea5937e", 1],
+ ["312319559f909f0e", 1],
+ ["3850611df2eca435", 1],
+ ["1a1ba1211f062558", 1],
+ ["f75c81276aeea116", 5],
+ ["699a6db6631c242c", 1],
+ ["0d3cc3bf813713ce", 1],
+ ["374b940a5beb8225", 1],
+ ["cd96c414a7c110cb", 1],
+ ["741d8e2ad0a589fa", 1],
+ ["d22161e0d33c3ba8", 1],
+ ["f9000999abb62131", 1],
+ ["7c78807b0c9faa32", 1],
+ ["6c695ad57f9d8125", 1],
+ ["f7090bed58a3971d", 1],
+ ["cec11e714f8ea3ed", 1],
+ ["22bc964a2d923c96", 1],
+ ["7eabb2f10a1b81d9", 1],
+ ["7310a6464676e13d", 1],
+ ["4097280c484b6cbd", 16],
+ ["6307c9e92ec1c8d0", 1],
+ ["adb5de03267f304b", 1],
+ ["29be863c94980dd5", 1],
+ ["5e470d755baff908", 1],
+ ["b83730afa6a32363", 1],
+ ["94b17ad5e0330750", 1],
+ ["c46c15f514e155cc", 1],
+ ["7c68ed7717faf976", 1],
+ ["d9c8b598e5f55129", 1],
+ ["6bc7fa03e6530353", 1],
+ ["afb7975b8f659616", 1],
+ ["09698694331df8a6", 1],
+ ["fe3f046eee1b068b", 1],
+ ["58d09eeb19a613ba", 1],
+ ["809d9a5a9ae6156a", 1],
+ ["44c1a1bc8ddf5a32", 1],
+ ["265db3e2d17f8297", 1],
+ ["fd8b010dfbea3d62", 1],
+ ["c453e0d25fa94b15", 1],
+ ["54601cec290dcf4e", 21]
+ ],
+ "timeline": [
+ [0.0, 120]
+ ],
+ "id": "sha256:95acddc8112beaead681078a4db26969fccfffe4a97a00aa3a370952b5f25775"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 11.9,
+ "frames": [
+ ["7267274cd0b1d4a5", 1],
+ ["9ba8dd56c20cfb8c", 1],
+ ["5957bf4a7c0df802", 1],
+ ["72c939757bf5eb1a", 1],
+ ["33d9ded80d39f1cd", 1],
+ ["23220c499e57e8bf", 1],
+ ["d52939f5bd078403", 1],
+ ["61ca02729e6d23a3", 1],
+ ["01740bea9fb53bb3", 1],
+ ["fd51a874c076b932", 1],
+ ["cf2a58f638731ce8", 1],
+ ["67be124fceebd320", 1],
+ ["99afd650c7e41837", 1],
+ ["3c2d43d03fb8474e", 1],
+ ["78a03f312a22aee5", 1],
+ ["55aab063ce439714", 1],
+ ["f90013cccfa68472", 1],
+ ["5e417597d54755c8", 1],
+ ["6f53fc4e94ee11bb", 1],
+ ["8521676aea020e3e", 1],
+ ["a4b7ebf93c57b643", 1],
+ ["b59fd1d94153d950", 1],
+ ["6c0c7cd484810f41", 1],
+ ["d3f0bb829d9ed416", 1],
+ ["51cfa1d9ed773e03", 1],
+ ["9b178a6175f1d8ac", 1],
+ ["88d0d968d616d3fb", 1],
+ ["862d576042a95ed2", 1],
+ ["915c39aeaa84af41", 1],
+ ["2b1c35780173a68b", 1],
+ ["94d2c6c8f9044b90", 1],
+ ["83b1b1e678ed3af1", 1],
+ ["e6de56c1522ca675", 1],
+ ["cb6a3a617b116707", 1],
+ ["2e590a487e30c4d5", 1],
+ ["8dc6cca9b3af74f1", 1],
+ ["5b3b4dcc5d50c33c", 1],
+ ["40fa9df394f6899f", 1],
+ ["a12e21e3a360e817", 1],
+ ["fd4933d907147d2d", 1],
+ ["a3e041b098049ccc", 1],
+ ["502c3cda1c55bb4a", 1],
+ ["7f10ca9928a97e0e", 1],
+ ["1436c805064c6bad", 1],
+ ["574bcaaeec201c77", 1],
+ ["b3af3d0a19418608", 5],
+ ["9ff4ae27199407de", 1],
+ ["b3e09e4f5ca7c402", 1],
+ ["479c4a09248e69d2", 1],
+ ["ca23c8288c507128", 1],
+ ["bf243cd4ca05b0e5", 1],
+ ["3ec278615f3d6dcf", 1],
+ ["2c287813bc860457", 1],
+ ["50d3ad692520026f", 1],
+ ["fe5c4a5029757b3d", 1],
+ ["e9f8db6b1a8b950d", 1],
+ ["98eefbdb4d72d2e7", 1],
+ ["307c5a28e2180874", 1],
+ ["f209c869fd9ec6a4", 1],
+ ["1be4bbac617cf647", 1],
+ ["88b188e3676630ca", 16],
+ ["d4ea2fab8a6438b9", 1],
+ ["cd6cf68038f266c7", 1],
+ ["583719889f17edfe", 1],
+ ["42dbd36498145fdb", 1],
+ ["c5d58fbf79563e59", 1],
+ ["7e52323a574b24fd", 1],
+ ["94ceb5669edf80a9", 1],
+ ["05763eebb2ffba5a", 1],
+ ["bb387e468855a8e5", 1],
+ ["72703a7abc86b144", 1],
+ ["d631479c56b69c8d", 1],
+ ["fd4d077f92ee84ca", 1],
+ ["9f5f5f9df64dcf00", 1],
+ ["ec20d41c7d2661c1", 1],
+ ["eb28d78edbd6d684", 1],
+ ["30ece780e37d8b6e", 1],
+ ["53d03a8ad9d01943", 1],
+ ["c4c70d36d441550b", 1],
+ ["8f5fee5e6a5a05de", 1],
+ ["d82b423cb8a76143", 20]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 25],
+ [4.5, 4],
+ [4.9, 15],
+ [6.4, 15],
+ [7.9, 20],
+ [9.9, 20]
+ ],
+ "id": "sha256:71ecf509a80d0c513dfafff758bf58c00871e897ac9c7ec134340336fae9b308"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 13.29, 0.02, 0.61, 57.0],
+ [1, 1, 129.86, 0.1, 3.66, 255.0],
+ [2, 2, 117.0, 0.16, 4.83, 255.0],
+ [3, 3, 99.61, 0.15, 4.25, 255.0],
+ [4, 4, 120.98, 0.2, 5.26, 255.0],
+ [5, 5, 138.88, 0.24, 5.68, 255.0],
+ [6, 6, 106.67, 0.23, 5.35, 255.0],
+ [7, 7, 140.47, 0.25, 5.48, 255.0],
+ [8, 8, 135.8, 0.27, 5.73, 255.0],
+ [9, 9, 86.33, 0.24, 5.12, 255.0],
+ [10, 10, 89.88, 0.26, 5.32, 247.0],
+ [11, 11, 119.9, 0.27, 5.46, 247.0],
+ [12, 12, 83.9, 0.25, 5.11, 255.0],
+ [13, 13, 118.8, 0.28, 5.64, 255.0],
+ [14, 14, 120.33, 0.3, 5.65, 255.0],
+ [15, 15, 72.29, 0.29, 5.35, 255.0],
+ [16, 16, 91.41, 0.31, 5.62, 255.0],
+ [17, 17, 110.82, 0.35, 6.21, 255.0],
+ [18, 18, 72.29, 0.33, 5.74, 223.0],
+ [19, 19, 72.29, 0.31, 5.54, 223.0],
+ [20, 20, 72.29, 0.32, 5.69, 223.0],
+ [21, 21, 72.29, 0.32, 5.69, 223.0],
+ [22, 22, 72.29, 0.32, 5.69, 223.0],
+ [23, 23, 72.29, 0.32, 5.69, 223.0],
+ [24, 24, 72.29, 0.32, 5.69, 223.0],
+ [25, 25, 72.29, 0.32, 5.7, 223.0],
+ [26, 26, 72.29, 0.32, 5.7, 223.0],
+ [27, 27, 72.29, 0.32, 5.7, 223.0],
+ [28, 28, 72.29, 0.32, 5.7, 223.0],
+ [29, 29, 72.29, 0.33, 5.71, 223.0],
+ [30, 30, 72.29, 0.33, 5.72, 223.0],
+ [31, 31, 72.29, 0.33, 5.73, 223.0],
+ [32, 32, 72.29, 0.33, 5.72, 223.0],
+ [33, 33, 72.29, 0.33, 5.71, 223.0],
+ [34, 34, 72.29, 0.34, 5.74, 223.0],
+ [35, 35, 72.29, 0.35, 5.76, 223.0],
+ [36, 36, 72.29, 0.35, 5.78, 223.0],
+ [37, 37, 72.29, 0.35, 5.78, 223.0],
+ [38, 38, 72.29, 0.35, 5.78, 223.0],
+ [39, 39, 72.29, 0.35, 5.78, 223.0],
+ [40, 40, 72.29, 0.35, 5.78, 223.0],
+ [41, 41, 72.29, 0.35, 5.77, 223.0],
+ [42, 42, 72.29, 0.35, 5.77, 223.0],
+ [43, 43, 72.29, 0.35, 5.77, 223.0],
+ [44, 44, 72.29, 0.35, 5.77, 223.0],
+ [45, 45, 72.29, 0.35, 5.77, 223.0],
+ [46, 46, 72.29, 0.35, 5.77, 223.0],
+ [47, 47, 72.29, 0.35, 5.77, 223.0],
+ [48, 48, 72.29, 0.35, 5.77, 223.0],
+ [49, 49, 72.29, 0.35, 5.77, 223.0],
+ [50, 50, 72.29, 0.35, 5.77, 223.0],
+ [51, 51, 72.29, 0.35, 5.77, 223.0],
+ [52, 52, 72.29, 0.35, 5.77, 223.0],
+ [53, 53, 72.29, 0.35, 5.77, 223.0],
+ [54, 54, 72.29, 0.35, 5.77, 223.0],
+ [55, 55, 72.29, 0.35, 5.76, 223.0],
+ [56, 56, 72.29, 0.35, 5.76, 223.0],
+ [57, 57, 72.29, 0.35, 5.76, 223.0],
+ [58, 58, 72.29, 0.35, 5.76, 223.0],
+ [59, 59, 72.29, 0.35, 5.76, 223.0],
+ [60, 60, 72.29, 0.35, 5.76, 223.0],
+ [61, 61, 72.29, 0.35, 5.76, 223.0],
+ [62, 62, 72.29, 0.35, 5.76, 223.0],
+ [63, 63, 72.29, 0.35, 5.76, 223.0],
+ [64, 64, 72.29, 0.35, 5.76, 223.0],
+ [65, 65, 72.29, 0.35, 5.76, 223.0],
+ [66, 66, 72.29, 0.35, 5.76, 223.0],
+ [67, 67, 72.29, 0.35, 5.76, 223.0],
+ [68, 68, 72.29, 0.35, 5.76, 223.0],
+ [69, 69, 72.29, 0.35, 5.76, 223.0],
+ [70, 70, 72.29, 0.35, 5.76, 223.0],
+ [71, 71, 72.29, 0.35, 5.76, 223.0],
+ [72, 72, 72.29, 0.35, 5.76, 223.0],
+ [73, 73, 72.29, 0.35, 5.76, 223.0],
+ [74, 74, 72.29, 0.35, 5.76, 223.0],
+ [75, 75, 72.29, 0.35, 5.76, 223.0],
+ [76, 76, 72.29, 0.35, 5.76, 223.0],
+ [77, 77, 72.29, 0.35, 5.76, 223.0],
+ [78, 78, 72.29, 0.35, 5.76, 223.0],
+ [79, 79, 72.29, 0.35, 5.76, 223.0],
+ [80, 80, 87.69, 0.37, 6.02, 255.0],
+ [81, 81, 141.18, 0.42, 6.85, 255.0],
+ [82, 82, 154.78, 0.49, 7.73, 255.0],
+ [83, 83, 158.37, 0.54, 8.2, 255.0],
+ [84, 84, 155.53, 0.62, 9.14, 255.0],
+ [85, 85, 157.49, 0.7, 9.82, 255.0],
+ [86, 86, 177.08, 0.78, 10.58, 255.0],
+ [87, 87, 184.29, 0.85, 11.21, 255.0],
+ [88, 88, 184.29, 0.93, 11.97, 255.0],
+ [89, 89, 184.29, 0.99, 12.43, 255.0],
+ [90, 90, 184.29, 1.05, 12.83, 255.0],
+ [91, 91, 184.29, 1.09, 13.1, 255.0],
+ [92, 92, 184.29, 1.13, 13.38, 255.0],
+ [93, 93, 184.29, 1.16, 13.59, 255.0],
+ [94, 94, 184.29, 1.21, 13.89, 255.0],
+ [95, 95, 184.29, 1.23, 13.96, 255.0],
+ [96, 96, 184.29, 1.26, 14.14, 255.0],
+ [97, 97, 184.29, 1.28, 14.24, 255.0],
+ [98, 98, 184.29, 1.27, 14.23, 255.0],
+ [99, 99, 184.29, 1.29, 14.38, 255.0],
+ [100, 100, 184.29, 1.29, 14.38, 255.0],
+ [101, 101, 184.29, 1.29, 14.38, 255.0],
+ [102, 102, 184.29, 1.29, 14.38, 255.0],
+ [103, 103, 184.29, 1.29, 14.38, 255.0],
+ [104, 104, 184.29, 1.29, 14.38, 255.0],
+ [105, 105, 184.29, 1.29, 14.38, 255.0],
+ [106, 106, 184.29, 1.29, 14.38, 255.0],
+ [107, 107, 184.29, 1.29, 14.38, 255.0],
+ [108, 108, 184.29, 1.29, 14.38, 255.0],
+ [109, 109, 184.29, 1.29, 14.38, 255.0],
+ [110, 110, 184.29, 1.29, 14.38, 255.0],
+ [111, 111, 184.29, 1.29, 14.38, 255.0],
+ [112, 112, 184.29, 1.29, 14.38, 255.0],
+ [113, 113, 184.29, 1.29, 14.38, 255.0],
+ [114, 114, 184.29, 1.29, 14.38, 255.0],
+ [115, 115, 184.29, 1.29, 14.38, 255.0],
+ [116, 116, 184.29, 1.29, 14.38, 255.0],
+ [117, 117, 184.29, 1.29, 14.38, 255.0],
+ [118, 118, 184.29, 1.29, 14.38, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/rationals_dense_cover/ce.mkv.sha256 b/tests/integration/cases/rationals_dense_cover/ce.mkv.sha256
new file mode 100644
index 00000000..637c29ba
--- /dev/null
+++ b/tests/integration/cases/rationals_dense_cover/ce.mkv.sha256
@@ -0,0 +1 @@
+4ea65b4e446c7e8d3f25f77734b29209a94bc14ff7fc71b9cf4ab1fbd5a3c1c1 ce.mkv
diff --git a/tests/integration/cases/rationals_dense_cover/manimgx.mkv.sha256 b/tests/integration/cases/rationals_dense_cover/manimgx.mkv.sha256
new file mode 100644
index 00000000..1dcae0af
--- /dev/null
+++ b/tests/integration/cases/rationals_dense_cover/manimgx.mkv.sha256
@@ -0,0 +1 @@
+99e21fbec47af73eaa60b1ecc1a565235a7f5421bc46051b39168ff8e2f11a6f manimgx.mkv
diff --git a/tests/integration/cases/rationals_dense_cover/review.json b/tests/integration/cases/rationals_dense_cover/review.json
new file mode 100644
index 00000000..00c6db28
--- /dev/null
+++ b/tests/integration/cases/rationals_dense_cover/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:81647fe029c99d9b228f011c473076986732a8db59178a4badbb392fc21537f6",
+ "manimgx": "sha256:95acddc8112beaead681078a4db26969fccfffe4a97a00aa3a370952b5f25775",
+ "ce": "sha256:71ecf509a80d0c513dfafff758bf58c00871e897ac9c7ec134340336fae9b308",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/rationals_dense_cover/scene.py b/tests/integration/cases/rationals_dense_cover/scene.py
new file mode 100644
index 00000000..98ec7c09
--- /dev/null
+++ b/tests/integration/cases/rationals_dense_cover/scene.py
@@ -0,0 +1,76 @@
+from fractions import Fraction
+
+import numpy as np
+
+import manimgx as m
+
+DENOMS = list(range(2, 30))
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ line = m.NumberLine(
+ x_range=[0, 1, 0.5],
+ length=12,
+ include_numbers=True,
+ numbers_to_include=[0, 1],
+ )
+ self.add(line)
+
+ title = m.Tex(
+ "Rationals are ",
+ "dense",
+ " in ",
+ "$[0, 1]$",
+ ).to_edge(m.UP)
+ title[1].set_color(m.YELLOW)
+ self.play(m.Write(title))
+
+ seen: set[Fraction] = set()
+ ticks = m.VGroup()
+ for d in DENOMS:
+ for n in range(1, d):
+ f = Fraction(n, d)
+ if f in seen:
+ continue
+ seen.add(f)
+ val = float(f)
+ tick_height = 0.35 / d
+ tick = m.Line(
+ line.n2p(val) + m.UP * tick_height,
+ line.n2p(val) + m.DOWN * tick_height,
+ color=m.YELLOW,
+ stroke_width=1.5,
+ )
+ ticks.add(tick)
+ self.play(m.Create(ticks, lag_ratio=0.0), run_time=2.5)
+ self.wait(0.4)
+
+ covers = [(0.5, 0.12), (0.2, 0.06), (0.7, 0.03)]
+ intervals = m.VGroup()
+ for center, width in covers:
+ left = line.n2p(center - width / 2)
+ right = line.n2p(center + width / 2)
+ rect = m.Rectangle(
+ width=float(np.linalg.norm(right - left)),
+ height=0.32,
+ color=m.BLUE,
+ fill_color=m.BLUE,
+ fill_opacity=0.35,
+ stroke_width=1.5,
+ ).move_to((left + right) / 2)
+ intervals.add(rect)
+
+ self.play(
+ m.LaggedStart(*[m.FadeIn(r) for r in intervals], lag_ratio=0.25),
+ run_time=1.5,
+ )
+ self.wait(1.5)
+
+ caption = m.Tex(
+ "...yet they have ",
+ "measure 0",
+ ).next_to(line, m.DOWN, buff=1.6)
+ caption[1].set_color(m.RED)
+ self.play(m.Write(caption))
+ self.wait(2.0)
diff --git a/tests/integration/cases/riemann_dx_to_zero/case.json b/tests/integration/cases/riemann_dx_to_zero/case.json
new file mode 100644
index 00000000..0ee65286
--- /dev/null
+++ b/tests/integration/cases/riemann_dx_to_zero/case.json
@@ -0,0 +1,252 @@
+{
+ "source": "sha256:6539140208e7582bb4b1b402975f6cf4c102ce8c31255136990f1a6dfa8c44fe",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 8.0,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["b638102806ea3928", 1],
+ ["835b3bc027ee127e", 1],
+ ["ead34606b8781854", 1],
+ ["725d715ea83156fc", 1],
+ ["82cf10eb539a0979", 1],
+ ["7415f0e1cdf6bab4", 1],
+ ["17a36bfff0ce5024", 1],
+ ["0e8ae6f6098284e3", 1],
+ ["7e4b2919b2ce206b", 1],
+ ["60c04d5c8131d588", 1],
+ ["82a685dac88b2b61", 1],
+ ["331610eb901589ad", 1],
+ ["5bc85bd6a7b634d4", 1],
+ ["7088e19e8f4a97f1", 1],
+ ["0200eceec84c4bc8", 1],
+ ["a25d1ee13788ab86", 1],
+ ["e05c4e1a54be2392", 1],
+ ["892d4dd8d8fc0ccf", 1],
+ ["26a36fb19e35e519", 1],
+ ["3c79c9abaa722fea", 1],
+ ["5e8d96ae5b06fd7c", 1],
+ ["ce517ccdc1c63a51", 1],
+ ["71a6899be026deff", 1],
+ ["59dd9838db3bd89a", 1],
+ ["207d0df7cf1d129d", 1],
+ ["af3cd4a2c2ce1f9e", 1],
+ ["2be22787e98b2e72", 1],
+ ["438c6021263230e3", 1],
+ ["d4e81fa5975bdf2c", 2],
+ ["5fb866c9f07a2fb4", 1],
+ ["5ed9a09022cf7e5e", 1],
+ ["1d6b531f28a8a97c", 2],
+ ["4b7e0cf67f93e464", 1],
+ ["8bbb4aaa4750be53", 1],
+ ["bead2f52e4b94a1a", 1],
+ ["74f8530195e8baf8", 1],
+ ["29f5cc038f892dff", 1],
+ ["249be2e3c9d4f9b6", 6],
+ ["9db071351cde26b9", 1],
+ ["6f9bf1c521235ff5", 1],
+ ["d1e04bfe84fa8b40", 1],
+ ["421a390f158e877e", 1],
+ ["938cf449bd595416", 1],
+ ["d696b9591b2688af", 1],
+ ["b4b55b3f761b2373", 1],
+ ["5268eb3b33903ffd", 1],
+ ["0e3b6b900d0d1024", 1],
+ ["71733633b3633e46", 1],
+ ["76ebda94894696f4", 1],
+ ["b39133fa8f95aec9", 1],
+ ["9c75749436ed0cda", 1],
+ ["5edf0d57b24471a7", 1],
+ ["b8f664e23e76b987", 1],
+ ["3fbe7a1aadce31b4", 1],
+ ["c513887239d3e081", 1],
+ ["771a4f861fb53b63", 1],
+ ["ca3723dbafc750b6", 1],
+ ["4187d923b394421d", 1],
+ ["1adeb84c4aad2375", 1],
+ ["f0c17aa126e30d9d", 1],
+ ["ac8bbcc028befd6e", 1],
+ ["4d7c480863d50a35", 1],
+ ["27b880cdf33494e6", 1],
+ ["36d4a833a8abd2b7", 1],
+ ["855a37f31eca73e8", 1],
+ ["35985c887a4c4bc6", 1],
+ ["2ed51fe3bbbf9292", 1],
+ ["e73da7058336475c", 6]
+ ],
+ "timeline": [
+ [0.0, 81]
+ ],
+ "id": "sha256:1954cc5360d047a8d55c25f0a34f670ecdc75f60e54a73aab0208ea46dfd48a9"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 8.0,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["4ff52109e3685445", 1],
+ ["acd274559fd0e9d6", 1],
+ ["1dde5d2a176b6390", 1],
+ ["c7687b742a2d6050", 1],
+ ["e9244923918dc653", 1],
+ ["194ad73a79ccfe79", 1],
+ ["1db6ffa255e60c1c", 1],
+ ["66d808d1491d94b8", 1],
+ ["9baf026d22228506", 1],
+ ["5625cba0ae6499ce", 1],
+ ["3b4016686b8fe048", 1],
+ ["527fa7cd7a99d7f5", 1],
+ ["1b26e9c8fb603b09", 1],
+ ["6f6a8e6f00eaa35f", 1],
+ ["3acfb5c28f4c806a", 1],
+ ["84b005446711a858", 1],
+ ["c13b54410fe0b095", 1],
+ ["c5c45850cba3c532", 1],
+ ["0be4515ddd11daf5", 1],
+ ["b6fcead0db4e3360", 1],
+ ["45826a83c7e0284f", 1],
+ ["351254cf2e862d2a", 1],
+ ["b501313ec9337959", 1],
+ ["f2a360e4769974ad", 1],
+ ["43aff8264fe66929", 1],
+ ["f0f3943cdabc5338", 1],
+ ["d47e364435ed9fe3", 4],
+ ["75f0802cce66e39f", 1],
+ ["2fc271f4054abbc1", 1],
+ ["b8c814682c985cc8", 1],
+ ["5e001bc60622d636", 1],
+ ["dcdf0d98db96d358", 1],
+ ["a5ebf8789c603f29", 1],
+ ["570dac25c2fb6743", 1],
+ ["1de02d420c63a53e", 1],
+ ["6dc4abf0841c1d7b", 1],
+ ["40e49a2f7d47ec26", 6],
+ ["c4b2b9c767bd7112", 1],
+ ["ae05e4c7c8f90ef7", 1],
+ ["dadc2a96d6dc5d5b", 1],
+ ["d62d2150cf517ca9", 1],
+ ["08aef54a70d70521", 1],
+ ["6b414c7290336bbe", 1],
+ ["b393f830202d4c18", 1],
+ ["fd23e13cbaf1207f", 1],
+ ["7208a98f7465f07b", 1],
+ ["24c238f12c49577d", 1],
+ ["dbef10df55c0f494", 1],
+ ["82f185a198631c01", 1],
+ ["949aeeea6e4c9498", 1],
+ ["2fc7ea4061334444", 1],
+ ["8f1cb2f0ec64d152", 1],
+ ["0f2965c639e9488c", 1],
+ ["36c8714e33d85aa1", 1],
+ ["1fbab049d12cf243", 1],
+ ["03c90d5976d0bb61", 1],
+ ["5ce30c409a17b228", 1],
+ ["43e14c85317de44c", 1],
+ ["4e43aca14eee854c", 1],
+ ["644b141e14fe6c29", 1],
+ ["c43b6b1b67e56683", 1],
+ ["ebe9cbfe22a0603a", 1],
+ ["12f1e27d2394a284", 1],
+ ["067cbc103f009aaf", 1],
+ ["75d7cda5ae138c83", 1],
+ ["1cd32662cd1698a4", 1],
+ ["0e92890494d7991e", 5]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 15],
+ [2.5, 15],
+ [4.0, 5],
+ [4.5, 30],
+ [7.5, 5]
+ ],
+ "id": "sha256:4bcd7813a039cfecdfa3091ce8cb2cb164e8c59bec25aa284e9debe5a441ba78"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 1.14, 0.01, 0.22, 27.0],
+ [2, 2, 2.84, 0.01, 0.23, 34.0],
+ [3, 3, 2.84, 0.01, 0.23, 34.0],
+ [4, 4, 2.84, 0.01, 0.24, 34.0],
+ [5, 5, 2.84, 0.01, 0.23, 34.0],
+ [6, 6, 2.84, 0.01, 0.24, 34.0],
+ [7, 7, 2.84, 0.01, 0.25, 34.0],
+ [8, 8, 2.84, 0.01, 0.26, 34.0],
+ [9, 9, 2.84, 0.01, 0.26, 34.0],
+ [10, 10, 2.84, 0.01, 0.26, 34.0],
+ [11, 11, 6.57, 0.01, 0.29, 87.0],
+ [12, 12, 15.06, 0.01, 0.39, 145.0],
+ [13, 13, 34.86, 0.01, 0.61, 247.0],
+ [14, 14, 90.55, 0.02, 1.16, 247.0],
+ [15, 15, 97.0, 0.03, 1.56, 247.0],
+ [16, 16, 100.39, 0.04, 1.98, 247.0],
+ [17, 17, 107.02, 0.05, 2.32, 247.0],
+ [18, 18, 113.49, 0.05, 2.43, 247.0],
+ [19, 19, 115.82, 0.05, 2.25, 247.0],
+ [20, 20, 116.24, 0.04, 1.89, 247.0],
+ [21, 21, 115.08, 0.03, 1.47, 247.0],
+ [22, 22, 81.8, 0.03, 1.09, 247.0],
+ [23, 23, 37.71, 0.02, 0.76, 247.0],
+ [24, 24, 13.12, 0.02, 0.49, 195.0],
+ [25, 25, 7.31, 0.02, 0.37, 55.0],
+ [26, 26, 22.0, 0.03, 0.95, 141.0],
+ [27, 27, 21.94, 0.03, 0.68, 103.0],
+ [28, 28, 25.61, 0.04, 1.46, 103.0],
+ [29, 29, 25.61, 0.05, 1.52, 122.0],
+ [30, 30, 25.61, 0.05, 1.52, 122.0],
+ [31, 31, 217.0, 0.21, 5.56, 217.0],
+ [32, 32, 25.61, 0.06, 1.54, 103.0],
+ [33, 33, 25.61, 0.05, 1.54, 103.0],
+ [34, 34, 111.02, 0.12, 3.48, 218.0],
+ [35, 35, 25.61, 0.08, 1.64, 103.0],
+ [36, 36, 25.61, 0.08, 1.6, 103.0],
+ [37, 37, 25.61, 0.08, 1.6, 103.0],
+ [38, 38, 85.92, 0.14, 2.83, 142.0],
+ [39, 39, 25.61, 0.09, 1.63, 103.0],
+ [40, 40, 25.61, 0.09, 1.63, 103.0],
+ [41, 41, 25.61, 0.09, 1.63, 103.0],
+ [42, 42, 25.61, 0.09, 1.63, 103.0],
+ [43, 43, 25.61, 0.09, 1.63, 103.0],
+ [44, 44, 25.61, 0.09, 1.63, 103.0],
+ [45, 45, 25.61, 0.09, 1.63, 103.0],
+ [46, 46, 25.61, 0.08, 1.63, 103.0],
+ [47, 47, 25.61, 0.17, 1.74, 102.0],
+ [48, 48, 25.61, 0.14, 1.7, 103.0],
+ [49, 49, 24.9, 0.22, 1.74, 101.0],
+ [50, 50, 24.18, 0.17, 1.6, 102.0],
+ [51, 51, 22.76, 0.21, 1.57, 102.0],
+ [52, 52, 21.61, 0.23, 1.49, 103.0],
+ [53, 53, 20.18, 0.3, 1.64, 103.0],
+ [54, 54, 18.69, 0.28, 1.54, 103.0],
+ [55, 55, 19.04, 0.29, 1.51, 103.0],
+ [56, 56, 19.12, 0.33, 1.65, 103.0],
+ [57, 57, 19.65, 0.35, 1.66, 103.0],
+ [58, 58, 19.98, 0.35, 1.63, 103.0],
+ [59, 59, 19.98, 0.33, 1.54, 103.0],
+ [60, 60, 19.98, 0.34, 1.59, 103.0],
+ [61, 61, 19.98, 0.3, 1.45, 103.0],
+ [62, 62, 19.98, 0.26, 1.34, 103.0],
+ [63, 63, 20.08, 0.24, 1.25, 103.0],
+ [64, 64, 21.0, 0.21, 1.14, 103.0],
+ [65, 65, 21.63, 0.18, 1.06, 103.0],
+ [66, 66, 22.41, 0.14, 1.0, 103.0],
+ [67, 67, 22.92, 0.14, 1.02, 103.0],
+ [68, 68, 23.2, 0.12, 1.0, 103.0],
+ [69, 69, 23.65, 0.12, 0.97, 103.0],
+ [70, 70, 23.65, 0.1, 0.97, 103.0],
+ [71, 71, 23.84, 0.11, 0.98, 103.0],
+ [72, 72, 24.2, 0.11, 1.02, 103.0],
+ [73, 73, 24.33, 0.12, 1.03, 103.0],
+ [74, 74, 24.33, 0.13, 1.13, 103.0],
+ [75, 75, 24.33, 0.14, 1.18, 103.0],
+ [76, 76, 24.33, 0.14, 1.18, 103.0],
+ [77, 77, 24.33, 0.14, 1.18, 103.0],
+ [78, 78, 24.33, 0.14, 1.18, 103.0],
+ [79, 79, 24.33, 0.14, 1.18, 103.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/riemann_dx_to_zero/ce.mkv.sha256 b/tests/integration/cases/riemann_dx_to_zero/ce.mkv.sha256
new file mode 100644
index 00000000..b3eb94ae
--- /dev/null
+++ b/tests/integration/cases/riemann_dx_to_zero/ce.mkv.sha256
@@ -0,0 +1 @@
+eeab6a65a785e941a835b1274bf7bc3f517c7e21672a47cd7e690e62a687b40b ce.mkv
diff --git a/tests/integration/cases/riemann_dx_to_zero/manimgx.mkv.sha256 b/tests/integration/cases/riemann_dx_to_zero/manimgx.mkv.sha256
new file mode 100644
index 00000000..5df960e0
--- /dev/null
+++ b/tests/integration/cases/riemann_dx_to_zero/manimgx.mkv.sha256
@@ -0,0 +1 @@
+cf3f58a1667bcdf3e724944247b62f1165429e95c9e6f4db22d2b7f5ef38042c manimgx.mkv
diff --git a/tests/integration/cases/riemann_dx_to_zero/review.json b/tests/integration/cases/riemann_dx_to_zero/review.json
new file mode 100644
index 00000000..c7b70bcb
--- /dev/null
+++ b/tests/integration/cases/riemann_dx_to_zero/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:6539140208e7582bb4b1b402975f6cf4c102ce8c31255136990f1a6dfa8c44fe",
+ "manimgx": "sha256:1954cc5360d047a8d55c25f0a34f670ecdc75f60e54a73aab0208ea46dfd48a9",
+ "ce": "sha256:4bcd7813a039cfecdfa3091ce8cb2cb164e8c59bec25aa284e9debe5a441ba78",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/riemann_dx_to_zero/scene.py b/tests/integration/cases/riemann_dx_to_zero/scene.py
new file mode 100644
index 00000000..5a45f6cf
--- /dev/null
+++ b/tests/integration/cases/riemann_dx_to_zero/scene.py
@@ -0,0 +1,34 @@
+"""Show the integral of x^2 from 0 to 2 as a Riemann sum, refining dx from coarse to fine."""
+
+import manimgx as m
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ axes = m.Axes(
+ x_range=(0.0, 2.5, 0.5),
+ y_range=(0.0, 5.0, 1.0),
+ x_length=9.0,
+ y_length=5.0,
+ )
+ curve = axes.plot(lambda x: x**2, x_range=(0.0, 2.0), color=m.YELLOW)
+
+ coarse = axes.get_riemann_rectangles(
+ curve,
+ x_range=(0.0, 2.0),
+ dx=0.5,
+ color=(m.TEAL, m.BLUE_B, m.DARK_BLUE),
+ )
+ fine = axes.get_riemann_rectangles(
+ curve,
+ x_range=(0.0, 2.0),
+ dx=0.1,
+ color=(m.TEAL, m.BLUE_B, m.DARK_BLUE),
+ )
+
+ self.play(m.Create(axes), run_time=1.0)
+ self.play(m.Create(curve), run_time=1.5)
+ self.play(m.Create(coarse), run_time=1.5)
+ self.wait(0.5)
+ self.play(m.ReplacementTransform(coarse, fine), run_time=3.0)
+ self.wait(0.5)
diff --git a/tests/integration/cases/riemann_sum_velocity_approximation/case.json b/tests/integration/cases/riemann_sum_velocity_approximation/case.json
new file mode 100644
index 00000000..78aff82d
--- /dev/null
+++ b/tests/integration/cases/riemann_sum_velocity_approximation/case.json
@@ -0,0 +1,249 @@
+{
+ "source": "sha256:989aea46ec68f91bb4f3c419023da846c1d309cfac08305b17430d5a2f58780a",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["b3f5cc62eebab5cb", 1],
+ ["e682499ed89632e1", 1],
+ ["9b1674a7540f0cc4", 1],
+ ["8713ce86988f602f", 1],
+ ["0490bce4295017c5", 1],
+ ["be4164781e379396", 1],
+ ["904421c5e24d5fed", 1],
+ ["794bf64bda268805", 1],
+ ["48952c47143336f1", 1],
+ ["1c35353e64cf414f", 1],
+ ["f958c470d9316b82", 1],
+ ["354044a05a15bc73", 1],
+ ["c94c45144f9f68f2", 1],
+ ["caaee5e22a8fd45c", 1],
+ ["54ac828c73a0ce15", 1],
+ ["e2b81cae35aa5d36", 1],
+ ["d4d0e1a8f8e662ca", 1],
+ ["0c37cc9513336a22", 1],
+ ["cc435d04bea0856f", 1],
+ ["dafbbfdccc0f1b39", 1],
+ ["0185f0174a7064b6", 1],
+ ["a92087ee1c076ab7", 1],
+ ["ce3ca3bc2bf6974f", 1],
+ ["97b82b8968c25cd5", 1],
+ ["2cc1f8590045de26", 1],
+ ["3f72517982fede13", 1],
+ ["6842a927e27db2cb", 1],
+ ["54b545b1a5cb97ff", 1],
+ ["74e9fbcad9567b91", 1],
+ ["37dee946ad2aaab0", 20],
+ ["d893f370a08a7243", 5],
+ ["f4bf48b38acb5be9", 3],
+ ["31f58fd52cbbff75", 2],
+ ["1dffd7ae8e2fd031", 1],
+ ["69ce5996b74ac1ee", 1],
+ ["785b3676f9fc176d", 1],
+ ["426dae71acd5303e", 1],
+ ["cb356e54f49f328b", 1],
+ ["a89d0dc1b60b507c", 1],
+ ["ae104fd188a30207", 1],
+ ["0c6cab45e341ea75", 1],
+ ["6d342e2d3bcd55b3", 1],
+ ["d29c0a8259361892", 1],
+ ["d9f098c2ae72cc84", 1],
+ ["b0c75ded0bbbe3f5", 1],
+ ["365c08d8d60018d2", 1],
+ ["fdc43ea3cab4ed72", 1],
+ ["73430617d0d98b00", 1],
+ ["1a02426f0d181fef", 1],
+ ["ecf0cd9a32521be4", 1],
+ ["c6cf152c4aee9e69", 1],
+ ["9ad9f928d746029e", 1],
+ ["092ae741ffab7050", 1],
+ ["22e285c6461d2fd5", 1],
+ ["accab84752b42275", 1],
+ ["e8dea1a708469bb3", 2],
+ ["26b1b0fd5cc29ea4", 16]
+ ],
+ "timeline": [
+ [0.0, 100]
+ ],
+ "id": "sha256:11a17c688cb7af24092381a3b0c26904c8e1fe8dbb19233f379983f1dddf4c35"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["e36072ff295b6fd7", 1],
+ ["e17ad50d9afe5975", 1],
+ ["8ed54cfbb0aaebb7", 1],
+ ["51a9dbc4bad3d029", 1],
+ ["8eef3c6cd80d6110", 1],
+ ["57424465fbbce9d4", 1],
+ ["f79cc182cd005156", 1],
+ ["de431c5fef16d96b", 1],
+ ["218730fc86031ca8", 1],
+ ["c33d4522823a92d9", 1],
+ ["376e24f9f4d90add", 1],
+ ["f7d8021c1d863409", 1],
+ ["23bb7b9cfc0dd179", 1],
+ ["c421ff3939b2008c", 1],
+ ["dca5d9bed8863db4", 1],
+ ["74ad42aef2abfe15", 1],
+ ["41b636707e3b49c6", 1],
+ ["f9987007bb88854b", 1],
+ ["c7cc6c03ecb14f1e", 1],
+ ["cd8681a7312a35f3", 1],
+ ["5774446f52d199b7", 1],
+ ["c1847f378ff24d05", 1],
+ ["1dc843eadaaa94e1", 1],
+ ["148956e1b778b7a9", 1],
+ ["3cda1b30abbacfdf", 1],
+ ["d16ce9a44f43e08e", 1],
+ ["552f086d41b75b42", 1],
+ ["b7d1d3c99bc18a76", 1],
+ ["1aeb5eca10244ed4", 1],
+ ["d8ce8e575189422a", 20],
+ ["6b8c151840cbeaaf", 5],
+ ["197cd7da409bb68f", 3],
+ ["85d66bee2476072c", 2],
+ ["7baeae3af44fb1fa", 1],
+ ["ff16aa5e5d2a601e", 1],
+ ["4478b29781d6442b", 1],
+ ["3874b86183ff16ca", 1],
+ ["3e636effe62b857e", 1],
+ ["5f8f81a2684cd398", 1],
+ ["dc7df49a114fd29a", 1],
+ ["b9f3a07dc68a0909", 1],
+ ["49cd1f327db31757", 1],
+ ["8090893f2cf1253a", 1],
+ ["221f24a112fb1925", 1],
+ ["677a15cb22709485", 1],
+ ["0d5319525f394d72", 1],
+ ["22b87f988c49a3b5", 1],
+ ["89ffc7b9ed1d8156", 1],
+ ["280304b275f305dd", 1],
+ ["fac827d0845c32aa", 1],
+ ["aaf56a3c1e165d90", 1],
+ ["b116fec9f302dbdd", 1],
+ ["2b3e233b00648123", 1],
+ ["1c977659503803a7", 1],
+ ["78f33c2c0c8a5ce6", 1],
+ ["854eedb589ee86ba", 2],
+ ["536023c4f1f93c28", 15]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 20],
+ [3.0, 4],
+ [3.4, 50],
+ [8.4, 15]
+ ],
+ "id": "sha256:c47d2edda2955b2260b7deb35f0c27ae2cbccc7dcf36c3c3caa43ed11b418bdb"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 19.55, 0.01, 0.48, 221.0],
+ [2, 2, 64.08, 0.02, 0.89, 221.0],
+ [3, 3, 97.61, 0.02, 1.14, 221.0],
+ [4, 4, 85.45, 0.02, 1.04, 221.0],
+ [5, 5, 100.0, 0.03, 1.22, 221.0],
+ [6, 6, 51.73, 0.02, 0.83, 221.0],
+ [7, 7, 101.51, 0.03, 1.3, 221.0],
+ [8, 8, 70.59, 0.03, 0.96, 221.0],
+ [9, 9, 20.47, 0.03, 0.57, 193.0],
+ [10, 10, 3.8, 0.02, 0.39, 45.0],
+ [11, 11, 89.29, 0.07, 2.88, 255.0],
+ [12, 12, 53.84, 0.05, 1.77, 255.0],
+ [13, 13, 122.78, 0.08, 3.04, 255.0],
+ [14, 14, 108.16, 0.09, 3.21, 255.0],
+ [15, 15, 141.88, 0.1, 3.53, 255.0],
+ [16, 16, 110.78, 0.1, 3.25, 255.0],
+ [17, 17, 96.76, 0.11, 3.33, 255.0],
+ [18, 18, 94.22, 0.1, 3.01, 255.0],
+ [19, 19, 100.12, 0.13, 3.51, 255.0],
+ [20, 20, 100.12, 0.15, 3.66, 255.0],
+ [21, 21, 123.57, 0.16, 3.48, 255.0],
+ [22, 22, 82.43, 0.15, 3.2, 255.0],
+ [23, 23, 91.1, 0.17, 3.74, 255.0],
+ [24, 24, 149.96, 0.2, 4.55, 255.0],
+ [25, 25, 148.98, 0.23, 5.09, 255.0],
+ [26, 26, 112.84, 0.21, 4.42, 255.0],
+ [27, 27, 96.22, 0.19, 3.84, 245.0],
+ [28, 28, 98.43, 0.18, 3.79, 255.0],
+ [29, 29, 98.43, 0.18, 3.78, 255.0],
+ [30, 30, 98.43, 0.2, 3.83, 255.0],
+ [31, 31, 98.43, 0.2, 3.83, 255.0],
+ [32, 32, 98.43, 0.2, 3.83, 255.0],
+ [33, 33, 98.43, 0.2, 3.83, 255.0],
+ [34, 34, 98.43, 0.2, 3.83, 255.0],
+ [35, 35, 98.43, 0.2, 3.83, 255.0],
+ [36, 36, 98.43, 0.2, 3.83, 255.0],
+ [37, 37, 98.43, 0.2, 3.83, 255.0],
+ [38, 38, 98.43, 0.2, 3.83, 255.0],
+ [39, 39, 98.43, 0.2, 3.83, 255.0],
+ [40, 40, 98.43, 0.2, 3.83, 255.0],
+ [41, 41, 98.43, 0.2, 3.83, 255.0],
+ [42, 42, 98.43, 0.2, 3.83, 255.0],
+ [43, 43, 98.43, 0.2, 3.83, 255.0],
+ [44, 44, 98.43, 0.2, 3.83, 255.0],
+ [45, 45, 98.43, 0.2, 3.83, 255.0],
+ [46, 46, 98.43, 0.2, 3.83, 255.0],
+ [47, 47, 98.43, 0.2, 3.83, 255.0],
+ [48, 48, 98.43, 0.2, 3.83, 255.0],
+ [49, 49, 98.43, 0.2, 3.83, 255.0],
+ [50, 50, 98.43, 0.19, 3.78, 255.0],
+ [51, 51, 98.43, 0.19, 3.78, 255.0],
+ [52, 52, 98.43, 0.19, 3.78, 255.0],
+ [53, 53, 98.43, 0.19, 3.78, 255.0],
+ [54, 54, 98.43, 0.19, 3.78, 255.0],
+ [55, 55, 98.43, 0.22, 3.91, 255.0],
+ [56, 56, 98.43, 0.22, 3.91, 255.0],
+ [57, 57, 98.43, 0.22, 3.91, 255.0],
+ [58, 58, 98.43, 0.21, 3.84, 255.0],
+ [59, 59, 98.43, 0.21, 3.84, 255.0],
+ [60, 60, 98.43, 0.22, 3.87, 255.0],
+ [61, 61, 98.43, 0.18, 3.78, 255.0],
+ [62, 62, 98.43, 0.26, 4.05, 255.0],
+ [63, 63, 98.43, 0.23, 3.88, 255.0],
+ [64, 64, 98.43, 0.26, 3.98, 255.0],
+ [65, 65, 98.43, 0.23, 3.88, 255.0],
+ [66, 66, 98.43, 0.19, 3.79, 255.0],
+ [67, 67, 98.43, 0.26, 3.95, 255.0],
+ [68, 68, 98.43, 0.33, 4.28, 255.0],
+ [69, 69, 98.43, 0.32, 4.13, 255.0],
+ [70, 70, 98.43, 0.29, 4.0, 255.0],
+ [71, 71, 98.43, 0.31, 4.1, 255.0],
+ [72, 72, 98.43, 0.19, 3.79, 255.0],
+ [73, 73, 98.43, 0.19, 3.79, 255.0],
+ [74, 74, 98.43, 0.31, 4.05, 255.0],
+ [75, 75, 98.43, 0.32, 4.08, 255.0],
+ [76, 76, 98.43, 0.33, 4.11, 255.0],
+ [77, 77, 98.43, 0.33, 4.1, 255.0],
+ [78, 78, 98.43, 0.33, 4.11, 255.0],
+ [79, 79, 98.43, 0.43, 4.4, 255.0],
+ [80, 80, 98.43, 0.35, 4.14, 255.0],
+ [81, 81, 98.43, 0.35, 4.14, 255.0],
+ [82, 82, 98.43, 0.35, 4.14, 255.0],
+ [83, 83, 98.43, 0.35, 4.14, 255.0],
+ [84, 84, 98.43, 0.4, 4.31, 255.0],
+ [85, 85, 98.43, 0.4, 4.31, 255.0],
+ [86, 86, 98.43, 0.4, 4.31, 255.0],
+ [87, 87, 98.43, 0.4, 4.31, 255.0],
+ [88, 88, 98.43, 0.4, 4.31, 255.0],
+ [89, 89, 98.43, 0.4, 4.31, 255.0],
+ [90, 90, 98.43, 0.4, 4.31, 255.0],
+ [91, 91, 98.43, 0.4, 4.31, 255.0],
+ [92, 92, 98.43, 0.4, 4.31, 255.0],
+ [93, 93, 98.43, 0.4, 4.31, 255.0],
+ [94, 94, 98.43, 0.4, 4.31, 255.0],
+ [95, 95, 98.43, 0.4, 4.31, 255.0],
+ [96, 96, 98.43, 0.4, 4.31, 255.0],
+ [97, 97, 98.43, 0.4, 4.31, 255.0],
+ [98, 98, 98.43, 0.4, 4.31, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/riemann_sum_velocity_approximation/ce.mkv.sha256 b/tests/integration/cases/riemann_sum_velocity_approximation/ce.mkv.sha256
new file mode 100644
index 00000000..2985f105
--- /dev/null
+++ b/tests/integration/cases/riemann_sum_velocity_approximation/ce.mkv.sha256
@@ -0,0 +1 @@
+69824c8d135b100cd9cd52620fb685b47f584f3c83c881b2f12ffe79e5ff98f2 ce.mkv
diff --git a/tests/integration/cases/riemann_sum_velocity_approximation/manimgx.mkv.sha256 b/tests/integration/cases/riemann_sum_velocity_approximation/manimgx.mkv.sha256
new file mode 100644
index 00000000..c23ad780
--- /dev/null
+++ b/tests/integration/cases/riemann_sum_velocity_approximation/manimgx.mkv.sha256
@@ -0,0 +1 @@
+001a05a2f3cd5ebce4d320851b624f79bb0b1d13cbf6b69f17986c5be58d488a manimgx.mkv
diff --git a/tests/integration/cases/riemann_sum_velocity_approximation/review.json b/tests/integration/cases/riemann_sum_velocity_approximation/review.json
new file mode 100644
index 00000000..ccc6d6ca
--- /dev/null
+++ b/tests/integration/cases/riemann_sum_velocity_approximation/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:989aea46ec68f91bb4f3c419023da846c1d309cfac08305b17430d5a2f58780a",
+ "manimgx": "sha256:11a17c688cb7af24092381a3b0c26904c8e1fe8dbb19233f379983f1dddf4c35",
+ "ce": "sha256:c47d2edda2955b2260b7deb35f0c27ae2cbccc7dcf36c3c3caa43ed11b418bdb",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/riemann_sum_velocity_approximation/scene.py b/tests/integration/cases/riemann_sum_velocity_approximation/scene.py
new file mode 100644
index 00000000..174e6f30
--- /dev/null
+++ b/tests/integration/cases/riemann_sum_velocity_approximation/scene.py
@@ -0,0 +1,52 @@
+import math
+
+import manimgx as m
+
+
+def v(t: float) -> float:
+ return 1.0 + 0.5 * math.sin(2 * t)
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ ax = m.Axes(
+ x_range=[0, 4, 1],
+ y_range=[0, 2, 0.5],
+ x_length=10,
+ y_length=5,
+ ).shift(m.DOWN * 0.4)
+ curve = ax.plot(v, color=m.BLUE, x_range=[0, 4])
+ self.play(m.Create(ax), m.Create(curve))
+
+ title = m.Tex(
+ "Distance $\\approx \\sum v(t_i)\\, \\Delta t$",
+ ).to_edge(m.UP, buff=0.4)
+ self.play(m.Write(title))
+
+ dt = m.ValueTracker(1.0)
+
+ def make_rects() -> m.VGroup:
+ current_dt = dt.get_value()
+ num = max(1, int(round(4.0 / current_dt)))
+ actual_dt = 4.0 / num
+ rects = m.VGroup()
+ for i in range(num):
+ t_i = i * actual_dt
+ h = v(t_i)
+ rect = m.Polygon(
+ ax.c2p(t_i, 0),
+ ax.c2p(t_i + actual_dt, 0),
+ ax.c2p(t_i + actual_dt, h),
+ ax.c2p(t_i, h),
+ color=m.YELLOW,
+ fill_color=m.YELLOW,
+ fill_opacity=0.4,
+ stroke_width=1,
+ )
+ rects.add(rect)
+ return rects
+
+ self.add(m.always_redraw(make_rects))
+ self.wait(0.4)
+ self.play(dt.animate.set_value(0.1), run_time=5.0)
+ self.wait(1.5)
diff --git a/tests/integration/cases/series_convergence_partial_sums/case.json b/tests/integration/cases/series_convergence_partial_sums/case.json
new file mode 100644
index 00000000..f36005d5
--- /dev/null
+++ b/tests/integration/cases/series_convergence_partial_sums/case.json
@@ -0,0 +1,299 @@
+{
+ "source": "sha256:d86ca4f14759592d0886ac884f79f1714ffc1e50808d1c688ee3dc4e4c2a141b",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 8.98,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["87419baff61ad28a", 1],
+ ["5be95b06381a9130", 1],
+ ["44e84a14dcbecec2", 1],
+ ["287658f653626b58", 1],
+ ["33fef4b4391dcc39", 1],
+ ["2b73c48cdf177d2e", 1],
+ ["a5fb3ea177ecc883", 1],
+ ["b74ad91d03350ecd", 1],
+ ["fbde05005522a92c", 1],
+ ["0569a464f251cf07", 1],
+ ["d6fc09431c6bc798", 1],
+ ["026e5e29a3e3fbeb", 1],
+ ["d9c6a568fb231825", 1],
+ ["0c1d9210519694f8", 1],
+ ["b79b5193f32e949f", 1],
+ ["9dc1fe8badbd4611", 1],
+ ["ee4cdc7002f37507", 1],
+ ["34a41b43bf1d0462", 1],
+ ["3743cc83048f1019", 1],
+ ["a9f04b81e9a6d3c2", 1],
+ ["01deb28793deabba", 1],
+ ["8257f14c6df15220", 1],
+ ["bc6494a5b1e5a17c", 1],
+ ["18ac50f2463570d9", 1],
+ ["847e920d7a598063", 1],
+ ["0afd6a18a0914ffa", 1],
+ ["a777aa43be7518b1", 1],
+ ["b66eaf6a60f03cb4", 1],
+ ["7c625f5d6b4c2f2f", 1],
+ ["3309747d7eed8b44", 1],
+ ["ae862075ce4408f6", 1],
+ ["2614b528d3cf62d4", 1],
+ ["6908666ad6558d2d", 1],
+ ["62c75887efc3baef", 1],
+ ["c10238ac94b8e564", 1],
+ ["07a6c526d6b2be54", 1],
+ ["2845f2eb812e1642", 1],
+ ["ddf0634aee826971", 1],
+ ["ad9dd1109908f94f", 1],
+ ["d0e9b14d966e85fc", 1],
+ ["5bcba5f5f096764c", 1],
+ ["36c67ff1b5102748", 1],
+ ["8a948f4ce0b5860d", 1],
+ ["7ddf8d02cefa4125", 1],
+ ["5665faaec845868b", 1],
+ ["fb7bd27713e3341d", 1],
+ ["db8edc53180bd35b", 1],
+ ["5b490a4f4e531c93", 1],
+ ["fdd70c804f8e7047", 1],
+ ["c7ef2d05c9e0b2a3", 1],
+ ["74ca2845a0bb8c41", 1],
+ ["fb2341a4706f6ebc", 1],
+ ["6b7594b8ada124c8", 1],
+ ["d523cd0ab65b062c", 1],
+ ["f14f4bdf104bdafb", 1],
+ ["da08bc81b3e420e3", 1],
+ ["3489c5399335942a", 1],
+ ["17d67209a9376369", 1],
+ ["917dc8c27b0404dc", 1],
+ ["16436140bb1cc28d", 1],
+ ["77c40c8da050f38d", 1],
+ ["cd3f07eb589f1d30", 1],
+ ["de2bb83911ac6cda", 1],
+ ["2271d439289b9705", 1],
+ ["47afc8e790bf7140", 1],
+ ["27681f68bff16f05", 1],
+ ["af2dcf8515efbb27", 1],
+ ["8423b7af4cf59b31", 1],
+ ["9fa8653774383236", 1],
+ ["7a641cd6fbe81af8", 1],
+ ["c886d5a5d194d13f", 1],
+ ["9833f27c5495f047", 1],
+ ["75a575cd72d02c46", 1],
+ ["9f8dce938a2feb02", 1],
+ ["2fb69e66157b5d98", 16]
+ ],
+ "timeline": [
+ [0.0, 91]
+ ],
+ "id": "sha256:dbd5058ac24d84afb19f29dddcb0ea2618c9fd4b65e91ef9b66f89e06da7986b"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 8.98,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["80107fda41164dc7", 1],
+ ["aa30b1fb35ddce83", 1],
+ ["4287d06b6ae30aeb", 1],
+ ["33588faa3a241c92", 1],
+ ["435264ae6a807441", 1],
+ ["0f4d39cb369c16f4", 1],
+ ["d4a5c5cc22012264", 1],
+ ["9d44455e5be177c7", 1],
+ ["5041eb1df0079307", 1],
+ ["f1bfedf297db47a7", 1],
+ ["644b163116adf8b9", 1],
+ ["0838690326eb9082", 1],
+ ["317a54e4d7ddb602", 1],
+ ["1bd9d7da16ad2ac7", 1],
+ ["ba2adfc34aeec1a3", 1],
+ ["99556e219abdd968", 1],
+ ["d9f26b6e4f0ed2bf", 1],
+ ["678c398df96db24c", 1],
+ ["92d66ad91c071e3a", 1],
+ ["53792d8373fd84fa", 1],
+ ["5589ca4b2d8265d9", 1],
+ ["7b3f30f2e14cfe09", 1],
+ ["7300f279a8d193fd", 1],
+ ["26f55a5b1be19c23", 1],
+ ["8fcec1e15abf4a17", 1],
+ ["db38fa382d37e65f", 1],
+ ["6cbd5e135931f68b", 1],
+ ["00fd344b11e0c7bb", 1],
+ ["f59f35d6830b5bb8", 1],
+ ["01585afc6d6e2225", 1],
+ ["8bb57d7a4a0b3cd5", 1],
+ ["180fbc26197117a1", 1],
+ ["b6abe82f074aa8d8", 1],
+ ["0b9e0fdce3a2aeaf", 1],
+ ["c590c9e1bc63cdd9", 1],
+ ["8aea2aa9979e5e04", 1],
+ ["e7ca155f9ff3d336", 1],
+ ["82874e8ac7b6c229", 1],
+ ["f977e7d553ef2d04", 1],
+ ["de17889a7acf2c9c", 1],
+ ["5f7996496d3ff8f0", 1],
+ ["e22a6a2d888cac0f", 1],
+ ["f5626d9201dbe782", 1],
+ ["636d02d176424c5e", 1],
+ ["b028f7731437a79c", 1],
+ ["895a99a024049451", 1],
+ ["b2245ec0714a95a2", 1],
+ ["1afcc6635d5cc7f1", 1],
+ ["d9e63101b765b4c6", 1],
+ ["f62f674d7936c4f6", 1],
+ ["f9af9f978356dad2", 1],
+ ["7934c86a2cd1c618", 1],
+ ["9b6991c517e3321d", 1],
+ ["b34831f9f593cc1b", 1],
+ ["965349af4375bf99", 1],
+ ["0630c89859ab9dd9", 1],
+ ["611d0fb089b9b8be", 1],
+ ["853a83b771aee241", 1],
+ ["f6b2659880a54c2c", 1],
+ ["2169196d244e8c63", 1],
+ ["3d10230d9979364c", 1],
+ ["29e6f2e74a120d4b", 1],
+ ["9bf8138c71c1598b", 1],
+ ["888abf1208501e0e", 1],
+ ["60fc8076b7c06e3a", 1],
+ ["aa190767ab91a60d", 1],
+ ["6ce45b823ddeb1cf", 1],
+ ["69176697be5efe55", 1],
+ ["b8b2873687c49d5d", 1],
+ ["880aac8b685ebe83", 1],
+ ["ccbaca21cf15456c", 1],
+ ["0c9c7d287eb0a6c9", 1],
+ ["d56121437c708e3b", 1],
+ ["c320a4312556deb5", 1],
+ ["0b6e614fc042ea17", 1],
+ ["0504e1761875a80d", 1],
+ ["d5293e5099740966", 1],
+ ["ec2667911ab75f90", 1],
+ ["f3a28c854cce2818", 1],
+ ["835728fc74c7444c", 1],
+ ["7be16f6b99570496", 1],
+ ["99adb0e0a4fc3397", 1],
+ ["66bce0e02aec3644", 1],
+ ["e5ad6c16b162ca7c", 1],
+ ["1b674a450a539636", 1],
+ ["ba1c1896a0368f21", 15]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 4],
+ [3.32, 4],
+ [3.64, 4],
+ [3.96, 4],
+ [4.28, 4],
+ [4.6, 4],
+ [4.92, 4],
+ [5.24, 4],
+ [5.56, 4],
+ [5.88, 4],
+ [6.2, 4],
+ [6.52, 4],
+ [6.84, 4],
+ [7.16, 4],
+ [7.48, 15]
+ ],
+ "id": "sha256:7fb4581dd851027124fa668f3b649f3fb4a1f7cfaa388a5d4169ab1455a0f081"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 136.35, 0.04, 2.6, 255.0],
+ [2, 2, 165.94, 0.14, 5.2, 255.0],
+ [3, 3, 160.39, 0.17, 5.58, 255.0],
+ [4, 4, 146.0, 0.23, 6.41, 255.0],
+ [5, 5, 143.73, 0.26, 6.79, 255.0],
+ [6, 6, 152.43, 0.31, 7.58, 255.0],
+ [7, 7, 164.04, 0.39, 8.56, 255.0],
+ [8, 8, 164.51, 0.45, 9.2, 255.0],
+ [9, 9, 152.43, 0.51, 9.78, 255.0],
+ [10, 10, 158.39, 0.59, 10.63, 255.0],
+ [11, 11, 180.71, 0.64, 11.15, 255.0],
+ [12, 12, 180.71, 0.67, 11.37, 255.0],
+ [13, 13, 180.71, 0.7, 11.67, 255.0],
+ [14, 14, 180.71, 0.77, 12.36, 255.0],
+ [15, 15, 180.71, 0.81, 12.67, 255.0],
+ [16, 16, 180.71, 0.82, 12.65, 255.0],
+ [17, 17, 188.67, 0.84, 12.89, 255.0],
+ [18, 18, 200.61, 0.83, 12.84, 255.0],
+ [19, 19, 200.61, 0.82, 12.79, 255.0],
+ [20, 20, 200.61, 0.9, 12.92, 255.0],
+ [21, 21, 200.61, 0.92, 13.06, 255.0],
+ [22, 22, 200.61, 0.92, 13.02, 255.0],
+ [23, 23, 200.61, 0.92, 13.01, 255.0],
+ [24, 24, 200.61, 0.92, 12.99, 255.0],
+ [25, 25, 200.61, 0.92, 12.97, 255.0],
+ [26, 26, 200.61, 0.93, 13.07, 255.0],
+ [27, 27, 200.61, 0.95, 13.14, 255.0],
+ [28, 28, 200.61, 0.93, 13.0, 255.0],
+ [29, 29, 200.61, 0.92, 12.98, 255.0],
+ [30, 30, 200.61, 0.92, 12.97, 255.0],
+ [31, 31, 200.61, 0.92, 12.97, 255.0],
+ [32, 32, 200.61, 0.92, 12.97, 255.0],
+ [33, 33, 200.61, 0.92, 12.97, 255.0],
+ [34, 34, 200.61, 0.92, 12.98, 255.0],
+ [35, 35, 200.61, 0.95, 13.06, 255.0],
+ [36, 36, 200.61, 0.95, 13.04, 255.0],
+ [38, 37, 200.61, 0.95, 13.01, 255.0],
+ [39, 38, 200.61, 0.95, 13.02, 255.0],
+ [40, 39, 200.61, 0.95, 13.02, 255.0],
+ [42, 40, 200.61, 0.94, 13.01, 255.0],
+ [43, 41, 200.61, 0.94, 13.01, 255.0],
+ [44, 42, 200.61, 0.94, 13.01, 255.0],
+ [46, 43, 200.61, 0.94, 13.01, 255.0],
+ [47, 44, 200.61, 0.94, 13.01, 255.0],
+ [48, 45, 200.61, 0.94, 13.01, 255.0],
+ [50, 46, 200.61, 0.94, 13.01, 255.0],
+ [51, 47, 200.61, 0.94, 13.01, 255.0],
+ [52, 48, 200.61, 0.94, 13.01, 255.0],
+ [53, 49, 200.61, 0.94, 13.01, 255.0],
+ [54, 50, 200.61, 0.94, 13.01, 255.0],
+ [55, 51, 200.61, 0.94, 13.02, 255.0],
+ [56, 52, 200.61, 0.94, 13.01, 255.0],
+ [58, 53, 200.61, 0.94, 13.0, 255.0],
+ [59, 54, 200.61, 0.94, 13.01, 255.0],
+ [60, 55, 200.61, 0.94, 13.01, 255.0],
+ [62, 56, 200.61, 0.94, 13.0, 255.0],
+ [63, 57, 200.61, 0.94, 13.0, 255.0],
+ [64, 58, 200.61, 0.94, 13.01, 255.0],
+ [66, 59, 200.61, 0.94, 13.0, 255.0],
+ [67, 60, 200.61, 0.94, 13.0, 255.0],
+ [68, 61, 200.61, 0.94, 13.0, 255.0],
+ [70, 62, 200.61, 0.94, 13.0, 255.0],
+ [71, 63, 200.61, 0.94, 13.0, 255.0],
+ [72, 64, 200.61, 0.94, 13.0, 255.0],
+ [73, 65, 200.61, 0.94, 13.0, 255.0],
+ [74, 66, 200.61, 0.94, 13.0, 255.0],
+ [75, 67, 200.61, 0.94, 13.0, 255.0],
+ [76, 68, 200.61, 0.94, 13.0, 255.0],
+ [78, 69, 200.61, 0.94, 13.0, 255.0],
+ [79, 70, 200.61, 0.94, 13.0, 255.0],
+ [80, 71, 200.61, 0.94, 13.0, 255.0],
+ [82, 72, 200.61, 0.94, 13.0, 255.0],
+ [83, 73, 200.61, 0.94, 13.0, 255.0],
+ [84, 74, 200.61, 0.94, 13.0, 255.0],
+ [86, 75, 200.61, 0.94, 13.0, 255.0],
+ [87, 76, 200.61, 0.94, 13.0, 255.0],
+ [88, 77, 200.61, 0.94, 13.0, 255.0],
+ [89, 78, 200.61, 0.94, 13.0, 255.0],
+ [90, 79, 200.61, 0.94, 13.0, 255.0],
+ [91, 80, 200.61, 0.94, 13.0, 255.0],
+ [92, 81, 200.61, 0.94, 13.0, 255.0],
+ [93, 82, 200.61, 0.94, 13.0, 255.0],
+ [94, 83, 200.61, 0.94, 13.0, 255.0],
+ [95, 84, 200.61, 0.94, 13.0, 255.0],
+ [96, 85, 200.61, 0.94, 13.0, 255.0],
+ [97, 86, 200.61, 0.94, 13.0, 255.0],
+ [98, 87, 200.61, 0.94, 13.0, 255.0],
+ [99, 88, 200.61, 0.94, 13.0, 255.0],
+ [100, 89, 200.61, 0.94, 13.0, 255.0]
+ ],
+ "unpaired": [37, 41, 45, 49, 57, 61, 65, 69, 77, 81, 85]
+ }
+}
diff --git a/tests/integration/cases/series_convergence_partial_sums/ce.mkv.sha256 b/tests/integration/cases/series_convergence_partial_sums/ce.mkv.sha256
new file mode 100644
index 00000000..3e7d23cb
--- /dev/null
+++ b/tests/integration/cases/series_convergence_partial_sums/ce.mkv.sha256
@@ -0,0 +1 @@
+3ab3348a1cb297852493ec8c3b4aba0d5cadd7abb27d60adc7dfa0a4125ab30e ce.mkv
diff --git a/tests/integration/cases/series_convergence_partial_sums/manimgx.mkv.sha256 b/tests/integration/cases/series_convergence_partial_sums/manimgx.mkv.sha256
new file mode 100644
index 00000000..bdc522ae
--- /dev/null
+++ b/tests/integration/cases/series_convergence_partial_sums/manimgx.mkv.sha256
@@ -0,0 +1 @@
+d029e877384a219515ed58d819f704287d6dfa3b551af9e0c641cc638258eb2a manimgx.mkv
diff --git a/tests/integration/cases/series_convergence_partial_sums/review.json b/tests/integration/cases/series_convergence_partial_sums/review.json
new file mode 100644
index 00000000..a504004c
--- /dev/null
+++ b/tests/integration/cases/series_convergence_partial_sums/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:d86ca4f14759592d0886ac884f79f1714ffc1e50808d1c688ee3dc4e4c2a141b",
+ "manimgx": "sha256:dbd5058ac24d84afb19f29dddcb0ea2618c9fd4b65e91ef9b66f89e06da7986b",
+ "ce": "sha256:7fb4581dd851027124fa668f3b649f3fb4a1f7cfaa388a5d4169ab1455a0f081",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/series_convergence_partial_sums/scene.py b/tests/integration/cases/series_convergence_partial_sums/scene.py
new file mode 100644
index 00000000..4dea779d
--- /dev/null
+++ b/tests/integration/cases/series_convergence_partial_sums/scene.py
@@ -0,0 +1,55 @@
+import math
+
+import manimgx as m
+
+TERMS = 14
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = m.MathTex(
+ "\\frac{\\pi}{4} = 1 - \\frac{1}{3} + \\frac{1}{5} - \\frac{1}{7} +"
+ " \\cdots",
+ ).to_edge(m.UP, buff=0.4)
+ self.play(m.Write(title))
+
+ line = m.NumberLine(
+ x_range=[0, 1, 0.25],
+ length=11,
+ include_numbers=True,
+ ).move_to(m.DOWN * 0.4)
+ self.add(line)
+
+ target_x = math.pi / 4
+ target = m.DashedLine(
+ line.n2p(target_x) + m.UP * 0.3,
+ line.n2p(target_x) + m.DOWN * 0.3,
+ color=m.YELLOW,
+ stroke_width=3,
+ )
+ target_label = (
+ m.MathTex(
+ "\\pi/4 \\approx 0.785",
+ color=m.YELLOW,
+ )
+ .scale(0.55)
+ .next_to(target, m.DOWN, buff=0.15)
+ )
+ self.play(m.Create(target), m.Write(target_label))
+
+ partial = 0.0
+ prev_pt = None
+ for k in range(TERMS):
+ partial += ((-1) ** k) / (2 * k + 1)
+ pt = line.n2p(partial)
+ dot = m.Dot(pt, color=m.GREEN, radius=0.06)
+ elems: list[m.Animation] = [m.FadeIn(dot, scale=0.5)]
+ if prev_pt is not None:
+ elems.append(
+ m.Create(
+ m.Line(prev_pt, pt, color=m.GREEN, stroke_width=1.5),
+ )
+ )
+ self.play(*elems, run_time=0.32)
+ prev_pt = pt
+ self.wait(1.5)
diff --git a/tests/integration/cases/small_angle_approximation/case.json b/tests/integration/cases/small_angle_approximation/case.json
new file mode 100644
index 00000000..7b3c23f5
--- /dev/null
+++ b/tests/integration/cases/small_angle_approximation/case.json
@@ -0,0 +1,252 @@
+{
+ "source": "sha256:37d31f4c16e8de822c666342460257428f9a23dbf449dbc7d0ce92ee0e5a66e4",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 7.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["12d06b2a061d0396", 1],
+ ["0d9e80f5b10e19e4", 1],
+ ["b8980fa329a4e272", 1],
+ ["4583e40fd8b3d94f", 1],
+ ["a9035261a7bbb82f", 1],
+ ["db10509c601afc3a", 1],
+ ["680e67071ea4ad28", 1],
+ ["04bb8e22410d7b52", 1],
+ ["d21a00f205731c16", 1],
+ ["e953d75b5d855f7a", 1],
+ ["f28247a527fbeeb0", 1],
+ ["75d0e2ba63230fc7", 1],
+ ["7a8e44ae65c592de", 1],
+ ["476051312da6e340", 1],
+ ["3245e212da146b68", 1],
+ ["120e56755946a9ca", 1],
+ ["ef28270626e2cdc9", 1],
+ ["9d9e2ce43c006924", 1],
+ ["ae4d2cf6ab481cdd", 1],
+ ["67f57bc8cb7401e0", 1],
+ ["752a0083b4887515", 1],
+ ["a9f7c81171824928", 1],
+ ["84f8394e42032036", 1],
+ ["b45d2fe77325cdbd", 1],
+ ["0e9ce510c1f19213", 1],
+ ["d291a1992376bc41", 1],
+ ["c76cdbb02c7f8eae", 1],
+ ["ebee0b1ef8032c2d", 6],
+ ["72448da16bf7142b", 1],
+ ["4ced7bde850e57a3", 1],
+ ["3f462680d009aa9d", 1],
+ ["1b22299e2015d664", 1],
+ ["da9766ce05eb2017", 1],
+ ["6e199de18929adce", 1],
+ ["330b305fdeb38557", 1],
+ ["d94a23d552e6d760", 1],
+ ["9f7c3015f95cfb3a", 1],
+ ["168116d0d039e348", 1],
+ ["7e8ae5b0ca51b209", 1],
+ ["806778259f2589f3", 1],
+ ["44e2187aa3fe05ee", 1],
+ ["d7f04c104087dd59", 1],
+ ["71272c79d814950d", 1],
+ ["05978a081bd757ec", 1],
+ ["28d4862b3e8c14be", 1],
+ ["e1380b89de02a5a7", 1],
+ ["8bfbc83cd217a63e", 1],
+ ["311e169a4ace3b4b", 1],
+ ["48fcd2489f6bb612", 1],
+ ["e4bd7d4224939230", 1],
+ ["0e4a6cd61a589cff", 1],
+ ["36221b7f27a23e23", 1],
+ ["a6d72b85fd2ee7d1", 1],
+ ["afccf8939fe0684a", 1],
+ ["b66a51294ffd6742", 1],
+ ["eddf0744ef109814", 1],
+ ["989f153a27c4331a", 1],
+ ["f10c3d4b24d302c3", 1],
+ ["0eb684758b27aecc", 1],
+ ["9692599224874168", 1],
+ ["fc645ad723f58483", 1],
+ ["a097d09c57ef12d2", 1],
+ ["8bd099c061cd46ea", 1],
+ ["eca3b564308abe1d", 1],
+ ["473d223264d5f38f", 1],
+ ["195be67a5279d8db", 1],
+ ["9326a1f7d5c69415", 1],
+ ["348c952fab44205a", 6]
+ ],
+ "timeline": [
+ [0.0, 79]
+ ],
+ "id": "sha256:053ab4899e047f8f40605ea65a96c645a9bb2f8c6fd448f00cf089cb40ed91de"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 7.8,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["c7f38354984b27ba", 1],
+ ["d66537d229f2fd01", 1],
+ ["8e28b4634130d46d", 1],
+ ["98c4d3d05611e65f", 1],
+ ["b5a0bd55d6cfc39a", 1],
+ ["4274fcf706cf862a", 1],
+ ["98476fd2ad4a6b65", 1],
+ ["351856551005c553", 1],
+ ["87278a05ec419ee4", 1],
+ ["6209174c08391ce3", 1],
+ ["f4344fa4ab95184d", 1],
+ ["18fc53efa5abb847", 1],
+ ["8392f95431fc828c", 1],
+ ["77940023607374f6", 1],
+ ["1de0e4ff0a84a4c8", 1],
+ ["3b7f454eedeb57e4", 1],
+ ["78a8a9810c7ef570", 1],
+ ["8c693a225b5c36ab", 1],
+ ["5d6a44d81f88d2f6", 1],
+ ["ce348b0bc95056cd", 1],
+ ["3defa4980565b981", 1],
+ ["a29cd7d2668902c3", 1],
+ ["1aadbfeffec69d64", 1],
+ ["eaf1a0d1206f7674", 1],
+ ["c19dafea73cea3ad", 1],
+ ["005ca8355a9d4086", 1],
+ ["39b82b75e8355a76", 1],
+ ["474a6f6b7154baff", 5],
+ ["d62c6462f0170c52", 1],
+ ["c8ff94c5d909d5b1", 1],
+ ["8bf0550fc66146ca", 1],
+ ["3f18b43e9a30218d", 1],
+ ["3ae8a1be49495ed2", 1],
+ ["4bf1429d012d16bf", 1],
+ ["d32243d4cd736e4b", 1],
+ ["b5be2e42d2e75a80", 1],
+ ["63f233534aa86140", 1],
+ ["f1a5b2a85fb6d500", 1],
+ ["66cbadfa5b7aa97e", 1],
+ ["326cf67a094f98a1", 1],
+ ["e5224300f796664e", 1],
+ ["4e372241545f9b00", 1],
+ ["4013de15e90117cc", 1],
+ ["3a19036244d44937", 1],
+ ["3aea08a03d081847", 1],
+ ["4aa86a689f67727f", 1],
+ ["71aaa41cadbc8626", 1],
+ ["9678ef65d62e8341", 1],
+ ["03ba40754c87114f", 1],
+ ["9c884e499bc8a05f", 1],
+ ["b17538c0c7f0fd58", 1],
+ ["02a91f151e06159c", 1],
+ ["ba030f7e32fb9a3b", 1],
+ ["29b0eda3e8262ea4", 1],
+ ["6f622cc74c788647", 1],
+ ["4b1ff166aeeab743", 1],
+ ["7df40b685362d0f2", 1],
+ ["998733c3e0a287c1", 1],
+ ["e953c179efc6f54c", 1],
+ ["53fb18418f2c357f", 1],
+ ["2ecd32cdb65645e6", 1],
+ ["dd437f546794920d", 1],
+ ["3b1e393bc0362759", 1],
+ ["1b45e3bb245b5198", 1],
+ ["67a806fdbc10a920", 1],
+ ["874a75ad08a81d14", 1],
+ ["5338ae63f1195156", 1],
+ ["2276309f728ceb47", 1],
+ ["87add24350bbcc7e", 5]
+ ],
+ "timeline": [
+ [0.0, 8],
+ [0.8, 10],
+ [1.8, 10],
+ [2.8, 5],
+ [3.3, 40],
+ [7.3, 5]
+ ],
+ "id": "sha256:52c500952bd24c8f071ff3701d04a5b1e7941e25052eedd3e42b95c1ff3cae8a"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 1.57, 0.0, 0.15, 7.0],
+ [2, 2, 1.57, 0.01, 0.19, 7.0],
+ [3, 3, 1.57, 0.01, 0.24, 7.0],
+ [4, 4, 1.57, 0.01, 0.24, 7.0],
+ [5, 5, 1.57, 0.01, 0.24, 7.0],
+ [6, 6, 1.57, 0.01, 0.24, 7.0],
+ [7, 7, 13.41, 0.04, 1.22, 53.0],
+ [8, 8, 17.69, 0.07, 1.6, 53.0],
+ [9, 9, 17.69, 0.07, 1.6, 53.0],
+ [10, 10, 17.69, 0.07, 1.6, 53.0],
+ [11, 11, 17.69, 0.08, 1.61, 53.0],
+ [12, 12, 17.69, 0.08, 1.62, 53.0],
+ [13, 13, 17.69, 0.08, 1.63, 53.0],
+ [14, 14, 17.69, 0.09, 1.64, 53.0],
+ [15, 15, 17.69, 0.09, 1.64, 53.0],
+ [16, 16, 17.69, 0.09, 1.64, 53.0],
+ [17, 17, 17.69, 0.09, 1.65, 53.0],
+ [18, 18, 18.04, 0.1, 1.68, 53.0],
+ [19, 19, 95.31, 0.14, 3.14, 255.0],
+ [20, 20, 96.92, 0.15, 3.2, 255.0],
+ [21, 21, 71.04, 0.16, 3.06, 255.0],
+ [22, 22, 109.49, 0.19, 3.67, 255.0],
+ [23, 23, 111.47, 0.19, 3.49, 255.0],
+ [24, 24, 135.41, 0.22, 4.14, 255.0],
+ [25, 25, 123.33, 0.22, 4.02, 255.0],
+ [26, 26, 74.33, 0.21, 3.57, 255.0],
+ [27, 27, 61.71, 0.19, 3.02, 219.0],
+ [28, 28, 133.24, 0.29, 4.77, 252.0],
+ [29, 29, 133.24, 0.29, 4.77, 252.0],
+ [30, 30, 133.24, 0.29, 4.77, 252.0],
+ [31, 31, 133.24, 0.29, 4.77, 252.0],
+ [32, 32, 133.24, 0.29, 4.77, 252.0],
+ [33, 33, 61.71, 0.18, 2.94, 219.0],
+ [34, 34, 61.71, 0.18, 2.94, 219.0],
+ [35, 35, 61.71, 0.18, 2.94, 219.0],
+ [36, 36, 61.71, 0.18, 2.94, 219.0],
+ [37, 37, 61.71, 0.18, 2.94, 219.0],
+ [38, 38, 61.71, 0.18, 2.94, 219.0],
+ [39, 39, 61.71, 0.18, 2.94, 219.0],
+ [40, 40, 61.71, 0.18, 2.94, 219.0],
+ [41, 41, 61.71, 0.18, 2.93, 219.0],
+ [42, 42, 61.71, 0.18, 2.93, 219.0],
+ [43, 43, 61.71, 0.18, 2.93, 219.0],
+ [44, 44, 61.71, 0.18, 2.93, 219.0],
+ [45, 45, 61.71, 0.18, 2.93, 219.0],
+ [46, 46, 61.71, 0.18, 2.93, 219.0],
+ [47, 47, 61.71, 0.18, 2.93, 219.0],
+ [48, 48, 61.71, 0.18, 2.93, 219.0],
+ [49, 49, 61.71, 0.18, 2.92, 219.0],
+ [50, 50, 61.71, 0.18, 2.92, 219.0],
+ [51, 51, 61.71, 0.18, 2.91, 219.0],
+ [52, 52, 61.71, 0.18, 2.91, 219.0],
+ [53, 53, 61.71, 0.18, 2.91, 219.0],
+ [54, 54, 61.71, 0.18, 2.91, 219.0],
+ [55, 55, 61.71, 0.18, 2.9, 219.0],
+ [56, 56, 61.71, 0.18, 2.9, 219.0],
+ [57, 57, 61.71, 0.18, 2.9, 219.0],
+ [58, 58, 61.71, 0.18, 2.9, 219.0],
+ [59, 59, 61.71, 0.18, 2.9, 219.0],
+ [60, 60, 61.71, 0.18, 2.9, 219.0],
+ [61, 61, 61.71, 0.18, 2.9, 219.0],
+ [62, 62, 61.71, 0.18, 2.89, 219.0],
+ [63, 63, 61.71, 0.18, 2.9, 219.0],
+ [64, 64, 61.71, 0.18, 2.9, 219.0],
+ [65, 65, 61.71, 0.18, 2.9, 219.0],
+ [66, 66, 61.71, 0.18, 2.9, 219.0],
+ [67, 67, 61.71, 0.18, 2.9, 219.0],
+ [68, 68, 61.71, 0.18, 2.9, 219.0],
+ [69, 69, 61.71, 0.18, 2.9, 219.0],
+ [70, 70, 61.71, 0.18, 2.9, 219.0],
+ [71, 71, 61.71, 0.18, 2.89, 219.0],
+ [72, 72, 61.71, 0.18, 2.89, 219.0],
+ [73, 73, 61.71, 0.18, 2.89, 219.0],
+ [74, 74, 61.71, 0.18, 2.89, 219.0],
+ [75, 75, 61.71, 0.18, 2.89, 219.0],
+ [76, 76, 61.71, 0.18, 2.89, 219.0],
+ [77, 77, 61.71, 0.18, 2.89, 219.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/small_angle_approximation/ce.mkv.sha256 b/tests/integration/cases/small_angle_approximation/ce.mkv.sha256
new file mode 100644
index 00000000..e1d1de2c
--- /dev/null
+++ b/tests/integration/cases/small_angle_approximation/ce.mkv.sha256
@@ -0,0 +1 @@
+24cdf36f3de3184904f3f0355dd8ab6e9a3ceb7c7278f6b413a4f02ca164ba07 ce.mkv
diff --git a/tests/integration/cases/small_angle_approximation/manimgx.mkv.sha256 b/tests/integration/cases/small_angle_approximation/manimgx.mkv.sha256
new file mode 100644
index 00000000..6e4d0223
--- /dev/null
+++ b/tests/integration/cases/small_angle_approximation/manimgx.mkv.sha256
@@ -0,0 +1 @@
+427ba14e311fc1d4d2d3968da8b5d6994f536d6506f9ad0555f6cd46d9efeb8b manimgx.mkv
diff --git a/tests/integration/cases/small_angle_approximation/review.json b/tests/integration/cases/small_angle_approximation/review.json
new file mode 100644
index 00000000..6469a53a
--- /dev/null
+++ b/tests/integration/cases/small_angle_approximation/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:37d31f4c16e8de822c666342460257428f9a23dbf449dbc7d0ce92ee0e5a66e4",
+ "manimgx": "sha256:053ab4899e047f8f40605ea65a96c645a9bb2f8c6fd448f00cf089cb40ed91de",
+ "ce": "sha256:52c500952bd24c8f071ff3701d04a5b1e7941e25052eedd3e42b95c1ff3cae8a",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/small_angle_approximation/scene.py b/tests/integration/cases/small_angle_approximation/scene.py
new file mode 100644
index 00000000..58ef085a
--- /dev/null
+++ b/tests/integration/cases/small_angle_approximation/scene.py
@@ -0,0 +1,166 @@
+"""Why is sin(theta) approx theta for small angles? Show on a unit circle."""
+
+import math
+
+import numpy as np
+
+import manimgx as m
+
+EVAL_MUST_NOT_USE: set[str] = set()
+EVAL_EXEMPT: set[str] = set()
+EVAL_NOTES: str = ""
+
+
+class TeacherScene(m.Scene):
+ def construct(self):
+ # A compact plane spanning [-0.3, 1.3] in both axes, scaled up.
+ plane = m.NumberPlane(
+ x_range=(-0.3, 1.3, 0.5),
+ y_range=(-0.3, 1.3, 0.5),
+ x_length=4.2,
+ y_length=4.2,
+ )
+ plane.shift(1.5 * m.LEFT + 0.2 * m.DOWN)
+ # manimgx Axes/NumberPlane don't expose .x_axis directly — compute the
+ # world-space size of one plane unit by measuring c2p deltas.
+ origin = plane.c2p(0.0, 0.0)
+ unit = float(plane.c2p(1.0, 0.0)[0] - origin[0])
+
+ # Unit circle with radius = one plane-unit.
+ unit_circle = m.Circle(radius=unit, color=m.GREY_B, stroke_width=2.5)
+ unit_circle.move_to(origin)
+
+ # Angle tracker — starts at 45 degrees.
+ theta = m.ValueTracker(45.0 * m.DEGREES)
+
+ # Dot on circle at (cos theta, sin theta).
+ dot = m.always_redraw(
+ lambda: m.Dot(
+ plane.c2p(
+ math.cos(theta.get_value()),
+ math.sin(theta.get_value()),
+ ),
+ color=m.YELLOW,
+ radius=0.08,
+ )
+ )
+
+ # Blue radius from origin to dot, labeled "1".
+ radius_line = m.always_redraw(
+ lambda: m.Line(
+ origin,
+ plane.c2p(
+ math.cos(theta.get_value()),
+ math.sin(theta.get_value()),
+ ),
+ color=m.BLUE,
+ stroke_width=4.0,
+ )
+ )
+ radius_label = m.MathTex("1", color=m.BLUE).scale(0.7)
+ radius_label.add_updater(
+ lambda lab: lab.move_to(
+ origin
+ + 0.6
+ * unit
+ * np.array(
+ [
+ math.cos(theta.get_value() + math.pi / 2) * 0.25
+ + math.cos(theta.get_value()),
+ math.sin(theta.get_value() + math.pi / 2) * 0.25
+ + math.sin(theta.get_value()),
+ 0.0,
+ ]
+ )
+ )
+ )
+
+ # Red horizontal line from origin to (cos theta, 0), labeled "cos theta".
+ cos_line = m.always_redraw(
+ lambda: m.Line(
+ origin,
+ plane.c2p(math.cos(theta.get_value()), 0.0),
+ color=m.RED,
+ stroke_width=4.0,
+ )
+ )
+ cos_label = m.MathTex(R"\cos\theta", color=m.RED).scale(0.6)
+ cos_label.add_updater(
+ lambda lab: lab.next_to(
+ plane.c2p(math.cos(theta.get_value()) * 0.5, 0.0),
+ m.DOWN,
+ buff=0.1,
+ )
+ )
+
+ # Green vertical line from (cos theta, 0) to (cos theta, sin theta), labeled "sin theta".
+ sin_line = m.always_redraw(
+ lambda: m.Line(
+ plane.c2p(math.cos(theta.get_value()), 0.0),
+ plane.c2p(
+ math.cos(theta.get_value()),
+ math.sin(theta.get_value()),
+ ),
+ color=m.GREEN,
+ stroke_width=4.0,
+ )
+ )
+ sin_label = m.MathTex(R"\sin\theta", color=m.GREEN).scale(0.6)
+ sin_label.add_updater(
+ lambda lab: lab.next_to(
+ plane.c2p(
+ math.cos(theta.get_value()),
+ math.sin(theta.get_value()) * 0.5,
+ ),
+ m.RIGHT,
+ buff=0.1,
+ )
+ )
+
+ # Small arc showing theta at the origin.
+ arc_theta = m.always_redraw(
+ lambda: m.Arc(
+ start_angle=0.0,
+ angle=max(theta.get_value(), 1e-3),
+ radius=0.4,
+ color=m.YELLOW,
+ stroke_width=3.0,
+ ).shift(origin)
+ )
+ theta_label = m.MathTex(R"\theta", color=m.YELLOW).scale(0.7)
+ theta_label.add_updater(
+ lambda lab: lab.move_to(
+ origin
+ + 0.6
+ * np.array(
+ [
+ math.cos(theta.get_value() / 2),
+ math.sin(theta.get_value() / 2),
+ 0.0,
+ ]
+ )
+ )
+ )
+
+ # Caption in the corner: sin theta approx theta for small theta.
+ caption = (
+ m.MathTex(R"\sin\theta \approx \theta \text{ for small } \theta")
+ .scale(0.75)
+ .to_corner(m.UR, buff=0.4)
+ )
+
+ # --- Build the scene ---
+ self.play(m.Create(plane), run_time=0.8)
+ self.play(m.Create(unit_circle), run_time=1.0)
+ self.add(radius_line, radius_label, arc_theta, theta_label, dot)
+ self.play(m.Write(caption), run_time=1.0)
+ self.add(cos_line, cos_label, sin_line, sin_label)
+ self.wait(0.5)
+
+ # Sweep theta from 45 degrees down to 5 degrees — watch sin theta approach the arc length.
+ self.play(
+ theta.animate.set_value(5.0 * m.DEGREES),
+ run_time=4.0,
+ rate_func=m.smooth,
+ )
+ self.wait(0.5)
diff --git a/tests/integration/cases/taylor_series_term_by_term/case.json b/tests/integration/cases/taylor_series_term_by_term/case.json
new file mode 100644
index 00000000..04e18023
--- /dev/null
+++ b/tests/integration/cases/taylor_series_term_by_term/case.json
@@ -0,0 +1,288 @@
+{
+ "source": "sha256:696393dddabca12e552ff1f8dc05e8be2157c70969ed5c573ca90dc81a2face2",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 10.4,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["d4b8c1e4ec3f8320", 1],
+ ["f35ea91328604e33", 1],
+ ["8a28c44707b74dcd", 1],
+ ["8fdd548b0989ab36", 1],
+ ["933dcae4d3b624dd", 1],
+ ["832d0358fbea1cf7", 1],
+ ["46b9160b19654cf7", 1],
+ ["13028ef923eee03e", 1],
+ ["0d91717339e1197c", 1],
+ ["d67cbe23375362e8", 1],
+ ["06c988d77c59034a", 1],
+ ["fa108c61640b7ce2", 1],
+ ["e8482ed80889ed67", 1],
+ ["8415beebd2f87c29", 1],
+ ["08b783d984b88f0e", 1],
+ ["7f0a71e48d00288f", 1],
+ ["66458204a5b521c0", 1],
+ ["3971a5515dc0497c", 1],
+ ["d6b1a92993f16bdb", 1],
+ ["4cdf5bbe218d1c53", 4],
+ ["1f97290e69c6bb89", 1],
+ ["36ee49a8e877f82a", 1],
+ ["633362e3920254fd", 1],
+ ["52516969e3c931dc", 1],
+ ["bd6db02d3bdde15f", 1],
+ ["ce1829d58ba06e44", 1],
+ ["2b0229651e804a10", 1],
+ ["f48345a2a6be2699", 1],
+ ["1f2dd454f00f9c29", 1],
+ ["9f6ac5aed599d2fc", 4],
+ ["e78f19348b945faf", 1],
+ ["846efc560b0b7605", 1],
+ ["bb356e609d98e695", 1],
+ ["1fa840086f7e3cfb", 1],
+ ["9fcc27f81ffb740b", 1],
+ ["909ba256315a588d", 1],
+ ["823fcace82c4771c", 1],
+ ["0fad91b0208165e4", 1],
+ ["995e817d0153860e", 1],
+ ["60cd87d79aab05d9", 4],
+ ["921ff2476dce4de5", 1],
+ ["4fc259704c753b9e", 1],
+ ["78902e957fecdb74", 1],
+ ["df32e2ed993f5ff8", 1],
+ ["76e7912c81cb40b9", 1],
+ ["a8402b807ae54c25", 1],
+ ["d3f25ec2b7703016", 1],
+ ["a9a89ae261a8d4e2", 1],
+ ["207229e05e90f1a5", 1],
+ ["da535e9a9986023a", 4],
+ ["2c7c3bf8756b6e55", 1],
+ ["0052813f0a36623b", 1],
+ ["aa10b74136bb1aa9", 1],
+ ["ff1e406d75c49486", 1],
+ ["93f88b54e158801b", 1],
+ ["6ec7a5b07f59459c", 1],
+ ["fae4e2f16a110f84", 1],
+ ["88d648b31d55437f", 1],
+ ["76beb93368c11052", 1],
+ ["010d668d5f5e7b2a", 4],
+ ["2400912da0124f0a", 1],
+ ["ab17b0e9450e648b", 1],
+ ["18efd76938ae7d24", 1],
+ ["6c723803ef46960c", 1],
+ ["8f4650e8fd576d20", 1],
+ ["15c0795c5386f3e1", 1],
+ ["a85b057c195e3a95", 1],
+ ["fe33ea1bf1e0a798", 1],
+ ["4f9fd8bdc238fd1f", 1],
+ ["39bc8e612b9a46e7", 20]
+ ],
+ "timeline": [
+ [0.0, 105]
+ ],
+ "id": "sha256:583ce5dc098a6a1b422af6c057118ea524f2bb7940a54ee11dc6301350253c43"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 10.4,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["52c726c9013279a0", 1],
+ ["bbb130579652732d", 1],
+ ["56dc4f81f22f3316", 1],
+ ["8eb997e1c6d25cbd", 1],
+ ["d4b2b8acfa7a3edb", 1],
+ ["750f0b70ee542998", 1],
+ ["3029830d61f79497", 1],
+ ["78efc59494d7fe24", 1],
+ ["bac088f59a1bc745", 1],
+ ["7322b68c6a5d8f36", 1],
+ ["659d498e506598a3", 1],
+ ["33c3ecbddc448d82", 1],
+ ["5364f6bfd97eab87", 1],
+ ["64edd4cd2576d3ec", 1],
+ ["f45424571c5e3de3", 1],
+ ["bc18a2dc1d464f5e", 1],
+ ["bf5ad3d97c6f82c7", 1],
+ ["06dd48c566c55bfd", 1],
+ ["5e7642c88655b9a1", 1],
+ ["087cda10e0004504", 4],
+ ["7429bdc675e8fd6b", 1],
+ ["1bd666f64de51030", 1],
+ ["80b1324128f48aaf", 1],
+ ["7fad31878749a65c", 1],
+ ["a50a1b388da2bf04", 1],
+ ["c2ed134ef7aba413", 1],
+ ["dc96d36bce005af2", 1],
+ ["ed197d5af0164a27", 1],
+ ["2aa76f6f9e1a9270", 1],
+ ["a7d817db105501c2", 5],
+ ["03de4dd20f2ec23b", 1],
+ ["0d576d023983141b", 1],
+ ["3ee0fdc2f0a88918", 1],
+ ["58daecb7acccbdc3", 1],
+ ["af102aa22b47840c", 1],
+ ["d0f6a72400e48820", 1],
+ ["72a3982de4800432", 1],
+ ["02031b24e7cd6646", 1],
+ ["aff85420069b99b4", 4],
+ ["64f31c55610d6015", 1],
+ ["d36d8bab9f97bfe0", 1],
+ ["0e0028a7a0d20eb0", 1],
+ ["fe199c1fccd98786", 1],
+ ["9496d5b2b5716c9a", 1],
+ ["82c6d24b3b6868ab", 1],
+ ["7687467f73e11bab", 1],
+ ["591bda179f0b9b8f", 1],
+ ["a426c085c9a6fcce", 1],
+ ["be86b6bacc445441", 4],
+ ["03b2b68207376cef", 1],
+ ["1fcf51ee151686de", 1],
+ ["0ad7409f2b78f2db", 1],
+ ["c85467e23ed27c38", 1],
+ ["ee9c5c7c3d9c9661", 1],
+ ["bf6e193be260b6fd", 1],
+ ["dd6d57ea1f5ceb87", 1],
+ ["b1298a868fbbecc1", 1],
+ ["e96c11896c7a7448", 1],
+ ["529089bc11524ac6", 4],
+ ["27cc672c8d083b23", 1],
+ ["84cbb7cce2f9377f", 1],
+ ["15c04adb879a3219", 1],
+ ["5d73f2d9b0bcd048", 1],
+ ["56c3ca910929eead", 1],
+ ["5a1cfde8ed785132", 1],
+ ["f066e1cc3efd5c97", 1],
+ ["3a9d9e74f2145799", 1],
+ ["3599bdf377f5a9b1", 1],
+ ["67c691f1a1ef4c28", 19]
+ ],
+ "timeline": [
+ [0.0, 10],
+ [1.0, 10],
+ [2.0, 4],
+ [2.4, 9],
+ [3.3, 4],
+ [3.7, 9],
+ [4.6, 4],
+ [5.0, 9],
+ [5.9, 4],
+ [6.3, 9],
+ [7.2, 4],
+ [7.6, 9],
+ [8.5, 4],
+ [8.9, 15]
+ ],
+ "id": "sha256:8424980d9e2b98580823a2f6dfddcf3e4f1602a2e229becb09c05a4bbd6ff4f7"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 92.84, 0.03, 1.63, 221.0],
+ [2, 2, 99.35, 0.06, 2.36, 221.0],
+ [3, 3, 109.08, 0.09, 3.27, 221.0],
+ [4, 4, 126.2, 0.12, 3.86, 221.0],
+ [5, 5, 121.67, 0.14, 4.3, 221.0],
+ [6, 6, 110.53, 0.15, 4.36, 221.0],
+ [7, 7, 99.29, 0.12, 3.68, 221.0],
+ [8, 8, 94.04, 0.08, 2.75, 221.0],
+ [9, 9, 99.1, 0.06, 1.92, 221.0],
+ [10, 10, 99.1, 0.05, 1.67, 218.0],
+ [11, 11, 99.1, 0.06, 1.84, 247.0],
+ [12, 12, 99.1, 0.06, 1.97, 247.0],
+ [13, 13, 99.1, 0.07, 2.08, 247.0],
+ [14, 14, 99.1, 0.08, 2.17, 229.0],
+ [15, 15, 99.1, 0.08, 2.17, 247.0],
+ [16, 16, 99.1, 0.08, 2.09, 247.0],
+ [17, 17, 99.1, 0.07, 1.9, 218.0],
+ [18, 18, 99.1, 0.07, 1.89, 218.0],
+ [19, 19, 99.1, 0.07, 1.89, 218.0],
+ [20, 20, 99.1, 0.07, 1.89, 218.0],
+ [21, 21, 99.1, 0.07, 1.89, 218.0],
+ [22, 22, 99.1, 0.07, 1.89, 218.0],
+ [23, 23, 99.1, 0.07, 1.89, 218.0],
+ [24, 24, 99.1, 0.07, 1.89, 218.0],
+ [25, 25, 99.1, 0.07, 1.88, 218.0],
+ [26, 26, 99.1, 0.08, 1.93, 218.0],
+ [27, 27, 99.1, 0.08, 2.12, 243.0],
+ [28, 28, 99.1, 0.1, 2.39, 242.0],
+ [29, 29, 99.1, 0.12, 2.84, 247.0],
+ [30, 30, 101.1, 0.13, 2.93, 247.0],
+ [31, 31, 99.1, 0.13, 2.84, 247.0],
+ [32, 32, 99.1, 0.12, 2.63, 218.0],
+ [33, 33, 99.1, 0.13, 2.69, 220.0],
+ [34, 34, 99.1, 0.13, 2.69, 220.0],
+ [35, 35, 99.1, 0.13, 2.69, 220.0],
+ [36, 36, 99.1, 0.13, 2.69, 220.0],
+ [37, 37, 99.1, 0.13, 2.69, 220.0],
+ [38, 38, 99.1, 0.13, 2.73, 218.0],
+ [39, 39, 99.1, 0.13, 2.78, 238.0],
+ [40, 40, 104.9, 0.14, 3.21, 247.0],
+ [41, 41, 141.69, 0.16, 3.69, 248.0],
+ [42, 42, 129.04, 0.17, 3.87, 247.0],
+ [43, 43, 121.57, 0.18, 3.84, 247.0],
+ [44, 44, 99.1, 0.17, 3.68, 240.0],
+ [45, 45, 99.1, 0.17, 3.59, 244.0],
+ [46, 46, 100.0, 0.18, 3.74, 244.0],
+ [47, 47, 100.0, 0.18, 3.74, 244.0],
+ [48, 48, 100.0, 0.18, 3.74, 244.0],
+ [49, 49, 100.0, 0.18, 3.74, 244.0],
+ [50, 50, 100.0, 0.18, 3.74, 245.0],
+ [51, 51, 99.1, 0.17, 3.71, 247.0],
+ [52, 52, 99.1, 0.17, 3.74, 247.0],
+ [53, 53, 114.12, 0.18, 3.97, 247.0],
+ [54, 54, 134.24, 0.19, 4.2, 247.0],
+ [55, 55, 151.61, 0.22, 4.59, 247.0],
+ [56, 56, 107.84, 0.23, 4.43, 247.0],
+ [57, 57, 118.24, 0.23, 4.45, 247.0],
+ [58, 58, 120.59, 0.24, 4.54, 247.0],
+ [59, 59, 127.1, 0.25, 4.67, 247.0],
+ [60, 60, 127.1, 0.25, 4.67, 247.0],
+ [61, 61, 127.1, 0.25, 4.67, 247.0],
+ [62, 62, 127.1, 0.25, 4.67, 247.0],
+ [63, 63, 127.08, 0.25, 4.67, 247.0],
+ [64, 64, 113.12, 0.24, 4.67, 247.0],
+ [65, 65, 109.02, 0.23, 4.47, 247.0],
+ [66, 66, 131.45, 0.24, 4.65, 247.0],
+ [67, 67, 154.41, 0.26, 5.08, 247.0],
+ [68, 68, 150.63, 0.28, 5.32, 247.0],
+ [69, 69, 165.84, 0.28, 5.07, 247.0],
+ [70, 70, 125.22, 0.28, 4.99, 247.0],
+ [71, 71, 130.94, 0.3, 5.12, 247.0],
+ [72, 72, 126.45, 0.3, 5.24, 247.0],
+ [73, 73, 126.45, 0.3, 5.24, 247.0],
+ [74, 74, 126.45, 0.3, 5.24, 247.0],
+ [75, 75, 126.45, 0.3, 5.24, 247.0],
+ [76, 76, 126.45, 0.3, 5.24, 247.0],
+ [77, 77, 132.29, 0.3, 5.31, 247.0],
+ [78, 78, 111.27, 0.28, 5.03, 247.0],
+ [79, 79, 130.45, 0.28, 5.11, 247.0],
+ [80, 80, 166.57, 0.31, 5.68, 247.0],
+ [81, 81, 170.8, 0.33, 5.81, 247.0],
+ [82, 82, 147.82, 0.33, 5.56, 247.0],
+ [83, 83, 121.35, 0.34, 5.54, 247.0],
+ [84, 84, 128.51, 0.36, 5.68, 247.0],
+ [85, 85, 118.8, 0.36, 5.76, 247.0],
+ [86, 86, 118.8, 0.36, 5.76, 247.0],
+ [87, 87, 118.8, 0.36, 5.76, 247.0],
+ [88, 88, 118.8, 0.36, 5.76, 247.0],
+ [89, 89, 118.8, 0.36, 5.76, 247.0],
+ [90, 90, 118.8, 0.36, 5.76, 247.0],
+ [91, 91, 118.8, 0.36, 5.76, 247.0],
+ [92, 92, 118.8, 0.36, 5.76, 247.0],
+ [93, 93, 118.8, 0.36, 5.76, 247.0],
+ [94, 94, 118.8, 0.36, 5.76, 247.0],
+ [95, 95, 118.8, 0.36, 5.76, 247.0],
+ [96, 96, 118.8, 0.36, 5.76, 247.0],
+ [97, 97, 118.8, 0.36, 5.76, 247.0],
+ [98, 98, 118.8, 0.36, 5.76, 247.0],
+ [99, 99, 118.8, 0.36, 5.76, 247.0],
+ [100, 100, 118.8, 0.36, 5.76, 247.0],
+ [101, 101, 118.8, 0.36, 5.76, 247.0],
+ [102, 102, 118.8, 0.36, 5.76, 247.0],
+ [103, 103, 118.8, 0.36, 5.76, 247.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/taylor_series_term_by_term/ce.mkv.sha256 b/tests/integration/cases/taylor_series_term_by_term/ce.mkv.sha256
new file mode 100644
index 00000000..ea8f04c4
--- /dev/null
+++ b/tests/integration/cases/taylor_series_term_by_term/ce.mkv.sha256
@@ -0,0 +1 @@
+ad8e10c68d9e346ee9dde5ce00ce87c5e883adbfc94ba08cf9f7bcc82e0959ff ce.mkv
diff --git a/tests/integration/cases/taylor_series_term_by_term/manimgx.mkv.sha256 b/tests/integration/cases/taylor_series_term_by_term/manimgx.mkv.sha256
new file mode 100644
index 00000000..99e002b3
--- /dev/null
+++ b/tests/integration/cases/taylor_series_term_by_term/manimgx.mkv.sha256
@@ -0,0 +1 @@
+d1705b79b540939e7193f50b652323e140aaabe7f421d97cd310709ca9f53ce4 manimgx.mkv
diff --git a/tests/integration/cases/taylor_series_term_by_term/review.json b/tests/integration/cases/taylor_series_term_by_term/review.json
new file mode 100644
index 00000000..e9c0a278
--- /dev/null
+++ b/tests/integration/cases/taylor_series_term_by_term/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:696393dddabca12e552ff1f8dc05e8be2157c70969ed5c573ca90dc81a2face2",
+ "manimgx": "sha256:583ce5dc098a6a1b422af6c057118ea524f2bb7940a54ee11dc6301350253c43",
+ "ce": "sha256:8424980d9e2b98580823a2f6dfddcf3e4f1602a2e229becb09c05a4bbd6ff4f7",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/taylor_series_term_by_term/scene.py b/tests/integration/cases/taylor_series_term_by_term/scene.py
new file mode 100644
index 00000000..70dea0f7
--- /dev/null
+++ b/tests/integration/cases/taylor_series_term_by_term/scene.py
@@ -0,0 +1,59 @@
+import math
+
+import manimgx as m
+
+
+def taylor_exp(x: float, n: int) -> float:
+ return float(sum(x**k / math.factorial(k) for k in range(n + 1)))
+
+
+def taylor_label_text(n: int) -> str:
+ parts = ["1"]
+ if n >= 1:
+ parts.append("x")
+ for k in range(2, n + 1):
+ parts.append(f"\\tfrac{{x^{{{k}}}}}{{{k}!}}")
+ return "+".join(parts)
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ ax = m.Axes(
+ x_range=[-2, 2, 1],
+ y_range=[-1, 6, 1],
+ x_length=10,
+ y_length=6,
+ )
+ true_curve = ax.plot(lambda x: math.exp(x), color=m.BLUE, x_range=[-2, 2])
+ true_label = m.MathTex("e^x", color=m.BLUE).to_corner(m.UR, buff=0.5)
+ self.play(m.Create(ax), m.Create(true_curve), m.Write(true_label))
+
+ approx = None
+ approx_label = None
+ for n in range(1, 7):
+ new_approx = ax.plot(
+ lambda x, n=n: taylor_exp(x, n),
+ color=m.YELLOW,
+ x_range=[-2, 2],
+ )
+ new_label = (
+ m.MathTex(
+ "\\approx " + taylor_label_text(n),
+ color=m.YELLOW,
+ )
+ .scale(0.55)
+ .to_corner(m.UR, buff=0.5)
+ .shift(m.DOWN * 0.65)
+ )
+
+ if approx is None or approx_label is None:
+ approx, approx_label = new_approx, new_label
+ self.play(m.Create(approx), m.Write(approx_label))
+ else:
+ self.play(
+ m.Transform(approx, new_approx),
+ m.Transform(approx_label, new_label),
+ run_time=0.9,
+ )
+ self.wait(0.4)
+ self.wait(1.5)
diff --git a/tests/integration/cases/wallis_product_convergence/case.json b/tests/integration/cases/wallis_product_convergence/case.json
new file mode 100644
index 00000000..6af8beab
--- /dev/null
+++ b/tests/integration/cases/wallis_product_convergence/case.json
@@ -0,0 +1,315 @@
+{
+ "source": "sha256:33aeade373571fd93564289bfc9e813b86b8b1c2f99f642807e2a65cce0cebf7",
+ "size": [960, 540],
+ "fps": 10,
+ "manimgx": {
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["06f068cb20d93ef5", 1],
+ ["7ea54c12dc358e08", 1],
+ ["dcdbc67f6e3bf8a6", 1],
+ ["2925a60b867ce4a0", 1],
+ ["d2faa8284e61401b", 1],
+ ["4ff63f1e4f669536", 1],
+ ["10da86b8a795bea0", 1],
+ ["1ef3c4a1360e6dbf", 1],
+ ["a3d0fb2da319f338", 1],
+ ["869654a5f52dbe8e", 1],
+ ["8765d873a77d141c", 1],
+ ["36f557210558bf13", 1],
+ ["123bf5a6de759e6f", 1],
+ ["36746d73948e1a77", 1],
+ ["46e2fbed5781c1e6", 1],
+ ["21e8c9ff2c3a9319", 1],
+ ["4e2dd6159c7e8bbe", 1],
+ ["c04ef9a390a3cd01", 1],
+ ["cbbfe9a8ee732400", 1],
+ ["d4de8ca335246a35", 1],
+ ["ba67b096bc372672", 1],
+ ["b7c56f20b41aaede", 1],
+ ["22010b6dd1ee99e4", 1],
+ ["8205f82b375f7a51", 1],
+ ["0e812b6292c2bb0c", 1],
+ ["caaacf843e34aa29", 1],
+ ["06e0335e7798d736", 1],
+ ["7a820f887d282e48", 1],
+ ["02195d3f6261682c", 1],
+ ["c66445d2ed62d0b1", 1],
+ ["2889bcce1dfd7d92", 1],
+ ["a0902ef224e70a50", 1],
+ ["33375588abcb432a", 1],
+ ["095103f6b92168d7", 1],
+ ["b663dad89c3b0002", 1],
+ ["126c505537a5fe3e", 1],
+ ["3ac3016a5614fe16", 1],
+ ["27a5bfbb46a4d7fe", 1],
+ ["c076d2191fd6aaa3", 1],
+ ["d433b4deb449e5ea", 1],
+ ["84a2496c281b223e", 1],
+ ["81af1662edfb1333", 1],
+ ["0452ec46b715763a", 1],
+ ["f2b01bb9b73d7010", 1],
+ ["5fa9d0e7cb90b0b6", 1],
+ ["6f1e70e6f6df47ea", 1],
+ ["11eb47de8bd3ba80", 1],
+ ["c60acc0c0c86b147", 1],
+ ["95a893b6eb57ee12", 1],
+ ["038fe9120f4f68c7", 1],
+ ["4e5849455ef69ae7", 1],
+ ["5c21044216d6778c", 1],
+ ["8ffd098c65e3a96b", 1],
+ ["6a74c66b5673233f", 1],
+ ["2493a042138e93b0", 1],
+ ["db725b080ba81027", 1],
+ ["0f6dbab180ab2bda", 1],
+ ["0c5190515d569157", 1],
+ ["5adaa8cf98227aca", 1],
+ ["969258d8ca4aedd9", 1],
+ ["4f4abe7c4412bd90", 1],
+ ["4795cb3a4ac145bb", 1],
+ ["97c4f176613af7c0", 1],
+ ["a34a53853f60a97c", 1],
+ ["a2aa3fb95f5d3554", 1],
+ ["5ae99be808fced2d", 1],
+ ["5d68c49238e35736", 1],
+ ["8b96d87d4b7b7f7a", 1],
+ ["d61982612ea7e182", 1],
+ ["2e136397f3661957", 1],
+ ["c1d2b557fa229ae9", 1],
+ ["61efff7a0ca814fd", 2],
+ ["6e4d59443ec614af", 1],
+ ["2e3694800e9918b3", 2],
+ ["340c4a0d1dccabd9", 1],
+ ["74c243a1c443e527", 2],
+ ["88176a202a0825f5", 1],
+ ["f15c424ae69be142", 2],
+ ["4dfd4a1a18cdb625", 1],
+ ["ad0459cde21d5be5", 16]
+ ],
+ "timeline": [
+ [0.0, 100]
+ ],
+ "id": "sha256:47bd0ea3fd671343ef505301df175ccf48e1bd93a86bac14893019d1087ef8df"
+ },
+ "ce": {
+ "manim": "0.21.0",
+ "duration": 9.9,
+ "frames": [
+ ["2e842802bccef91c", 1],
+ ["53f720158ba44f68", 1],
+ ["4ee8e0f45326b56f", 1],
+ ["25b2ab2778106544", 1],
+ ["b07e098f22c1ae7a", 1],
+ ["3ce4f3a2025a98ac", 1],
+ ["08f3ae9ededc84f4", 1],
+ ["82a32cc083468731", 1],
+ ["e469838dbf5836fe", 1],
+ ["7f895de947ec6125", 1],
+ ["26ac859a75c1d0f0", 1],
+ ["2ad5f354a4da9e9b", 1],
+ ["dc0f55712cff48a9", 1],
+ ["c966b9f42383708b", 1],
+ ["9743309f5488836e", 1],
+ ["8acbb957930a3ba6", 1],
+ ["d1f1b4defdc6b1f4", 1],
+ ["822162a33239e40c", 1],
+ ["a5477b10411ca4ec", 1],
+ ["5ec94200f9cfd9f7", 1],
+ ["0143d631bcf9f710", 1],
+ ["c5ffea7204f367c1", 1],
+ ["3ea3fbb2543c11c9", 1],
+ ["53da8e3b2227397d", 1],
+ ["88277843f92f508f", 1],
+ ["eecd565f1d0663e2", 1],
+ ["3cf93228050347be", 1],
+ ["999734e6468925f5", 1],
+ ["a85c0a71be9ac499", 1],
+ ["6a1c851b5e52c55c", 1],
+ ["45dd79e38f825a69", 1],
+ ["40ce5e312f3d2582", 1],
+ ["3ba5ffe528a49164", 1],
+ ["4b8832fd5e0fcbcc", 1],
+ ["49841269a59fb199", 1],
+ ["883c10ec88472e3d", 1],
+ ["dbe7c2b153dc26f9", 1],
+ ["a9d831ca21e2ff63", 1],
+ ["6f9419ec493a5bc7", 1],
+ ["04f992982a09fbc0", 1],
+ ["d07350960bb970bc", 1],
+ ["834455db3384f200", 1],
+ ["6e4ead68d84d0d5f", 1],
+ ["def2e85d82b2976c", 1],
+ ["74a6996661727f99", 1],
+ ["653996fd5361f750", 1],
+ ["cb00387f8cd596ae", 1],
+ ["86b7c2b3c2667aff", 1],
+ ["bee1b088e5aabc2f", 1],
+ ["9963eac640c2c6a1", 1],
+ ["55440b241e78731d", 1],
+ ["bb084864e57243ab", 1],
+ ["df1db71cd28bf515", 1],
+ ["4277444365bcd76e", 1],
+ ["4bee16c0354db662", 1],
+ ["f87cb0cc67dca086", 1],
+ ["86ab2964d82b09a3", 1],
+ ["10c63e644ef0e6c5", 1],
+ ["f044d7124a3f42d5", 1],
+ ["d9392e4f9617975b", 1],
+ ["6bfb38ed9f31a841", 1],
+ ["7e7f832462851375", 1],
+ ["3efd892c8848e759", 1],
+ ["10e59029424d4097", 1],
+ ["56df5a674ece3c1a", 1],
+ ["6e11f77bfe19f92f", 1],
+ ["c005e98508982539", 1],
+ ["e6091b77620af9d6", 1],
+ ["791a4a60bcb723bd", 1],
+ ["863d2064e7f59096", 1],
+ ["a4d6921e2592da06", 1],
+ ["90f4a6b51d559d9c", 1],
+ ["de75b89d5c558e6d", 1],
+ ["44f8162cfae8769c", 1],
+ ["049cbeccd2fbb1a6", 1],
+ ["a61efaf1f21f3536", 1],
+ ["c1cb854394d0ad2e", 1],
+ ["7d189ef19d259ffb", 1],
+ ["b130cef83f926de6", 1],
+ ["8a71f6a15b5739dd", 1],
+ ["56cc4c50b2dc0b45", 1],
+ ["69b0143cd37d1c59", 1],
+ ["670785742a961f01", 1],
+ ["8834d590b6b278eb", 1],
+ ["31b45852e92ece5e", 15]
+ ],
+ "timeline": [
+ [0.0, 20],
+ [2.0, 10],
+ [3.0, 3],
+ [3.3, 3],
+ [3.6, 3],
+ [3.9, 3],
+ [4.2, 3],
+ [4.5, 3],
+ [4.8, 3],
+ [5.1, 3],
+ [5.4, 3],
+ [5.7, 3],
+ [6.0, 3],
+ [6.3, 3],
+ [6.6, 3],
+ [6.9, 3],
+ [7.2, 3],
+ [7.5, 3],
+ [7.8, 3],
+ [8.1, 3],
+ [8.4, 15]
+ ],
+ "id": "sha256:ac4dc22cb8c90330b8c521018cf110ceb6f5524f5b43262f9650776eeba05232"
+ },
+ "comparison": {
+ "metrics": ["local_max", "mae", "rmse", "max"],
+ "pairs": [
+ [0, 0, 0.0, 0.0, 0.0, 0.0],
+ [1, 1, 142.29, 0.05, 3.15, 255.0],
+ [2, 2, 179.88, 0.16, 5.6, 255.0],
+ [3, 3, 141.49, 0.23, 6.5, 255.0],
+ [4, 4, 145.73, 0.3, 7.44, 255.0],
+ [5, 5, 129.0, 0.38, 8.42, 255.0],
+ [6, 6, 136.35, 0.44, 9.17, 255.0],
+ [7, 7, 128.51, 0.44, 9.07, 255.0],
+ [8, 8, 134.2, 0.48, 9.45, 255.0],
+ [9, 9, 186.08, 0.59, 10.56, 255.0],
+ [10, 10, 186.1, 0.69, 11.54, 255.0],
+ [11, 11, 156.69, 0.74, 11.8, 255.0],
+ [12, 12, 161.12, 0.76, 11.88, 255.0],
+ [13, 13, 145.71, 0.84, 12.58, 255.0],
+ [14, 14, 151.18, 0.96, 13.48, 255.0],
+ [15, 15, 166.08, 1.0, 13.8, 255.0],
+ [16, 16, 172.57, 1.0, 13.69, 255.0],
+ [17, 17, 172.57, 1.0, 13.67, 255.0],
+ [18, 18, 172.57, 0.99, 13.66, 255.0],
+ [19, 19, 172.57, 0.98, 13.66, 255.0],
+ [20, 20, 172.57, 1.03, 13.7, 255.0],
+ [21, 21, 172.57, 1.05, 13.84, 255.0],
+ [22, 22, 172.57, 1.05, 13.79, 255.0],
+ [23, 23, 172.57, 1.05, 13.79, 255.0],
+ [24, 24, 172.57, 1.05, 13.78, 255.0],
+ [25, 25, 172.57, 1.07, 13.87, 255.0],
+ [26, 26, 172.57, 1.07, 13.85, 255.0],
+ [27, 27, 172.57, 1.09, 13.95, 255.0],
+ [28, 28, 172.57, 1.07, 13.84, 255.0],
+ [29, 29, 172.57, 1.07, 13.82, 255.0],
+ [30, 30, 172.57, 1.07, 13.81, 255.0],
+ [31, 31, 172.57, 1.07, 13.81, 255.0],
+ [32, 32, 172.57, 1.07, 13.81, 255.0],
+ [33, 33, 172.57, 1.07, 13.81, 255.0],
+ [34, 34, 172.57, 1.07, 13.81, 255.0],
+ [35, 35, 172.57, 1.07, 13.83, 255.0],
+ [36, 36, 172.57, 1.08, 13.83, 255.0],
+ [37, 37, 172.57, 1.08, 13.83, 255.0],
+ [38, 38, 172.57, 1.08, 13.83, 255.0],
+ [39, 39, 172.57, 1.08, 13.83, 255.0],
+ [40, 40, 172.57, 1.08, 13.83, 255.0],
+ [41, 41, 172.57, 1.08, 13.84, 255.0],
+ [42, 42, 172.57, 1.08, 13.84, 255.0],
+ [43, 43, 172.57, 1.08, 13.84, 255.0],
+ [44, 44, 172.57, 1.08, 13.84, 255.0],
+ [45, 45, 172.57, 1.08, 13.84, 255.0],
+ [46, 46, 172.57, 1.08, 13.84, 255.0],
+ [47, 47, 172.57, 1.08, 13.84, 255.0],
+ [48, 48, 172.57, 1.08, 13.84, 255.0],
+ [49, 49, 172.57, 1.08, 13.84, 255.0],
+ [50, 50, 172.57, 1.08, 13.84, 255.0],
+ [51, 51, 172.57, 1.08, 13.84, 255.0],
+ [52, 52, 172.57, 1.08, 13.84, 255.0],
+ [53, 53, 172.57, 1.08, 13.84, 255.0],
+ [54, 54, 172.57, 1.08, 13.84, 255.0],
+ [55, 55, 172.57, 1.08, 13.84, 255.0],
+ [56, 56, 172.57, 1.08, 13.84, 255.0],
+ [57, 57, 172.57, 1.08, 13.84, 255.0],
+ [58, 58, 172.57, 1.08, 13.84, 255.0],
+ [59, 59, 172.57, 1.08, 13.84, 255.0],
+ [60, 60, 172.57, 1.08, 13.84, 255.0],
+ [61, 61, 172.57, 1.08, 13.84, 255.0],
+ [62, 62, 172.57, 1.08, 13.84, 255.0],
+ [63, 63, 172.57, 1.08, 13.84, 255.0],
+ [64, 64, 172.57, 1.08, 13.84, 255.0],
+ [65, 65, 172.57, 1.08, 13.84, 255.0],
+ [66, 66, 172.57, 1.08, 13.84, 255.0],
+ [67, 67, 172.57, 1.08, 13.84, 255.0],
+ [68, 68, 172.57, 1.08, 13.84, 255.0],
+ [69, 69, 172.57, 1.08, 13.84, 255.0],
+ [70, 70, 172.57, 1.08, 13.84, 255.0],
+ [71, 71, 172.57, 1.08, 13.84, 255.0],
+ [72, 72, 172.57, 1.08, 13.84, 255.0],
+ [73, 73, 172.57, 1.08, 13.84, 255.0],
+ [74, 74, 172.57, 1.08, 13.84, 255.0],
+ [75, 75, 172.57, 1.08, 13.84, 255.0],
+ [76, 76, 172.57, 1.08, 13.84, 255.0],
+ [77, 77, 172.57, 1.08, 13.84, 255.0],
+ [78, 78, 172.57, 1.08, 13.84, 255.0],
+ [79, 79, 172.57, 1.08, 13.84, 255.0],
+ [80, 80, 172.57, 1.08, 13.84, 255.0],
+ [81, 81, 172.57, 1.08, 13.84, 255.0],
+ [82, 82, 172.57, 1.08, 13.84, 255.0],
+ [83, 83, 172.57, 1.08, 13.84, 255.0],
+ [84, 84, 172.57, 1.08, 13.84, 255.0],
+ [85, 85, 172.57, 1.08, 13.84, 255.0],
+ [86, 86, 172.57, 1.08, 13.84, 255.0],
+ [87, 87, 172.57, 1.08, 13.84, 255.0],
+ [88, 88, 172.57, 1.08, 13.84, 255.0],
+ [89, 89, 172.57, 1.08, 13.84, 255.0],
+ [90, 90, 172.57, 1.08, 13.84, 255.0],
+ [91, 91, 172.57, 1.08, 13.84, 255.0],
+ [92, 92, 172.57, 1.08, 13.84, 255.0],
+ [93, 93, 172.57, 1.08, 13.84, 255.0],
+ [94, 94, 172.57, 1.08, 13.84, 255.0],
+ [95, 95, 172.57, 1.08, 13.84, 255.0],
+ [96, 96, 172.57, 1.08, 13.84, 255.0],
+ [97, 97, 172.57, 1.08, 13.84, 255.0],
+ [98, 98, 172.57, 1.08, 13.84, 255.0]
+ ],
+ "unpaired": []
+ }
+}
diff --git a/tests/integration/cases/wallis_product_convergence/ce.mkv.sha256 b/tests/integration/cases/wallis_product_convergence/ce.mkv.sha256
new file mode 100644
index 00000000..015d9b3f
--- /dev/null
+++ b/tests/integration/cases/wallis_product_convergence/ce.mkv.sha256
@@ -0,0 +1 @@
+8907e9906186bfb4a457985a30512c868a4363c479fb274e7d1b78136f49d3a1 ce.mkv
diff --git a/tests/integration/cases/wallis_product_convergence/manimgx.mkv.sha256 b/tests/integration/cases/wallis_product_convergence/manimgx.mkv.sha256
new file mode 100644
index 00000000..1db0a999
--- /dev/null
+++ b/tests/integration/cases/wallis_product_convergence/manimgx.mkv.sha256
@@ -0,0 +1 @@
+19ee8d843a2553be3cbfd1af2d8248607eff6eefc6804dcd792446a3e3b61f52 manimgx.mkv
diff --git a/tests/integration/cases/wallis_product_convergence/review.json b/tests/integration/cases/wallis_product_convergence/review.json
new file mode 100644
index 00000000..da4fb10f
--- /dev/null
+++ b/tests/integration/cases/wallis_product_convergence/review.json
@@ -0,0 +1,8 @@
+{
+ "verdict": "working",
+ "note": "",
+ "source": "sha256:33aeade373571fd93564289bfc9e813b86b8b1c2f99f642807e2a65cce0cebf7",
+ "manimgx": "sha256:47bd0ea3fd671343ef505301df175ccf48e1bd93a86bac14893019d1087ef8df",
+ "ce": "sha256:ac4dc22cb8c90330b8c521018cf110ceb6f5524f5b43262f9650776eeba05232",
+ "at": "2026-10-04"
+}
diff --git a/tests/integration/cases/wallis_product_convergence/scene.py b/tests/integration/cases/wallis_product_convergence/scene.py
new file mode 100644
index 00000000..c2fe5dea
--- /dev/null
+++ b/tests/integration/cases/wallis_product_convergence/scene.py
@@ -0,0 +1,59 @@
+import math
+
+import manimgx as m
+
+TERMS = 18
+
+
+class TeacherScene(m.Scene):
+ def construct(self) -> None:
+ title = (
+ m.MathTex(
+ "\\frac{\\pi}{2} = \\frac{2 \\cdot 2}{1 \\cdot 3} \\cdot \\frac{4"
+ " \\cdot 4}{3 \\cdot 5} \\cdot \\frac{6 \\cdot 6}{5 \\cdot 7} \\cdots",
+ )
+ .scale(0.85)
+ .to_edge(m.UP, buff=0.3)
+ )
+ self.play(m.Write(title))
+
+ line = m.NumberLine(
+ x_range=[1.0, 1.8, 0.2],
+ length=11,
+ include_numbers=True,
+ ).move_to(m.DOWN * 0.5)
+ self.add(line)
+
+ target_x = math.pi / 2
+ target = m.DashedLine(
+ line.n2p(target_x) + m.UP * 0.3,
+ line.n2p(target_x) + m.DOWN * 0.3,
+ color=m.YELLOW,
+ stroke_width=3,
+ )
+ target_label = (
+ m.MathTex(
+ "\\pi/2 \\approx 1.5708",
+ color=m.YELLOW,
+ )
+ .scale(0.55)
+ .next_to(target, m.DOWN, buff=0.15)
+ )
+ self.play(m.Create(target), m.Write(target_label))
+
+ product = 1.0
+ prev_pt = None
+ for n in range(1, TERMS + 1):
+ product *= (2 * n) * (2 * n) / ((2 * n - 1) * (2 * n + 1))
+ if not (1.0 <= product <= 1.8):
+ continue
+ pt = line.n2p(product)
+ dot = m.Dot(pt, color=m.GREEN, radius=0.06)
+ anims: list[m.Animation] = [m.FadeIn(dot, scale=0.5)]
+ if prev_pt is not None:
+ anims.append(
+ m.Create(m.Line(prev_pt, pt, color=m.GREEN, stroke_width=1.5)),
+ )
+ self.play(*anims, run_time=0.3)
+ prev_pt = pt
+ self.wait(1.5)