id
string
source
string
tier
int64
scene_name
string
scene_base
string
num_animations
int64
num_lines
int64
has_reasoning
bool
prompt
string
code
string
messages
list
manim-sft-10k_005856
nabin2004/manim-sft-10k
1
NashEquilibriaMixedStrategies
Scene
15
53
false
Subject: Game Theory Topic: Nash Equilibria in Mixed Strategies Question: How does the intersection of best response curves lead us to a Nash equilibrium in a mixed strategy context for continuous games? Title: Finding Balance: Nash Equilibria in Mixed Strategies Narration: [Introduction: 0:00] In the world of str...
from manim import * class NashEquilibriaMixedStrategies(Scene): def construct(self): # Introduction - Element 1: Opening animation with title title = Text("Finding Balance: Nash Equilibria in Mixed Strategies", font_size=32) self.play(Write(title), run_time=1) self.wait(0.5) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
qwen3-8b-manimator-gold-sft_000413
nabin2004/qwen3-8b-manimator-gold-sft
1
SciComputeScene727
VoiceoverScene
4
31
false
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: SymPy Symbolic Derivative and animated derivation steps. ```python from manim import * import numpy as np import sympy as sp class SciComputeScene727(Scene): def construct(self): import sympy as sp ...
from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np import sympy as sp MARGIN = 0.5 class SciComputeScene727(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_wi...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002673
Chimanwakis/manim_animation_dataset
1
LayoutArrayScene0378
Scene
5
39
false
Fix the layout in this Primary 4 animation. The array, labels, and equations are all clustered. Spread the array on the left, equations on the right, keep text inside the frame, and make it about 10 seconds. Current Manim code to improve: from manim import * class ClusteredScene(Scene): def construct(self): ...
from manim import * class LayoutArrayScene0378(Scene): def construct(self): target_duration = 10.0 title_time = target_duration * 0.14 array_time = target_duration * 0.34 equation_time = target_duration * 0.25 summary_time = target_duration * 0.15 hold_time = target_...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
AOS-Manim-SFT_000284
nabin2004/AOS-Manim-SFT
1
GradientFlowScene
Scene
28
77
false
I'm studying deep nets and want to visualize gradient flow through a 10-layer network without batch norm, comparing the gradient magnitudes of layer 1 vs. layer 10. Animate per-layer gradient norms with color-coded bands and slow down when gradients shrink or explode. Include a path showing backpropagation through the ...
from manim import * class GradientFlowScene(Scene): def construct(self): title = Text('Visualizing Gradient Flow in Deep Nets', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) input_layer = VGroup(*[Circle(radius=0.25, color=BLUE, fill_opacity=0.3) f...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_001538
Chimanwakis/manim_animation_dataset
1
MultDivScene0010
Scene
5
21
false
Fix this Manim code for Primary 2; it should correctly show 10 groups of 3 as 10\times3=30 Use classroom example 10. Broken Manim code: from manim import * class BrokenMultDiv10(Scene): def construct(self): title = Text("Equal groups") self.play(Write(title)) self.play(FadeIn(groups))
from manim import * class MultDivScene0010(Scene): def construct(self): title = Text('Equal sharing 10', font_size=32).to_edge(UP) shares = VGroup() for child in range(5): dots = VGroup(*[Circle(radius=0.11, stroke_color=WHITE).set_fill(BLUE, opacity=0.75) for _ in range(4)]) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_005004
nabin2004/manim-sft-10k
1
SocialJusticeLesson
Scene
33
142
false
Create a Manim animation for an 11th grade political science lesson on how social justice addresses economic inequalities. The video should be in 16:9 format and follow this structure: 1. Title slide: Display "Social Justice and Economic Inequality" with a subtitle "Grade 11 Political Science" 2. Question slide: Show...
from manim import * import numpy as np import math class SocialJusticeLesson(Scene): def construct(self): # 1. Setup & Title Slide # Background color is set in config, but we ensure elements contrast against #0f0f0f # Colors TEXT_COLOR = "#d4d4d4" ACCENT_BLUE = "#4a...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_003782
priyanshutomar2024/adaption-unified-manim-instructions
2
RectangleExpansionScene
Scene
4
43
true
Create a Manim animation scene where a blue rectangle dynamically changes its vertical size. Include a gray semi-transparent rectangle (with 50% opacity) positioned behind the blue one as a static reference. Add a DecimalNumber at the top of the screen that continuously updates to display the current height value of th...
from manim import * class RectangleExpansionScene(Scene): def construct(self): # Configuration INITIAL_HEIGHT = 2.0 FINAL_HEIGHT = 5.0 RECT_WIDTH = 3.0 # 1. Value Tracker for Synchronization # Using a ValueTracker ensures the rectangle height and the counter...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002856
priyanshutomar2024/adaption-unified-manim-instructions
2
TripleIntegralEvaluation
Scene
29
99
true
I would like an educational animation that visually demonstrates how to evaluate a triple integral step by step. Start with the integral of r^2 sin(theta) from 0 to 1 with respect to r, then from 0 to pi with respect to theta, and finally from -1 to 1 with respect to z. Guide me through each integration stage with on-s...
from manim import * class TripleIntegralEvaluation(Scene): def construct(self): # --- Configuration & Colors --- color_r = BLUE color_theta = GREEN color_z = YELLOW # --- Step 0: Initial Integral --- title = Text("Evaluating a Triple Integral", font_size=36)...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_001131
nabin2004/manim-sft-10k
1
ApiMathTex493
Scene
1
6
false
Show a minimal Manim CE example that constructs MathTex with valid keyword arguments only. Do not invent kwargs such as element_color, max_value, or max_magnitude.
from manim import * import numpy as np class ApiMathTex493(Scene): def construct(self): mob = MathTex(r"x^2 + y^2 = r^2", color=TEAL) self.play(FadeIn(mob))
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_004820
nabin2004/manim-sft-10k
1
WomenInLeadership
Scene
29
130
false
Create a Manim animation for an 11th-grade Political Science class explaining "Women in Leadership." The video should be in 16:9 format and follow a natural classroom flow. Start with a title screen displaying "Women in Leadership" in large, clear text. Then introduce the question: "What does the term 'women in leader...
from manim import * import numpy as np import random import math class WomenInLeadership(Scene): def construct(self): # Set background color to educational dark theme self.camera.background_color = "#0f0f0f" # --------------------------------------------------------- # Sect...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ry_manim_codegen_000061
RY7Games/ry_manim_codegen
1
AtomScene
Scene
3
31
false
Could you create an educational animation that visually explains how to find the area under the curve of the function f(x) = x^2 from x=1 to x=3, by demonstrating the process of setting up the integral, evaluating it step by step, and concluding with the exact numerical value of the area?
from manim import * class AtomScene(Scene): def construct(self): atom = self.create_atom() electrons = self.create_electron_orbit(atom) self.play(FadeIn(atom)) self.play(AnimationGroup(*[ MoveAlongPath(e, orbit) for e, orbit in electrons ], lag_ratio=0.5)) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_003652
nabin2004/manim-sft-10k
1
PolynucleotideChain
Scene
25
156
false
Create a Manim animation for a high school biology class explaining phosphodiester bonds in polynucleotide chains. The video should be in 16:9 format and follow this structure: First, display the title "Polynucleotide Chain Formation" in large, clear text. Then show the question on screen: "What type of bond links nuc...
from manim import * import numpy as np class PolynucleotideChain(Scene): def construct(self): # --- 1. Title and Intro --- title = Text("Polynucleotide Chain Formation", font_size=42, color="#4a9eff") title.to_edge(UP, buff=0.5) question = Text("What type of bond links nucl...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ritl_repair_00667
ritl_self_repair:spatial_layout_overlap
1
SpectralDecompositionScene
null
null
null
false
I'm an upper-level linear algebra teacher; I want a Manim animation that builds intuition for spectral decomposition of a 3×3 matrix. Show the matrix acting on a field of vectors, with eigenvectors unchanged in direction and scaled by eigenvalues, and then visualize A = PDP^{-1} in a concrete example. Include multiple ...
from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SpectralDecompositionScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002888
Chimanwakis/manim_animation_dataset
1
StrictRectangleScene0593
Scene
5
29
false
The prompt asked for a rectangle fraction bar, but this code uses circles. Rewrite it for Primary 4 so it uses exactly one rectangular bar split into 13 equal parts, shades 11 parts, and lasts about 12 seconds. Current Manim code to improve: from manim import * class WrongVisualScene(Scene): def construct(self): ...
from manim import * class StrictRectangleScene0593(Scene): def construct(self): target_duration = 12.0 intro_time = target_duration * 0.16 bar_time = target_duration * 0.28 shade_time = target_duration * 0.22 label_time = target_duration * 0.18 hold_time = target_dur...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001400
priyanshutomar2024/adaption-unified-manim-instructions
2
TripleIntegralEvaluation
Scene
38
133
true
I would like to make an educational animation demonstrating the steps to evaluate a triple integral, with a specific example of integrating the function xyz over the unit cube where x, y, and z range from 0 to 1. The animation should begin by showing the integral problem, then proceed with a step-by-step explanation st...
from manim import * class TripleIntegralEvaluation(Scene): """ Educational animation demonstrating the step-by-step evaluation of a triple integral. Problem: Integrate f(x, y, z) = xyz over the unit cube [0, 1] x [0, 1] x [0, 1]. """ def construct(self): # --- Colors and Styles --- ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000362
Chimanwakis/manim_animation_dataset
1
FractionScene0426
Scene
4
15
false
Fix this Primary 5 Manim code that tries to show add \frac{2}{8} and \frac{3}{8} labelled \frac{2}{8}+\frac{3}{8} Use classroom activity 426. Broken Manim code: from manim import * class BrokenScene426(Scene): def construct(self): label = MathTex(r"\frac{2}{8}+\frac{3}{8}") label.move_to_edge(UP) ...
from manim import * class FractionScene0426(Scene): def construct(self): title = Text('Add fractions 426', font_size=32).to_edge(UP) steps = VGroup( MathTex(r"\frac{2}{8}+\frac{3}{8}", font_size=40), MathTex(r"\frac{2+3}{8}", font_size=40), MathTex(r"\frac{5}{8}", font_size=40) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_003756
Chimanwakis/manim_animation_dataset
1
RealLogRepairScene0117
Scene
5
32
false
The model output below failed to fully follow the original request. Rewrite it so it follows the request exactly. Return only the corrected final answer. Original user request: Create a 30-second Manim animation expanding 6,431 into 6,000 + 400 + 30 + 1. Show a place value table first, then move each digit into the ex...
from manim import * class RealLogRepairScene0117(Scene): def construct(self): target_duration = 30.0 title_time = target_duration * 0.14 table_time = target_duration * 0.36 equation_time = target_duration * 0.25 hold_time = target_duration - title_time - table_time - equatio...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000188
priyanshutomar2024/adaption-unified-manim-instructions
2
NumberLineAnimation
Scene
5
24
true
I would like to create an animation that shows a horizontal number line with numbers ranging from -5 to 5. On this number line, there should be a pointer that starts at the center position, marked as 0. First, the pointer should move to the right and stop at the number 4. Then, it should move to the left and stop at th...
from manim import * class NumberLineAnimation(Scene): def construct(self): # Create a horizontal number line ranging from -5 to 5 number_line = NumberLine( x_range=[-5, 5, 1], # Range from -5 to 5 with step size 1 length=10, # Total length of the line in scene uni...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_006780
priyanshutomar2024/adaption-unified-manim-instructions
2
AreaUnderParabola
Scene
16
60
true
I would like to create an educational animation that visually demonstrates how one can calculate the area under a parabola. The graph should be of the function f(x) = x^2, and the specific area from x = -2 to x = 2 needs to be shaded to represent the area being calculated. Initially, a blue curve represents the functio...
from manim import * class AreaUnderParabola(Scene): def construct(self): # ------------------------------------------------------------------ # 1. INITIAL STATE # ------------------------------------------------------------------ # Create a clean coordinate system focused on the rel...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000375
priyanshutomar2024/adaption-unified-manim-instructions
2
TaylorSeriesExponential
Scene
19
91
true
Could you create an educational animation using ManimCE that explains the Taylor Series approximation of the exponential function e^x? I'd like to see the function f(x) = e^x first, then transform it into the general form of the Taylor Series. After that, please visually demonstrate the zeroth, first, and second approx...
from manim import * import numpy as np class TaylorSeriesExponential(Scene): """ Educational animation demonstrating the Taylor Series approximation of e^x. This scene visualizes how partial sums of the Maclaurin Series converge to the exponential function as more terms are added. """ def cons...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002162
priyanshutomar2024/adaption-unified-manim-instructions
2
LigatureDisabling
Scene
3
19
true
Create a Manim animation scene that visually demonstrates the effect of disabling ligatures in text. The scene should display two lines of text: the top line shows "fl ligature" with default ligatures enabled, and the bottom line shows the same text with ligatures explicitly disabled. Both texts should be sized at 96 f...
from manim import * class LigatureDisabling(Scene): def construct(self): # The phrase to be rendered phrase = "fl ligature" # Top Line: Ligatures Enabled (Default behavior) text_ligatures_on = Text( phrase, font_size=96 ) # Bottom Li...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001001
priyanshutomar2024/adaption-unified-manim-instructions
2
DoubleIntegralEvaluation
Scene
16
60
true
I would like to create an educational animation that visually explains how to evaluate a double integral step by step. The double integral I want to focus on is the integration of (x^2 + y^2) over the region bounded by y=-1 to y=1 and x=0 to x=1. The animation should first display the integral, then show the integratio...
from manim import * class DoubleIntegralEvaluation(Scene): def construct(self): # Configure global settings for clarity self.camera.background_color = "#1e1e1e" # Dark background for contrast highlight_color = YELLOW secondary_color = BLUE # =======================...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
bespoke-manim_000059
bespokelabs/bespoke-manim
1
LucasLehmerTest
Scene
25
66
true
Create an educational ManimCE animation on 'Lucas-Lehmer Test for Primes' (Decoding the Magic of the Lucas-Lehmer Test): Why does excluding non-Mersenne numbers from the Lucas-Lehmer test result in inaccuracies or breakdowns at certain stages? Visual style guidance: Visuals should emulate a clean and simple academic ch...
from manim import * class LucasLehmerTest(Scene): def construct(self): # Title title = Text("Decoding the Magic of the Lucas-Lehmer Test", font_size=32) self.play(Write(title)) self.wait(1) self.play(title.animate.to_edge(UP)) # Introduction to Mersenne Prim...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
AOS-Manim-SFT_000267
nabin2004/AOS-Manim-SFT
1
CharacterLevelPrediction
Scene
57
136
false
I'm studying character-level predictors and want intuition for common transitions. Produce a word cloud of the most frequent predicted character transitions observed on the validation set. Make the size reflect frequency, arrange in an aesthetically pleasing cloud, and animate a rotation of the clouds as frequencies up...
from manim import * class CharacterLevelPrediction(Scene): def construct(self): title = Text('Character Level Prediction', font_size=48, color=BLUE) subtitle = Text('Analyzing Text One Character at a Time', font_size=24, color=GRAY) subtitle.next_to(title, DOWN, buff=0.5) self.play...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_003640
Chimanwakis/manim_animation_dataset
1
VisualMathCorrectedScene0963
Scene
5
35
false
The code renders, but the maths visual is wrong for \frac{3}{21}. Fix the visual so exactly 3 out of 21 equal parts are shaded, preserve frame-safe layout, and return complete Manim code only. Current Manim code or error to fix: from manim import * class WrongButRenderingScene(Scene): def construct(self): ...
from manim import * class VisualMathCorrectedScene0963(Scene): def construct(self): target_duration = 8.0 title_time = target_duration * 0.14 model_time = target_duration * 0.34 shade_time = target_duration * 0.20 label_time = target_duration * 0.18 hold_time = targe...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_004580
nabin2004/manim-sft-10k
1
SacrificingRatioCalculation
Scene
49
148
false
Create a Manim animation for an accountancy lesson on calculating sacrificing ratio in partnership. The video should be in 16:9 format and follow this structure: OPENING SCENE: Display the title "Sacrificing Ratio in Partnership" at the top. Below it, show a brief definition: "The proportion in which existing partners...
from manim import * import numpy as np class SacrificingRatioCalculation(Scene): def construct(self): # Color Palette COLOR_BG = "#0f0f0f" COLOR_TEXT = "#d4d4d4" COLOR_VIJAY = "#4a9eff" # Blue accent COLOR_SANJAY = "#6ba76e" # Green accent COLOR_HIGHLIGHT = "#e8945e...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_007673
priyanshutomar2024/adaption-unified-manim-instructions
2
IntegrateSinCos
Scene
19
45
true
Please create an educational animation that visualizes the process of integrating the function sin(x)cos(x) with respect to x. Start by showing the integral of sin(x)cos(x), then introduce the trigonometric identity that sin(2x) is equal to 2sin(x)cos(x), and use it to rewrite the integral. Perform the integration and ...
from manim import * class IntegrateSinCos(Scene): def construct(self): # ===================================================================== # Step 1: Initial Display # Show the integral expression: ∫ sin(x)cos(x) dx # ==============================================================...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_004587
Chimanwakis/manim_animation_dataset
1
RuntimeRepairScene0189
Scene
5
22
false
Repair this failed Manim code for Primary 4. The corrected animation must teach rounding 4,672 to the nearest hundred, avoid undefined variables and invalid operations, and render in Manim Community Edition. Return only complete corrected code. Use a simple context of farm produce crates. Broken Manim code and error m...
from manim import * class RuntimeRepairScene0189(Scene): def construct(self): target_duration = 20.0 title_time = target_duration * 0.14 model_time = target_duration * 0.42 equation_time = target_duration * 0.26 hold_time = target_duration - title_time - model_time - equatio...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001118
priyanshutomar2024/adaption-unified-manim-instructions
2
RotateVGroupScene
Scene
2
12
true
Rotate the VGroup by 45 degrees clockwise over 1.5 seconds.
from manim import * class RotateVGroupScene(Scene): def construct(self): # Initialize your VGroup here vgroup = VGroup(Square(), Circle().shift(RIGHT * 2)) self.add(vgroup) # Rotate 45 degrees clockwise over 1.5 seconds self.play( Rotate( vgroup,...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_004335
priyanshutomar2024/adaption-unified-manim-instructions
2
WaveEquationExplanation
Scene
10
45
true
I would like to create an educational animation that explains the one-dimensional wave equation and its solutions. Can you show the wave equation first, followed by a textual explanation saying "This is the one-dimensional wave equation"? After that, replace the wave equation with its general solution and change the ex...
from manim import * class WaveEquationExplanation(Scene): def construct(self): # --- Step 1: Display the Wave Equation --- wave_equation = MathTex( r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}" ).scale(1.5) text_1 = Text( ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_003334
Chimanwakis/manim_animation_dataset
1
EquationFormatScene0539
Scene
5
29
false
Rewrite this Primary 5 multiplication animation for 26 x 4. Use MathTex for equations, stack the equations vertically, align them neatly, and prevent long equations from overlapping. Current Manim code or error to fix: from manim import * class BrokenScene(Scene): def construct(self): label = MathTex(r"\f...
from manim import * class EquationFormatScene0539(Scene): def construct(self): target_duration = 25.0 title_time = target_duration * 0.14 model_time = target_duration * 0.26 equation_time = target_duration * 0.42 hold_time = target_duration - title_time - model_time - equati...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_001741
nabin2004/manim-sft-10k
1
EnhancedShapeTransformation
Scene
8
29
false
Here’s an enhanced version of the animation that retains the original features while adding significant new elements: The animation begins by drawing a **blue rectangle** with a width of 4 and height of 2, positioned at (1, 1) as in the original script. However, the rectangle now smoothly transforms into a **golden ...
from manim import * class EnhancedShapeTransformation(Scene): def construct(self): # Create the initial rectangle rect = Rectangle(width=4, height=2, color=BLUE).move_to([1, 1, 0]) self.play(Create(rect)) self.wait(0.5) # Add perimeter preservation text perimeter_te...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_007774
priyanshutomar2024/adaption-unified-manim-instructions
2
ChemistryVisualization
Scene
5
86
true
Can you create an educational chemistry animation that shows different chemical entities? I would like to see an individual electron, an oxygen molecule, a generic metal atom, both a positive ion and a negative ion, and then grids made of metal oxide, lithium, and carbon. Arrange the single entities above each other, a...
from manim import * class ChemistryVisualization(Scene): def construct(self): # --- Configuration & Colors --- COLOR_OXYGEN = RED COLOR_METAL = GREY COLOR_LITHIUM = SILVER COLOR_CARBON = DARK_GREY COLOR_ELECTRON = BLUE COLOR_POS_ION = ORANGE COLOR_NEG...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_004531
priyanshutomar2024/adaption-unified-manim-instructions
2
IntegralCalculation
Scene
12
27
true
I would like to see an animated explanation of how to calculate the definite integral of x^3 from 0 to 2, with each step of the process displayed, including the use of the power rule for integration, the evaluation of the integral at the boundaries, and the final simplified answer. Can you also make sure to pause brief...
from manim import * class IntegralCalculation(Scene): def construct(self): # Step 1: Setting up the integral: ∫₀² x³ dx # Define the initial integral expression and position it at the top step1 = MathTex(r"\int_{0}^{2} x^3 \, dx") step1.to_edge(UP) self.play(Write(s...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001785
priyanshutomar2024/adaption-unified-manim-instructions
2
IntegrationByParts
Scene
19
62
true
Could you create an educational animation that illustrates the process of solving an integration by parts problem, specifically integrating the function x times e to the power of x? I would like the animation to first display the problem, then show the steps for setting 'u' and 'dv', followed by an explanation of the i...
from manim import * class IntegrationByParts(Scene): def construct(self): # Define consistent colors for visual tracking of variables COLOR_U = BLUE COLOR_DV = RED COLOR_C = YELLOW # ------------------------------------------------------------------ # Step 1: Displa...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_003151
priyanshutomar2024/adaption-unified-manim-instructions
2
EarthOrbitAnimation
Scene
5
37
true
Could you create an educational animation using ManimCE that depicts the Earth orbiting around the Sun to illustrate planetary motion, with the Sun being larger and placed to the left, and the Earth smaller and blue, placed to the right? The animation should fade in both the Sun and the Earth, include a descriptive tex...
from manim import * class EarthOrbitAnimation(Scene): def construct(self): # --- Configuration Parameters --- sun_radius = 1.0 earth_radius = 0.3 orbit_width = 6.0 orbit_height = 4.0 # --- Object Creation --- # Sun: Large yellow circle posit...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_008747
priyanshutomar2024/adaption-unified-manim-instructions
2
PerceptronAnimation
Scene
8
53
true
Could you create an educational animation that illustrates a simple perceptron with three input neurons and one output neuron, including the connections between them, and label the input neurons as x1, x2, x3 and the output neuron as y? Also, please use individual animations to show the formation of the neuron connecti...
from manim import * class PerceptronAnimation(Scene): def construct(self): # Title title = Text("Simple Perceptron", font_size=36) title.to_edge(UP) self.play(Write(title)) # Define positions for neurons # Inputs aligned vertically on the left input_position...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_000711
nabin2004/manim-sft-10k
1
PolicyGradientIntro
Scene
9
33
false
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
from manim import * from manim import config Text.set_default(font='SimHei') class PolicyGradientIntro(Scene): def construct(self): title = Text('Introduction to Policy Gradient Methods', font_size=40, weight=BOLD) subtitle = Text('Basic Forms of Parametrized Policies', font_size=30, color=BLUE) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002839
priyanshutomar2024/adaption-unified-manim-instructions
2
CNNVisualization
ThreeDScene
32
143
true
I want to create an animation that visually demonstrates the structure and functionality of a convolutional neural network with ManimCE. Can you show me step by step how the network is built using animated layers, including convolutional layers with different numbers of feature maps and sizes, a flattening layer, and s...
from manim import * import numpy as np class CNNVisualization(ThreeDScene): def construct(self): # ===================================================================== # 1. Scene Setup & Camera Configuration # ===================================================================== # ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_005812
nabin2004/manim-sft-10k
1
Tex642
Scene
1
6
false
Create a Manim CE scene that typesets "sum from i equals 1 to n" with MathTex. Use LaTeX subscripts/superscripts (for example w_1), never Unicode characters such as ₁.
from manim import * import numpy as np class Tex642(Scene): def construct(self): label = MathTex(r"\sum_{i=1}^{n}", color=RED) self.play(Write(label))
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_000032
nabin2004/manim-sft-10k
1
ApiAxes73
Scene
1
6
false
Show a minimal Manim CE example that constructs Axes with valid keyword arguments only. Do not invent kwargs such as element_color, max_value, or max_magnitude.
from manim import * import numpy as np class ApiAxes73(Scene): def construct(self): mob = Axes(x_range=[-2, 2, 1], y_range=[-2, 2, 1], tips=False) self.play(FadeIn(mob))
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-finetune-data_000093
mistral-hackaton-2026/manim-finetune-data
2
AlgebraicTopology
Scene
8
19
false
Create a visualization explaining the concept of algebraic topology and its invariants using Manim.
from manim import * class AlgebraicTopology(Scene): def construct(self): # Title title = Text("Algebraic Topology and Invariants").scale(0.8) title.move_to(3 * UP) self.play(Write(title)) self.wait(1) # Introduction intro_text = Text("Visualizing Homology an...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_005085
nabin2004/manim-sft-10k
1
CantorDiagonalArgument
Scene
25
86
false
How can we visualize the structure and cardinality of the continuum using Cantor's diagonal argument?
from manim import * class CantorDiagonalArgument(Scene): def construct(self): # Title title = Text("Cantor's Diagonal Argument", font_size=40) subtitle = Text("Countable vs. Uncountable Infinity", font_size=32) subtitle.next_to(title, DOWN) # Simple ocean visual (re...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002552
priyanshutomar2024/adaption-unified-manim-instructions
2
ElectromagneticAnimation
Scene
16
72
true
Can you create an educational animation using Manim that first shows a magnet with its north pole colored red and south pole colored blue, then displays its magnetic field lines flowing from the north pole to the south pole in a semi-circular pattern? After that, can you animate a separate scene where multiple electron...
from manim import * class ElectromagneticAnimation(Scene): def construct(self): # ========================================== # Scene 1: Magnetic Field Visualization # ========================================== # 1. Create the Magnet # North pole (Red) and South pole...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_005103
Chimanwakis/manim_animation_dataset
1
SafeGenerationScene0747
Scene
5
42
false
Create a Manim Community Edition animation for Primary 2 pupils teaching place value for 47. Use only valid built-in Manim animations such as Create, FadeIn, Write, and LaggedStart. Do not use fake helpers like DropInEffect, DrawChars, or arrange_clockwise. Keep everything inside the frame and make it about 18 seconds ...
from manim import * class SafeGenerationScene0747(Scene): def construct(self): target_duration = 18.0 title_time = target_duration * 0.14 model_time = target_duration * 0.42 equation_time = target_duration * 0.26 hold_time = target_duration - title_time - model_time - equati...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000046
Chimanwakis/manim_animation_dataset
1
FractionScene0053
Scene
4
15
false
Create a Primary 5 Manim scene showing the mixed number 1 \frac{1}{2} with one whole bar and one half bar. Input: Basic Fractions: mixed number 1 1/2
from manim import * class FractionScene0053(Scene): def construct(self): title = Text('Mixed number', font_size=33).to_edge(UP) steps = VGroup( MathTex(r"1\frac{1}{2}", font_size=42), Text('1 whole and 1 half', font_size=27), MathTex(r"1\frac{1}{2}=\frac{3}{2}", font_size=42) ).arrange(DOWN, aligned_edg...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_001140
Chimanwakis/manim_animation_dataset
1
PlaceValueScene0443
Scene
4
23
false
Convert this Primary 6 storyboard into Manim code for place value in 1,200,000,000,000 Use classroom example 443. Storyboard: 1. Show the number 1,200,000,000,000. 2. Separate the number into groups of three digits with commas. 3. Name the millions, billions, or trillions group. 4. Show the expanded form 1,000,000,000...
from manim import * class PlaceValueScene0443(Scene): def construct(self): title = Text('Millions billions trillions 443', font_size=32).to_edge(UP) if title.width > 7: title.scale_to_fit_width(7) steps = VGroup( Text('1,200,000,000,000', font_size=28), Text('Expa...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_006635
nabin2004/manim-sft-10k
1
Tex397
Scene
1
6
false
Create a Manim CE scene that typesets "delta x" with MathTex. Use LaTeX subscripts/superscripts (for example w_1), never Unicode characters such as ₁.
from manim import * import numpy as np class Tex397(Scene): def construct(self): label = MathTex(r"\Delta x", color=ORANGE) self.play(Write(label))
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001131
priyanshutomar2024/adaption-unified-manim-instructions
2
SquareAnimation
Scene
6
12
true
"I'd like to create an animation where a red square appears on the screen and then moves to the right side over two seconds. After it stops, I want the square to change its color to blue in one second. Next, I'd like the square to follow a circular path, as if it's traveling around the circumference of an invisible cir...
from manim import * class SquareAnimation(Scene): def construct(self): # 1. Appearance: Create a red square and make it appear square = Square(color=RED) self.play(Create(square)) # 2. Translation: Move the square to the right over exactly 2 seconds self.play(square.animate...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_006899
priyanshutomar2024/adaption-unified-manim-instructions
2
TripleIntegralExplanation
ThreeDScene
29
121
true
Can you create an animation that visually explains the process of solving a triple integral, specifically integrating the function xyz over the unit cube [0,1]³ with respect to x, then y, and lastly z, including step-by-step explanations for each integration stage?
from manim import * class TripleIntegralExplanation(ThreeDScene): def construct(self): # --- 1. Camera and Geometric Setup --- self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES) axes = ThreeDAxes( x_range=[0, 1.5, 1], y_range=[0, 1.5, 1], ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_007582
priyanshutomar2024/adaption-unified-manim-instructions
2
DefiniteIntegralQuadratic
Scene
24
78
true
Can you create an educational animation that shows me how to calculate the definite integral of a quadratic function, specifically the integral of x squared from 1 to 2, with a step-by-step explanation including the power rule of integration and how to evaluate the integral at the given bounds?
from manim import * class DefiniteIntegralQuadratic(Scene): def construct(self): # ------------------------------------------------------------------ # PEDAGOGICAL OVERVIEW # This scene visualizes the calculation of the definite integral of # f(x) = x^2 from x=1 to x=2. It breaks d...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
qwen3-8b-manimator-gold-sft_000225
nabin2004/qwen3-8b-manimator-gold-sft
1
OrbitalMechanicsScene2
VoiceoverScene
3
33
false
Create an interactive Manim CE animation demonstrating: Orbital mechanics simulation using add_updater with dt. Use updaters and ValueTracker. ```python from manim import * import numpy as np class DynamicScene188(Scene): def construct(self): sun = Dot(ORIGIN, radius=0.25, color=GOLD) planet = Dot...
from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class OrbitalMechanicsScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_004750
Chimanwakis/manim_animation_dataset
1
VisualMathRepairScene0394
Scene
5
42
false
The code below may render, but the visual or maths does not fully follow the request. Rewrite it for Primary 2 so it correctly teaches place value for 47. Use exact object counts, clear spacing, readable labels, and explicit run_time values. Return code only. Use a simple context of pupils lining up. Broken or weak Ma...
from manim import * class VisualMathRepairScene0394(Scene): def construct(self): target_duration = 12.0 title_time = target_duration * 0.14 model_time = target_duration * 0.42 equation_time = target_duration * 0.26 hold_time = target_duration - title_time - model_time - equa...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002621
Chimanwakis/manim_animation_dataset
1
LayoutPlaceValueScene0326
Scene
6
39
false
Repair this Primary 2 Manim scene. The place value labels are clustered and hard to read. Use four clear columns, scale long text to fit inside the frame, and keep the animation about 5 seconds. Current Manim code to improve: from manim import * class ClusteredScene(Scene): def construct(self): title = Te...
from manim import * class LayoutPlaceValueScene0326(Scene): def construct(self): target_duration = 5.0 title_time = target_duration * 0.15 chart_time = target_duration * 0.30 digit_time = target_duration * 0.25 equation_time = target_duration * 0.18 hold_time = targe...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000003
Chimanwakis/manim_animation_dataset
1
FractionScene0003
Scene
4
13
false
Create a short Primary 2 animation comparing equal parts and unequal parts with rectangles. Input: Basic Fractions: equal and unequal parts
from manim import * class FractionScene0003(Scene): def construct(self): title = Text("Equal and unequal parts", font_size=34).to_edge(UP) equal = VGroup(Rectangle(width=1.4, height=0.8), Rectangle(width=1.4, height=0.8)).arrange(RIGHT, buff=0) unequal = VGroup(Rectangle(width=1.0, height=0.8), Rectangle(width=1...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_003366
nabin2004/manim-sft-10k
1
SurfaceIntegralExample
Scene
18
30
false
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'max_value' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class SurfaceIntegralExampl...
from manim import * class SurfaceIntegralExample(Scene): def construct(self): # Displaying the problem problem = MathTex(r"\iint_S (x^2+y^2) \, dS") self.play(Write(problem)) self.wait(1) # Explanation for parameterization explanation1 = Text("Parameterize surface S...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
AOS-Manim-SFT_000037
nabin2004/AOS-Manim-SFT
1
GeometricIntuitionForEigenvectors
Scene
46
96
false
I'm learning undergrad linear algebra and want a visual that builds geometric intuition for eigenvectors and eigenvalues. Show a general 2×2 matrix acting on a colored grid and vector field, then highlight the eigen-directions where vectors simply scale. Animate powers of the matrix to illustrate repeated application a...
from manim import * class GeometricIntuitionForEigenvectors(Scene): def construct(self): title = Text('Geometric Intuition for Eigenvectors', font_size=36) title.to_edge(UP) self.play(Write(title), run_time=2.0) self.wait(0.5) self.play(FadeOut(title)) plane = Numbe...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002566
priyanshutomar2024/adaption-unified-manim-instructions
2
ODESolutionScene
Scene
18
35
true
I would like to create an educational animation that explains a third-order ordinary differential equation and its solution process. The animation should start by displaying the differential equation "y''' - 3y'' + 3y' - y = 0". Then, it should introduce the concept of the characteristic equation with a title and show ...
from manim import * class ODESolutionScene(Scene): def construct(self): # Step 1: Introduction # Display the differential equation ode = MathTex(r"y''' - 3y'' + 3y' - y = 0") ode.scale(1.2) self.play(Write(ode)) self.wait(2) # Step 2: Characteristic...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_005007
Chimanwakis/manim_animation_dataset
1
FontRepairScene0651
Scene
4
14
false
Increase the font sizes so all text is readable on screen. Keep the scene structure, positions, colors, object order, and timing the same unless scaling is needed to keep text inside the frame. Return only corrected Manim code. Context: 28 / 7 using exactly 7 equal groups of 4 dots. Use a simple context of notebooks in...
from manim import * class FontRepairScene0651(Scene): def construct(self): title = Text("Small text", font_size=34).to_edge(UP) note = Text("This label is hard to read", font_size=28).move_to(ORIGIN) answer = Text("Final answer", font_size=30).to_edge(DOWN) if note.width > 7.2: ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002739
priyanshutomar2024/adaption-unified-manim-instructions
2
AtomAnimation
Scene
9
38
true
I would like to create an educational animation that visually represents the simplified structure of an atom. Can you make an animation with a red nucleus labeled with the letter "N" at its center, surrounded by three electrons that orbit around it? The electrons should appear from thin air and then start moving in cir...
from manim import * class AtomAnimation(Scene): def construct(self): # --- Visual Elements --- # 1. Nucleus: Red circle at center labeled "N" nucleus = VGroup( Circle(radius=0.4, color=RED, fill_opacity=1), Text("N", color=WHITE, font_size=28) ) nucl...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_003587
nabin2004/manim-sft-10k
1
BifurcationScene
Scene
33
55
false
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'max_magnitude' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class BifurcationScene(...
from manim import * class BifurcationScene(Scene): def construct(self): # Title of the animation title = Text("The Dance of Dynamics: Unraveling Bifurcations", font_size=32) self.play(Write(title)) self.wait(1) self.play(title.animate.to_edge(UP)) # Part 1: ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002164
priyanshutomar2024/adaption-unified-manim-instructions
2
GridAndHexPath
Scene
7
37
true
Can you create an educational animation for me where the first part shows a simple 5 by 5 grid made with squares, centered on the screen, and the second part displays a red dot traveling along a complex, hexagonal path defined by straight blue lines connecting UP, UP+RIGHT, DOWN+RIGHT, DOWN, DOWN+LEFT, UP+LEFT, and ret...
from manim import * import numpy as np class GridAndHexPath(Scene): def construct(self): # ========================================== # Part 1: 5x5 Grid of Squares # ========================================== grid_group = VGroup() square_size = 1.0 # Generat...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_002774
nabin2004/manim-sft-10k
1
UncertaintyInGameTheory
Scene
28
56
false
What is the impact of introducing uncertainty in payoff values on Nash equilibria in mixed strategy games?
from manim import * class UncertaintyInGameTheory(Scene): def construct(self): # Title title = Text("Uncertainty in Game Theory") subtitle = Text("The Ripple Effect on Nash Equilibria").next_to(title, DOWN) self.play(Write(title)) self.play(Write(subtitle)) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_000738
nabin2004/manim-sft-10k
1
EnhancedFractionEquivalence
Scene
21
114
false
Here's an enhanced version of the animation that maintains all original features while adding significant new elements: The enhanced animation begins by displaying the three fractions (4/8, 1/2, and 5/10) arranged horizontally, then introduces the first transformation with curved arrows connecting numerator and denomi...
from manim import * class EnhancedFractionEquivalence(Scene): def construct(self): # Colors BLUE_BACKGROUND = "#e6f2ff" PURPLE_BACKGROUND = "#f0e6ff" # Create initial fractions frac1 = MathTex("\\frac{4}{8}").scale(2) frac2 = MathTex("\\frac{1}{2}").scale(2)...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_000901
nabin2004/manim-sft-10k
1
SociologySocialIdentity
Scene
35
124
false
Create a Manim animation for a 12th grade Advanced Sociology lesson on social identity and its sociological study. The video should be in 16:9 format and follow this structure: 1. Title screen: Display "Social Identity in Sociology" with a clean, academic font. Hold for 2 seconds. 2. Introduction section: Show the de...
from manim import * import numpy as np import random import math class SociologySocialIdentity(Scene): def construct(self): # 1. Title Screen # ----------------------------------------------- title = Text("Social Identity in Sociology", font_size=54, color="#4a9eff") title.move_to(O...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_006884
priyanshutomar2024/adaption-unified-manim-instructions
2
MontyHallVisualization
Scene
9
43
true
I would like to create an animation for a math class where we are discussing probability theory, specifically the Monty Hall Problem. In the animation, can you show three doors side by side with one randomly having a car behind it and the other two having goats? I'd also like a description at the top stating, "One of t...
from manim import * import random class MontyHallVisualization(Scene): def construct(self): # Requirement 3: Text Description with exact text description = Text( "One of these doors has a car behind it, and the others have goats.", font_size=30 ).to_edge(UP) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ritl_repair_00497
ritl_self_repair:spatial_layout_overlap
1
SafetyMonitoringScene
null
null
null
false
I'm teaching a graduate course on autonomous safety systems. Build a visualization of a safety monitor for driving: fusion of radar/LiDAR/camera, anomaly detection, and a real-time alert state machine, with a simulated road scene and failure modes.
from manim import * class SafetyMonitoringScene(Scene): def construct(self): title = Text('Safety Monitoring in Autonomous Systems', font_size=36) subtitle = Text('Ensuring Reliability and Trust in AI', font_size=24, color=BLUE) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3)...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002589
Chimanwakis/manim_animation_dataset
1
FixedDurationArrayScene0294
Scene
5
39
false
Fix this Manim code for Primary 5. It should show 7 x 6 with an array, but all animations finish too fast. Make it about 20 seconds and include a clearly paced repeated-addition equation. Current Manim code to improve: from manim import * class TooFastScene(Scene): def construct(self): title = Text("7 x 6...
from manim import * class FixedDurationArrayScene0294(Scene): def construct(self): target_duration = 20.0 title_time = target_duration * 0.14 array_time = target_duration * 0.34 equation_time = target_duration * 0.25 summary_time = target_duration * 0.15 hold_time = ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_006030
nabin2004/manim-sft-10k
1
ApiRightAngle669
Scene
1
6
false
Show a minimal Manim CE example that constructs RightAngle with valid keyword arguments only. Do not invent kwargs such as element_color, max_value, or max_magnitude.
from manim import * import numpy as np class ApiRightAngle669(Scene): def construct(self): mob = RightAngle(Line(ORIGIN, RIGHT), Line(ORIGIN, UP), length=0.3) self.play(FadeIn(mob))
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ManimBench-v1_000279
SuienR/ManimBench-v1
1
ChangedDefaultTextcolor
Scene
1
7
false
Display the text “Changing default values is easy!” in black on a white background. The text uses a modified default color setting for `Text` objects, which is temporarily changed to black for this scene and then reset to white afterward.
from manim import * config.background_color = WHITE class ChangedDefaultTextcolor(Scene): def construct(self): Text.set_default(color=BLACK) self.add(Text("Changing default values is easy!")) # we revert the colour back to the default to prevent a bug in the docs. Text.set_default...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_004652
nabin2004/manim-sft-10k
1
DriverStructure
Scene
7
27
false
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
from manim import * from manim import config Text.set_default(font='SimHei') class DriverStructure(Scene): def construct(self): context_title = Text('Device Management and Driver Model', font_size=32, weight=BOLD) context_title.to_edge(UP, buff=0.4) context_subtitle = Text('Device Driver M...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ry_manim_codegen_000214
RY7Games/ry_manim_codegen
1
ChemicalReaction
Scene
7
13
false
Can you create an educational animation that visually introduces the one-dimensional wave equation, shows its mathematical representation, provides a verbal explanation followed by its general solution in a format that is easy to understand, and finally discusses the concept of specific solutions influenced by initial ...
from manim import * class ChemicalReaction(Scene): def construct(self): reactant1 = electron() reactant2 = oxygen() product = metal_oxid(2, 3) self.play(FadeIn(reactant1)) self.wait(0.5) self.play(Transform(reactant1, reactant2)) self.wait(0.5) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ritl_repair_01144
ritl_self_repair:spatial_layout_overlap
1
BiodiversityScene
null
null
null
false
Create a 16:9 Manim animation for a 6th grade science class on Biodiversity and Adaptations. The video should have a natural classroom flow: Start with a title slide displaying "Adaptations and Biodiversity" in large, clear text. Add a simple nature background with trees and water to set context. Next, display the le...
from manim import * import numpy as np import math import random class BiodiversityScene(Scene): def construct(self): # --- CONFIGURATION --- # Dark background is default, but we will add a stylized nature backdrop # that preserves contrast for light text. self.camera.background_col...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_005638
priyanshutomar2024/adaption-unified-manim-instructions
2
PSeriesConvergence
Scene
19
47
true
Could you create an educational animation that visually explains the convergence of the series sum from n equals 1 to infinity of 1 over n squared using the p-test? The animation should introduce the series, explain how to use the p-test for convergence by displaying a condition, apply the p-test to show that the serie...
from manim import * class PSeriesConvergence(Scene): def construct(self): # --- Step 1: Introduction --- # Display the series expression intro_text = Text("Consider the following infinite series:", font_size=36) series_expr = MathTex(r"\sum_{n=1}^{\infty} \frac{1}{n^2}", font_size=6...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
qwen3-8b-manimator-gold-sft_000645
nabin2004/qwen3-8b-manimator-gold-sft
1
SpectralTheorem2x2Scene
VoiceoverScene
4
32
false
I want a visual explanation of the spectral theorem for a 2x2 symmetric matrix. Animate the unit circle under the linear map to an ellipse whose principal axes are the eigenvectors, with the eigenvalues as scaling along those axes. Show the decomposition of an arbitrary vector into the eigenbasis and how applying the m...
from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SpectralTheorem2x2Scene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT 1 |...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_003133
nabin2004/manim-sft-10k
1
TextAnimations
Scene
6
15
false
Can you create an educational animation that visually explains how to find the area under the curve of f(x) = x^2 from x=0 to x=2, including the integration steps and the final solution?
from manim import * class TextAnimations(Scene): def construct(self): title = Text("Writing Text Animation").to_edge(UP) self.play(Write(title)) paragraph = Text( "Manim makes elaborate animations with text " "quite straightforward to program!" ).sca...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002783
Chimanwakis/manim_animation_dataset
1
ReadableMultDivScene0488
Scene
4
29
false
Rewrite this Primary 4 Manim animation so the text is not tiny. Use font sizes around 30-36, place each line in a readable vertical stack, and pace the scene for about 15 seconds. Current Manim code to improve: from manim import * class ClusteredScene(Scene): def construct(self): title = Text("Tiny multip...
from manim import * class ReadableMultDivScene0488(Scene): def construct(self): target_duration = 15.0 title_time = target_duration * 0.16 body_time = target_duration * 0.46 answer_time = target_duration * 0.20 hold_time = target_duration - title_time - body_time - answer_ti...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_006813
nabin2004/manim-sft-10k
1
EnhancedCNNAnimation
Scene
34
158
false
Here is the enhanced animation instruction that builds upon the original while adding significant new features: The enhanced animation will begin by creating the convolutional neural network as in the original, with the sequence of convolutional and pooling layers appearing one by one, but will then dynamically demons...
from manim import * import numpy as np class EnhancedCNNAnimation(Scene): def construct(self): # Colors and styles input_color = BLUE_D conv_color = GREEN_D pool_color = RED_D dense_color = YELLOW_D kernel_color = PURPLE_D activation_color = ORANGE te...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_004358
priyanshutomar2024/adaption-unified-manim-instructions
2
BaselProblemScene
Scene
33
128
true
I'd like to create an animation that visually explains the process of calculating the value of the infinite series sum of 1 over n squared, from n equals 1 to infinity, which converges to pi squared over 6. Start by showing the formula of the series, then illustrate the concept of partial sums approaching the series' v...
from manim import * import numpy as np class BaselProblemScene(Scene): def construct(self): # --- Configuration & Constants --- LIMIT_VALUE = np.pi**2 / 6 PARTIAL_SUMS = [sum(1/n**2 for n in range(1, k+1)) for k in range(1, 11)] FORMULA_COLOR = YELLOW HIGHLIGHT_COLOR = BLUE ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000572
Chimanwakis/manim_animation_dataset
1
FractionScene0674
Scene
5
17
false
Fix this Primary 4 Manim code that tries to show \frac{3}{4} equals \frac{6}{8} labelled \frac{3}{4}=\frac{6}{8} Use classroom activity 674. Broken Manim code: from manim import * class BrokenScene674: def construct(self): label = MathTex(r"\frac{3}{4}=\frac{6}{8}") self.play(Write(label))
from manim import * class FractionScene0674(Scene): def construct(self): title = Text('Equivalent fractions 674', font_size=32).to_edge(UP) top = VGroup(*[Rectangle(width=1.3, height=0.52, stroke_color=WHITE) for _ in range(4)]).arrange(RIGHT, buff=0).shift(UP*0.75) bottom = VGroup(*[Rectang...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_003339
nabin2004/manim-sft-10k
1
SaddleNodeBifurcation
Scene
32
91
false
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Animation only works on Mobjects Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class SaddleNodeBifurcation(Scene): def construct(self):...
from manim import * class SaddleNodeBifurcation(Scene): def construct(self): # Introduction with title title = Text("The Dance of Points: Saddle-Node Bifurcation", font_size=32) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) # Element 1: One-...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
ry_manim_codegen_000302
RY7Games/ry_manim_codegen
1
AreaUnderCurveExample
Scene
20
40
false
Can you create an educational animation that visually explains how to solve the basic definite integral problem step by step, including the application of the power rule, and evaluating the final expression using the given limits? Specifically, I'd like the animation to show the problem "integrate x cubed from 0 to 2",...
from manim import * class AreaUnderCurveExample(Scene): def construct(self): # Define the curve and the area under the curve curve = FunctionGraph(lambda x: 0.1 * (x - 3) ** 2 + 1, x_range=[0, 5]) area = area = Integral(curve, (x, 0, 5), fill_opacity=0.5) # Displaying the problem ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000621
Chimanwakis/manim_animation_dataset
1
FractionScene0731
Scene
5
13
false
Fix this Primary 2 Manim code that tries to show 15 out of 20 market baskets labelled \frac{15}{20} Use classroom activity 731. Broken Manim code: from manim import * class BrokenScene731(Scene): def construct(self): label = MathTex(r"\frac{15}{20}") label.move_to_edge(UP) self.play(Write(l...
from manim import * class FractionScene0731(Scene): def construct(self): title = Text('Market Baskets fraction 731', font_size=33).to_edge(UP) items = VGroup(*[Circle(radius=0.17, stroke_color=WHITE).set_fill(BLUE, opacity=0.5) for _ in range(20)]).arrange_in_grid(rows=4, cols=5, buff=0.24) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_001348
Chimanwakis/manim_animation_dataset
1
PlaceValueScene0685
Scene
5
25
false
Create a Manim animation for Primary 5 pupils explaining word problems involving large numbers and decimals using decimal place value in 12.40 Use classroom example 685. Input: Basic Place Value: decimal place value in 12.40
from manim import * class PlaceValueScene0685(Scene): def construct(self): title = Text('Decimal chart 685', font_size=32).to_edge(UP) if title.width > 7: title.scale_to_fit_width(7) columns = ['T', 'O', '.', 't', 'h'] digits = ['1', '2', '.', '4', '0'] cells = VG...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_005923
priyanshutomar2024/adaption-unified-manim-instructions
2
FruitConsumptionPieChart
Scene
5
67
true
"I would like to create a colorful pie chart animation on my smartphone vertical screen that displays the distribution of different fruit consumptions. The chart should have slices in different colors, with each representing a fruit: blueberry, green apple, lemon, watermelon, grape, orange, and strawberry. The exact pr...
from manim import * import numpy as np # Configure scene for smartphone vertical screen (9:16 aspect ratio) config.frame_width = 9 config.frame_height = 16 class FruitConsumptionPieChart(Scene): def construct(self): # Data Definition fruits = [ "Blueberry", "Green Apple", "Lemon", ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_001189
nabin2004/manim-sft-10k
1
DigitalSignatureSchemes
Scene
12
42
false
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
from manim import * from manim import config Text.set_default(font='SimHei') class DigitalSignatureSchemes(Scene): def construct(self): title = Title('Other Digital Signature Schemes', color=BLUE_C) self.play(Write(title)) self.wait(1) schnorr_items = ['\\begin{tabular}{l} \\textbf...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_002852
Chimanwakis/manim_animation_dataset
1
StrictRectangleScene0557
Scene
5
29
false
The prompt asked for a rectangle fraction bar, but this code uses circles. Rewrite it for Primary 3 so it uses exactly one rectangular bar split into 10 equal parts, shades 5 parts, and lasts about 25 seconds. Current Manim code to improve: from manim import * class WrongVisualScene(Scene): def construct(self): ...
from manim import * class StrictRectangleScene0557(Scene): def construct(self): target_duration = 25.0 intro_time = target_duration * 0.16 bar_time = target_duration * 0.28 shade_time = target_duration * 0.22 label_time = target_duration * 0.18 hold_time = target_dur...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000455
priyanshutomar2024/adaption-unified-manim-instructions
2
AVLTreeScene
Scene
14
147
true
I would like to create an educational animation that visually demonstrates how an AVL tree, which is a type of self-balancing binary search tree, is structured and how elements are inserted into it. The tree should start out empty and then show the insertion of elements one by one, adjusting the balance as it grows. It...
from manim import * from typing import Optional class AVLNode: """Combines logical tree structure with visual representation.""" def __init__(self, key): self.key = key self.left = None self.right = None self.height = 1 self.mobject = None self.edge_to_parent = N...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000849
priyanshutomar2024/adaption-unified-manim-instructions
2
NeocognitronVisualization
ThreeDScene
7
39
true
Create an animation showing a simplified model of a neural network called a Neocognitron with three layers. Have the first layer contain three neurons, the second layer four, and the third layer two. Each neuron should be represented by a blue sphere and aligned vertically within its layer. The layers should be spaced ...
from manim import * class NeocognitronVisualization(ThreeDScene): def construct(self): # Set camera orientation for a clear 3D perspective self.set_camera_orientation(phi=70 * DEGREES, theta=-45 * DEGREES) # Network architecture specifications layer_counts = [3, 4, 2] layer...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_001990
priyanshutomar2024/adaption-unified-manim-instructions
2
MultiLayerHierarchyTree
Scene
8
61
true
Design an animation using Manim to visualize a multi-layer hierarchy tree. Start with a root node labeled “ROOT”. The root has five children nodes named “Child_0” to “Child_4”, each connected directly. Each “Child_i” node must be linked to a “Grandchild_i” node, which in turn connects to a “Greatgrandchild_i” node (i=0...
from manim import * import networkx as nx class MultiLayerHierarchyTree(Scene): def construct(self): # 1. Define Graph Structure using NetworkX nx_graph = nx.DiGraph() root_node = "ROOT" child_nodes = [f"Child_{i}" for i in range(5)] grandchild_nodes = [f"Grandchild...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_005299
nabin2004/manim-sft-10k
1
EnhancedLissajous
Scene
12
84
false
Here’s an enhanced version of the animation with additional features: The scene begins with a smooth Lissajous curve being traced out by a vibrant gradient-colored path (yellow to dark yellow) with a thick black outline, while a dot dynamically follows the curve's endpoint. To deepen the mathematical context, the an...
from manim import * import numpy as np class EnhancedLissajous(Scene): def construct(self): # Parameters for the Lissajous curve a = 3 b = 4 delta = 2 * PI / 3 T = 2 * PI # Create the curve curve = ParametricFunction( lambda t: np.array([ ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_004151
nabin2004/manim-sft-10k
1
CFGLectureNotes
Scene
19
45
false
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
from manim import * from manim import config Text.set_default(font='SimHei') class CFGLectureNotes(Scene): def construct(self): main_title = Text('Context-Free Languages and Grammar', font_size=36, weight=BOLD) sub_title = Text('The Formal Analysis Value of CFG', font_size=28, color=BLUE) ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000832
priyanshutomar2024/adaption-unified-manim-instructions
2
PolarIntegralExplanation
Scene
28
82
true
I would like an animated explanation of how to evaluate the double integral of r^2 in polar coordinates over a unit circle from 0 to 2π in the angle θ and from 0 to 1 in the radius r. The animation should start by displaying the mathematical problem, then step by step show the solution. Begin by integrating with respec...
from manim import * class PolarIntegralExplanation(Scene): def construct(self): # Color definitions for visual clarity color_r = BLUE color_theta = GREEN color_result = GOLD # --- Step 1: Problem Display --- title = Text("Double Integral in Polar Coordinates...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002772
priyanshutomar2024/adaption-unified-manim-instructions
2
DefiniteIntegralVisualization
Scene
13
55
true
Can you create an educational animation using math visualization software that shows the area under the curve of a simple quadratic function from x=2 to x=4, including the axes, function curve, and a labeled shaded area representing integral calculation? Also, after showing the graph, I would like a brief written expla...
from manim import * class DefiniteIntegralVisualization(Scene): def construct(self): # 1. Scene Setup: Initialize Coordinate Axes # Ranges accommodate f(x) = x^2 from x=0 to x=5 (since 4^2 = 16) axes = Axes( x_range=[0, 5, 1], y_range=[0, 20, 5], x_length...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_000184
priyanshutomar2024/adaption-unified-manim-instructions
2
TripleIntegralCalculation
Scene
10
70
true
I want to create an educational video that illustrates the steps of calculating a triple integral, specifically the integral of 'xyz' over a specific range for each variable. Can you animate the problem statement and demonstrate the integration process step by step, beginning with z, then y, and finally x? Each step of...
from manim import * class TripleIntegralCalculation(Scene): def construct(self): # Define colors for visual distinction text_color = YELLOW math_color = WHITE # --- 1. Problem Statement --- problem_title = Text( "Calculate the Triple Integral", ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
adaption-unified-manim-instructions_002389
priyanshutomar2024/adaption-unified-manim-instructions
2
ShapeSequence
Scene
4
16
true
Can you create an animation where a sequence of circles and squares of varying sizes are displayed, increasing in size incrementally, with the circles' radii and the squares' side lengths based on a percentage of the screen width and height respectively? Also, can you place a dot that is offset from the center by a fix...
from manim import * class ShapeSequence(Scene): def construct(self): # Calculate the conversion factor from pixels to Manim units # Using the frame width to pixel width ratio for horizontal offsets pixel_to_unit_ratio = config.frame_width / config.pixel_width # Create the s...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_000840
nabin2004/manim-sft-10k
1
WebMiddleware
Scene
6
33
false
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
from manim import * from manim import config Text.set_default(font='SimHei') class WebMiddleware(Scene): def construct(self): context_text = Text('Inter-process Communication > Middleware Technologies', font_size=18, color=GRAY) main_title = Text('Web Middleware', font_size=36, color=YELLOW, weigh...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
qwen3-8b-manimator-gold-sft_000392
nabin2004/qwen3-8b-manimator-gold-sft
1
SciComputeScene1233
VoiceoverScene
4
38
false
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Fourier Series Square Wave Approximation with NumPy. ```python from manim import * import numpy as np class SciComputeScene1233(Scene): def construct(self): ax = Axes(x_range=[-PI, PI, PI/2], y_range=[-1.5, 1.5, 0....
from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class SciComputeScene1233(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim_animation_dataset_000860
Chimanwakis/manim_animation_dataset
1
PlaceValueScene0113
Scene
5
25
false
Convert this Primary 3 storyboard into Manim code for 490 as 4 hundreds, 9 tens, and 0 ones Use classroom example 113. Storyboard: 1. Show 490 on the board. 2. Move the digits into H, T, and O columns. 3. Label the values as 4 hundreds, 9 tens, and 0 ones. 4. Write 490 = 400 + 90. 5. End by reading the number in words...
from manim import * class PlaceValueScene0113(Scene): def construct(self): title = Text('Hundreds tens ones 113', font_size=32).to_edge(UP) if title.width > 7: title.scale_to_fit_width(7) columns = ['H', 'T', 'O'] digits = ['4', '9', '0'] cells = VGroup() ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...
manim-sft-10k_002108
nabin2004/manim-sft-10k
1
FSMLectureNotes
Scene
19
68
false
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'max_magnitude' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * from manim import config...
from manim import * from manim import config Text.set_default(font='SimHei') class FSMLectureNotes(Scene): def construct(self): self.show_output_dependencies() self.show_specifications() def show_output_dependencies(self): title = Title('Basic Concepts of FSM: Output Dependencies') ...
[ { "role": "system", "content": "You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then out...