system stringclasses 1
value | prompt stringlengths 78 12.9k | chosen stringlengths 370 27.9k | rejected stringlengths 327 28k | category stringclasses 5
values | source stringclasses 8
values |
|---|---|---|---|---|---|
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 output a complete, runnable, self-contained Man... | Create a 30-second Manim scene with moving-camera choreography on a phase-plane style spiral trajectory. Start wide on a number plane, follow a probe as it spirals outward, zoom in on local motion, then zoom back out with staged explanatory captions. | ```python
from manim import *
class MovingCameraPhasePlaneStory(MovingCameraScene):
def construct(self):
title = Text("Following Motion in a Phase Plane", font_size=34).to_edge(UP)
plane = NumberPlane(x_range=[-5, 5, 1], y_range=[-4, 4, 1], background_line_style={"stroke_opacity": 0.3}).shift(DOWN ... | ```python
from manim import *
class MovingCameraPhasePlaneStory(MovingCameraScene):
def construct(self):
title = Text("Following Motion in a Phase Plane", font_size=34).to_edge(UP)
plane = NumberPlane(x_range=[-5, 5, 1], y_range=[-4, 4, 1], background_line_style={"stroke_opacity": 0.3}).shift(DOWN ... | legacy_api_hallucination | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | I'm learning Bayesian optimization in RL and want a visualization of how a GP-based optimizer guides model-based RL for a robot vision task. Depict the interaction loop: agent collects data from robot-camera observations, a GP surrogate updates, and the acquisition function selects the next experiment. Show a 3D robot ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class BayesianOptimizationRLScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
class BayesianOptimizationRLScene(Scene):
def construct(self):
title = Text('Bayesian Optimization in RL', font_size=44)
subtitle = Text('Efficient Exploration & Exploitation', font_size=26, color=GREY)
subtitle.next_to(title, DOWN, buff=0.3)
title_gro... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | I'm learning linear algebra to undergraduates and want a visual that unpacks singular value decomposition.
Show how a 2D/3D linear map stretches and rotates vectors into principal axes, with animated ellipsoids and a moving camera.
Include step-by-step intuition, then derive A = U Σ V^T visually, plus a numeric example... | ```python
from manim import *
import math
class SVDGeometricInterpretationScene(Scene):
def construct(self):
title = Text('Singular Value Decomposition', font_size=38)
subtitle = Text('Visualizing Matrix Decomposition', font_size=22, color=BLUE_B)
header = VGroup(title, subtitle).arrange(D... | ```python
from manim import *
import math
class SVDGeometricInterpretationScene(Scene):
def construct(self):
title = Text('Singular Value Decomposition', font_size=38)
subtitle = Text('Visualizing Matrix Decomposition', font_size=22, color=BLUE_B)
header = VGroup(title, subtitle).arrange(D... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad DL course and want to demonstrate how gradient vanishing is reduced in early layers by adding BN. Animate a stack of layers with gradient arrows; show arrows in early layers growing much stronger after BN is introduced. Provide a before/after comparison and annotate how BN running statistics s... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class BatchNormGradientScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class BatchNormGradientScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class SequenceLabelingLecture(Scene):
def construct(self):
main_title = Title('Sequence Labeling and CRF in NLP')
self.play(Write(main_title))
self.wait(0.5)
section_title = Text('Overview of Seq... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class SequenceLabelingLecture(Scene):
def construct(self):
main_title = Title('Sequence Labeling and CRF in NLP')
self.play(Write(main_title))
self.wait(0.5)
section_title = Text('Overview of Seq... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for Grade 12 Economics on National Income Accounting. The video should be in 16:9 aspect ratio.
Start with a title slide displaying "National Income Accounting" in large text with a professional color scheme. Add a subtle background pattern or color gradient.
Next, display the question on scr... | ```python
from manim import *
import numpy as np
import random
import math
class NationalIncomeAccounting(Scene):
def construct(self):
# --- Config & Setup ---
self.camera.background_color = "#0f0f0f"
# Safe bounds tracking
# X: [-6.5, 6.5], Y: [-3.5, 3.5]
... | ```python
from manim import *
import numpy as np
import random
import math
class NationalIncomeAccounting(Scene):
def construct(self):
# --- Config & Setup ---
self.camera.background_color = "#0f0f0f"
# Safe bounds tracking
# X: [-6.5, 6.5], Y: [-3.5, 3.5]
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a 30-second Manim scene that uses a custom Animation subclass to count upward while the rest of the scene morphs from a small signal into a large signal. Include staged captions, number updates, and a transform-matching style equation transition. | ```python
from manim import *
class Count(Animation):
def __init__(self, number, start, end, **kwargs):
super().__init__(number, **kwargs)
self.start = start
self.end = end
def interpolate_mobject(self, alpha):
value = self.start + alpha * (self.end - self.start)
self.m... | ```python
from manim import *
class Count(Animation):
def __init__(self, number, start, end, **kwargs):
super().__init__(number, **kwargs)
self.start = start
self.end = end
def interpolate_mobject(self, alpha):
value = self.start + alpha * (self.end - self.start)
self.m... | legacy_api_hallucination | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | The following Manim CE script crashed with this traceback:
```text
ValueError: latex error converting to dvi. Unicode character ₁ (U+2081) not supported.
```
Fix the bug and provide the corrected, fully compilable Manim CE code:
```python
from manim import *
import numpy as np
class ApiValidTangentLine369(Scene):
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidTangentLine369(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width *... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidTangentLine369(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width *... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for a Biology Class 11 video on Aestivation in Flowers. The video should be 16:9 format and follow this structure:
1. Opening Scene: Display the title "AESTIVATION IN FLOWERS" centered on screen with a subtitle "Arrangement of Sepals and Petals in Flower Buds" below it. Use a clean, profession... | ```python
from manim import *
import numpy as np
import math
import random
class AestivationInFlowers(Scene):
def construct(self):
# --- 1. Opening Scene ---
# Title Setup
title = Text("AESTIVATION IN FLOWERS", font_size=54, color="#4a9eff", weight=BOLD)
subtitle = Text("Arrangement... | ```python
from manim import *
import numpy as np
import math
import random
class AestivationInFlowers(Scene):
def construct(self):
# --- 1. Opening Scene ---
# Title Setup
title = Text("AESTIVATION IN FLOWERS", font_size=54, color="#4a9eff", weight=BOLD)
subtitle = Text("Arrangement... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Can you create an educational animation that visually explains how image formation works with a concave mirror by showing light rays tracing from an object to the mirror and reflecting according to the rules of ray tracing? The animation should include a representation of a concave mirror with a principal axis, focal p... | ```python
from manim import *
class WaveEquationExample(Scene):
def construct(self):
# Displaying the equation
wave_eq = MathTex(r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}")
self.play(Write(wave_eq))
self.wait(1)
# Description of Wave Equati... | ```python
from manim import *
class WaveEquationExample(Scene):
def construct(self):
# Displaying the equation
wave_eq = MathTex(r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}")
self.play(Write(wave_eq))
self.wait(1)
# Description of Wave Equati... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm learning how single gradient outliers affect training dynamics and want a focused visualization. Animate a bar chart where one gradient spike explodes into a red outlier, tracking its impact on the overall norm. Show the surrounding bars barely budging at first, then the explode event, with a timeline caption. I wa... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientOutliersScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientOutliersScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class WebCrawlerBasics(Scene):
def construct(self):
title = Text('Web Crawler Basics', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = Line(LEFT, RIGHT, color=ORANGE).nex... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class WebCrawlerBasics(Scene):
def construct(self):
title = Text('Web Crawler Basics', font_size=34, color=WHITE, weight=BOLD)
title
title_line = Line(LEFT, RIGHT, color=ORANGE)
title_line.match_... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm learning sequences and want to understand the difference between arithmetic and geometric sequences and their sums. Create visuals that compare term growth, partial sums, and convergence behavior side by side, with intuitive narratives and a quick derivation of the sum formulas, highlighting when each series diverg... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class SequencesScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
# ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class SequencesScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
# ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | 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 SciComputeScene755(Scene):
def construct(self):
import sympy as sp
... | ```python
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 SymPyDerivativeScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = co... | ```python
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 SymPyDerivativeScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = co... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Lorenz Attractor Differential Equation with SciPy solve_ivp.
```python
from manim import *
import numpy as np
from scipy.integrate import solve_ivp
class SciComputeScene974(Scene):
def construct(self):
from scipy.i... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
from scipy.integrate import solve_ivp
MARGIN = 0.5
class SciComputeScene974(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
from scipy.integrate import solve_ivp
MARGIN = 0.5
class SciComputeScene974(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class GameTheoryDefinitions(Scene):
def construct(self):
title = Text('Formal Modeling Language for Game Theory', font_size=36, weight=BOLD)
subtitle = Text('Basic Definitions of Games', font_size=28, color=BLUE... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class GameTheoryDefinitions(Scene):
def construct(self):
title = Text('Formal Modeling Language for Game Theory', font_size=36, weight=BOLD)
subtitle = Text('Basic Definitions of Games', font_size=28, color=BLUE... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | The following Manim CE script crashed with this traceback:
```text
NameError: name 'undefined_variable_target' is not defined in construct()
```
Fix the bug and provide the corrected, fully compilable Manim CE code:
```python
from manim import *
import numpy as np
class ApiValidRightAngle310(Scene):
def constru... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidRightAngleFixedScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidRightAngleFixedScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad stats course and want a vivid visualization of waiting times for an exponential distribution. Show a Poisson process with interarrival times, emphasizing the memoryless property, and sweep lambda to compare rates. Include scenes of a timeline, a histogram of samples, and a quick derivation cue... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class ExponentialDistributionScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | ```python
from manim import *
import math
class ExponentialDistributionScene(Scene):
def construct(self):
title = Text('The Exponential Distribution', font_size=40)
subtitle = Text('Modeling Waiting Times', font_size=24, color=BLUE)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | 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 SciComputeScene1027(Scene):
def construct(self):
import sympy as sp
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import sympy as sp
MARGIN = 0.5
class SciComputeScene1027(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import sympy as sp
MARGIN = 0.5
class SciComputeScene1027(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm studying autoregressive language models and want to visualize the evolution of output logits over the vocabulary at each generation step. Show a horizontal bar chart for logits at time t, then animate t+1 with a new set of bars, highlighting the top-1 token. Include a caption describing temperature scaling and a sl... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class AutoregressiveLM(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class AutoregressiveLM(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | Create a 12-second Manim scene that explains merge sort by splitting a short unsorted list into halves and then merging it back into sorted order. Keep the list small so the split and merge are visually obvious and easy to follow. | ```python
from manim import *
class MergeSortSplitMergeStory(Scene):
def construct(self):
title = Text('Merge Sort Splits Then Recombines In Order', font_size=28).to_edge(UP)
start_boxes = VGroup(*[RoundedRectangle(corner_radius=0.08, width=0.8, height=0.58, color=BLUE_D, fill_color=BLUE_D, fill_op... | ```python
from manim import *
class MergeSortSplitMergeStory(Scene):
def construct(self):
title = Text('Merge Sort Splits Then Recombines In Order', font_size=28)
start_boxes = VGroup(*[RoundedRectangle(corner_radius=0.08, width=0.8, height=0.58, color=BLUE_D, fill_color=BLUE_D, fill_opacity=0.16) ... | spatial_layout_overlap | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad stats course and want a vivid visualization of waiting times for an exponential distribution. Show a Poisson process with interarrival times, emphasizing the memoryless property, and sweep lambda to compare rates. Include scenes of a timeline, a histogram of samples, and a quick derivation cue... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class ExponentialDistributionScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class ExponentialDistributionScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning how tensors are laid out in memory. Show a contiguous memory strip in row-major order as a sequence of colored cells, with an accompanying timeline that moves the read/write head as it traverses the tensor. I want to highlight strides and the logical vs physical layout, plus a small note on cache-friendly ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class TensorMemoryLayoutScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class TensorMemoryLayoutScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | Here's an enhanced version of the animation that includes all original features while adding significant new elements:
The enhanced animation begins by displaying the integral equation `\int_{-3}^{3} 0.1x^2 - 1 \, dx` at the top of the screen, then smoothly draws the quadratic function curve in blue while simultaneous... | ```python
from manim import *
class EnhancedIntegralAnimation(Scene):
def construct(self):
# Set up axes
axes = Axes(
x_range=[-4, 4, 1],
y_range=[-2, 4, 1],
axis_config={"color": BLUE},
x_axis_config={
"numbers_to_include": np.arange(... | ```python
from manim import *
class EnhancedIntegralAnimation(Scene):
def construct(self):
# Set up axes
axes = Axes(
x_range=[-4, 4, 1],
y_range=[-2, 4, 1],
axis_config={"color": BLUE},
x_axis_config={
"numbers_to_include": np.arange(... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm teaching undergrads and want a vivid visual of how requires_grad=True changes a tensor. Show a gradient accumulation box that fills up with each backward pass, highlighting when gradients accumulate vs. reset. Include a short backward trace and color cues for newly added gradients, with a couple of backward passes ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientAccumulationVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)... | ```python
from manim import *
class GradientAccumulationVisualization(Scene):
def construct(self):
title = Text('Gradient Accumulation', font_size=48, color=BLUE)
title.to_edge(UP, buff=0.5)
self.play(Write(title), run_time=2.0)
self.wait(0.5)
self.play(FadeOut(title), run_... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | 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... | ```python
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.back... | ```python
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.back... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a step-by-step educational Manim CE lecture scene explaining: Gradient Descent Optimization on 2D Quadratic Function.
```python
from manim import *
import numpy as np
class PedagogicalScene852(Scene):
def construct(self):
title = Title(r"Gradient Descent: $x_{k+1} = x_k - \gamma \nabla f(x_k)$")
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class PedagogicalScene852(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class PedagogicalScene852(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm learning about manual gradient steps and want a visualization of how updated weights look after a single manual step, with a side-by-side comparison to the PyTorch autograd result. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientStepVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientStepVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning neural network initialization and want a visual that makes random weights feel tangible. Animate the initialization of a multilayer perceptron, displaying weight matrices colored by their random values and overlaying a quick statistics panel. Show the distribution of weights with a color scale, and zoom in... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class NeuralNetworkInitVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class NeuralNetworkInitVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm teaching optimization and want a block diagram of the loss surface for a mini-batch.
Show each sample’s loss feeding into a union node that produces a single batch loss.
Then illustrate backpropagation paths from the batch loss to the network parameters.
Include a zoomable plot of the batch loss landscape to emphas... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class OptimizationLossSurfaceBlockDiagram(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | ```python
from manim import *
class OptimizationLossSurfaceBlockDiagram(Scene):
def construct(self):
title = Text('Optimization Loss Surface', font_size=36, color=BLUE)
subtitle = Text('Understanding How Neural Networks Learn', font_size=24, color=GRAY)
title_group = VGroup(title, subtitle... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for Grade 12 Geography explaining cumulative frequency calculation. The video should be 16:9 format.
Start with a title screen displaying "Cumulative Frequency" centered on the screen. Below the title, show the question "Describe the process of calculating cumulative frequency" in a smaller fo... | ```python
from manim import *
import numpy as np
class CumulativeFrequencyCalc(Scene):
def construct(self):
# 1. SCENE SETUP
self.camera.background_color = "#0f0f0f"
# Colors
C_TEXT = "#d4d4d4"
C_HEADER = "#4a9eff" # Blue
C_HIGHLIGHT = "#e8945e" # Orange
... | ```python
from manim import *
import numpy as np
class CumulativeFrequencyCalc(Scene):
def construct(self):
# 1. SCENE SETUP
self.camera.background_color = "#0f0f0f"
# Colors
C_TEXT = "#d4d4d4"
C_HEADER = "#4a9eff" # Blue
C_HIGHLIGHT = "#e8945e" # Orange
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm teaching a signal about backprop gradients and want to visualize the gradient distribution for Layer 5 vs Layer 1 as two side-by-side histograms. Highlight vanishing gradients with color cues, and animate a moving cutoff line to reveal distribution shifts. Include captions explaining typical ranges and interpretabi... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class BackpropGradients(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class BackpropGradients(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching a geometry lab for undergrads and want a step-by-step Euclidean construction of an equilateral triangle given a segment. Animate compass-and-straightedge style: draw circles with radius AB centered at A and B, locate the intersection as the third vertex, and prove the sides are equal with congruent radii. ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class EuclideanConstructionScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_mod... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class EuclideanConstructionScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_mod... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad geometry course and want a vivid tessellation visualization. Show how regular triangles, squares, and hexagons tile the plane and explain the angle-sum condition at a vertex. Build scenes that color-code polygons, rotate them around a common vertex, and zoom into the tiling to compare feasible... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class TessellationScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
class TessellationScene(Scene):
def construct(self):
title = Text('Tessellations and Angle-Sum Condition', font_size=36, color=BLUE)
subtitle = Text('Hello Math Enthusiasts!', font_size=28, color=YELLOW)
subtitle.next_to(title, DOWN, buff=0.5)
self.pla... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad ML course and want a visual of the Cosine Annealing learning rate scheduler as a sinusoidal curve. Plot the LR over time and update the current LR value on top as the curve undulates. Include a parameter sweep to show how different cycles affect convergence, with slow motion at the minima. | ```python
from manim import *
class CosineAnnealingScene(Scene):
def construct(self):
title = Text('Cosine Annealing', font_size=48, color=BLUE)
subtitle = Text('Learning Rate Scheduler', font_size=32, color=WHITE)
subtitle.next_to(title, DOWN, buff=0.3)
intro_group = VGroup(title,... | ```python
from manim import *
class CosineAnnealingScene(Scene):
def construct(self):
title = Text('Cosine Annealing', font_size=48, color=BLUE)
subtitle = Text('Learning Rate Scheduler', font_size=32, color=WHITE)
subtitle
intro_group = VGroup(title, subtitle)
self.play(Wr... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad course on decision-theoretic planning and want a vivid visualization of MDP planning.
Show states, actions, stochastic transitions, and rewards, with on-screen Bellman backups computing V(s) and Q(s,a).
Include a gridworld example, policy iteration versus value iteration, and a comparison acro... | ```python
from manim import *
class MarkovDecisionProcess(Scene):
def construct(self):
title = Text('Markov Decision Processes', font_size=48, color=BLUE)
subtitle = Text('Planning Under Uncertainty', font_size=28, color=WHITE)
subtitle.next_to(title, DOWN)
self.play(Write(title), ... | ```python
from manim import *
class MarkovDecisionProcess(Scene):
def construct(self):
title = Text('Markov Decision Processes', font_size=48, color=BLUE)
subtitle = Text('Planning Under Uncertainty', font_size=28, color=WHITE)
subtitle.next_to(title, DOWN)
self.play(Write(title), ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class AssemblyViewBehavior(Scene):
def construct(self):
title = Text('Assembly View & Program Behavior', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = Line(LEFT, RIGHT,... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class AssemblyViewBehavior(Scene):
def construct(self):
title = Text('Assembly View & Program Behavior', font_size=34, color=WHITE, weight=BOLD)
title
title_line = Line(LEFT, RIGHT, color=ORANGE)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | 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 ExponentialIntegrationExample(Scene):
def construc... | ```python
from manim import *
class ExponentialIntegrationExample(Scene):
def construct(self):
# Displaying the problem
problem = MathTex(r"\int e^{2x} \,dx")
self.play(Write(problem))
self.wait(1)
# Explanation for using exponential rule
explanation1 = Text("Use th... | ```python
from manim import *
class ExponentialIntegrationExample(Scene):
def construct(self):
# Displaying the problem
problem = TexMobject(r"\int e^{2x} \,dx")
self.play(Write(problem))
self.wait(1)
# Explanation for using exponential rule
explanation1 = Text("Use... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a Manim animation in 16:9 format for an 8th grade advanced science class on fire safety and combustion. The video should follow this structure:
1. Open with the title "Combustion and Fire Safety" in large text, centered on screen with a subtle flame icon.
2. Display the question: "Why is water not an effective... | ```python
from manim import *
import numpy as np
class CombustionSafety(Scene):
def construct(self):
# --- SCENE 1: TITLE ---
# Setup title text and icon
title = Text("Combustion and Fire Safety", font_size=48, weight=BOLD, color="#d4d4d4")
title.to_edge(UP, buff=1.0)
... | ```python
from manim import *
import numpy as np
class CombustionSafety(Scene):
def construct(self):
# --- SCENE 1: TITLE ---
# Setup title text and icon
title = Text("Combustion and Fire Safety", font_size=48, weight=BOLD, color="#d4d4d4")
title.to_edge(UP, buff=1.0)
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | The following Manim CE scene failed to compile. Truncated traceback:
NameError: name 'by_nine_missing' is not defined
Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts.
```python
from manim import *
from utils import *
config.frame_size = 1080, 1920
con... | ```python
from manim import *
from utils import *
config.frame_size = 1080, 1920
config.frame_width = 9
config.frame_height = 16
class TenDivisors(Scene):
def construct(self):
self.camera.background_color = BACKGROUND_COLOR
by_one = Division(10, 1)
by_one.scale(1.3)
by_two = Divi... | ```python
from manim import *
from utils import *
config.frame_size = 1080, 1920
config.frame_width = 9
config.frame_height = 16
class TenDivisors(Scene):
def construct(self):
self.camera.background_color = BACKGROUND_COLOR
by_one = Division(10, 1)
by_one.scale(1.3)
by_two = Divi... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm teaching undergrads ML and want a vivid visualization of the tanh activation curve. Show logits ranging from -∞ to ∞ mapped to -1 to 1, with saturation regions colored red. Include a moving input slider and an annotation of the slope decay, plus a side plot of the derivative magnitude. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class TanhFunctionScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class TanhFunctionScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm teaching NLP students and want a concrete visualization of Diverse Beam Search. Show a beam search with several diverse hypotheses evolving in parallel, highlight diversity penalties, and compare beams with and without diversity on a short sentence generation task. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class DiverseBeamSearchScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class DiverseBeamSearchScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class AlphaProofScene(Scene):
def construct(self):
title = Text('2.2 AlphaProof: A Reinforcement Learning Framework Based on Lean', font_size=30, weight=BOLD, color=BLUE)
title.to_edge(UP, buff=0.5)
b1 =... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class AlphaProofScene(Scene):
def construct(self):
title = Text('2.2 AlphaProof: A Reinforcement Learning Framework Based on Lean', font_size=30, weight=BOLD, color=BLUE)
title
b1 = Text('• Model Archite... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | For my undergraduate complex analysis class, visualize Newton's method in the complex plane for f(z) = z^3 − 1.
Animate a dense grid of initial z, showing which root they converge to with color-coded basins and a trace of each iteration path.
Include a zoom into the fractal basin boundary and a side-by-side plot of con... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class NewtonMethodVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class NewtonMethodVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | 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 DynamicScene1053(Scene):
def construct(self):
sun = Dot(ORIGIN, radius=0.25, color=GOLD)
planet = Do... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class DynamicScene1053(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_fra... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class DynamicScene1053(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_fra... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm learning optimization and want to visualize the RMS of gradients per layer as a line chart that stays roughly constant. Plot RMS per layer over training steps, with distinct colors per layer, and a reference line showing ideal constancy. Include a scenario with gradient clipping to show how the chart reacts. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class OptimizationAndRMS(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class OptimizationAndRMS(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning undergraduate linear algebra and want a visual explanation of the Moore–Penrose pseudoinverse and least-squares.
Use a concrete overdetermined system 2x3 to show the least-squares solution as the projection of b onto the column space of A.
Animate a step-by-step QR/SVD view to connect the formula A+ = (A^T... | ```python
from manim import *
class ConclusionScene(Scene):
def construct(self):
conclusion_title = Text('Key Takeaways', font_size=38, color=BLUE)
conclusion_title.to_edge(UP, buff=0.8)
self.play(Write(conclusion_title), run_time=2.0)
takeaway1 = Text('1. Used when A inverse does ... | ```python
from manim import *
class ConclusionScene(Scene):
def construct(self):
conclusion_title = Text('Key Takeaways', font_size=38, color=BLUE)
conclusion_title.to_edge(UP, buff=0.8)
self.play(Write(conclusion_title), run_time=2.0)
takeaway1 = Text('1. Used when A inverse does ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Linear Algebra 2D Matrix Eigenvector Transformation.
```python
from manim import *
import numpy as np
class SciComputeScene712(Scene):
def construct(self):
plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1]... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class SciComputeScene712(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_f... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class SciComputeScene712(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_f... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching computer vision nets and want a clear animation of skip connections from each block summing to the final output layer.
Show each block producing a feature map, then summing via additive merges into the final layer.
Highlight gradient flow through the sum and how it reaches earlier blocks.
Use color-coding ... | ```python
from manim import *
class SkipConnectionsScene(Scene):
def construct(self):
title = Text('Skip Connections in Computer Vision', font_size=40, color=BLUE)
title.to_edge(UP, buff=0.4)
self.play(Write(title), run_time=2.0)
subtitle = Text('Avoiding vanishing gradients', font... | ```python
from manim import *
class SkipConnectionsScene(Scene):
def construct(self):
title = Text('Skip Connections in Computer Vision', font_size=40, color=BLUE)
title.to_edge(UP, buff=0.4)
self.play(Write(title), run_time=2.0)
subtitle = Text('Avoiding vanishing gradients', font... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class StochasticProcessDefinition(Scene):
def construct(self):
title = Text('Strict Definition of Stochastic Processes', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = L... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class StochasticProcessDefinition(Scene):
def construct(self):
title = Text('Strict Definition of Stochastic Processes', font_size=34, color=WHITE, weight=BOLD)
title
title_line = Line(LEFT, RIGHT, color... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a 20-second Manim scene that explains how a Riemann sum improves as rectangles get narrower. Use axes, a plotted curve, a tracker-driven rectangle count, and animate the approximation from coarse to fine. | ```python
from manim import *
class RiemannSumRefinementDashboard(Scene):
def construct(self):
def curve(x):
return 0.18 * x**2 + 0.35 * x + 0.8
title = Text("Refining a Riemann Sum", font_size=38).to_edge(UP)
axes = Axes(
x_range=[0, 4, 1],
y_range=[0, ... | ```python
from manim import *
class RiemannSumRefinementDashboard(Scene):
def construct(self):
def curve(x):
return 0.18 * x**2 + 0.35 * x + 0.8
title = Text("Refining a Riemann Sum", font_size=38).to_edge(UP)
axes = Axes(
x_range=[0, 4, 1],
y_range=[0, ... | legacy_api_hallucination | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | Display three vertically aligned dots on the left side of the screen, along with a red dashed vertical line labeled "25%" and a title at the top reading "lag_ratio = 0.25". The dots then move horizontally to the right, one after another, with a slight delay between each movement based on a lag ratio of 0.25. The entire... | ```python
from manim import *
class LaggedStartExample(Scene):
def construct(self):
title = Text("lag_ratio = 0.25").to_edge(UP)
dot1 = Dot(point=LEFT * 2 + UP, radius=0.16)
dot2 = Dot(point=LEFT * 2, radius=0.16)
dot3 = Dot(point=LEFT * 2 + DOWN, radius=0.16)
line_25 = Das... | ```python
from manim import *
class LaggedStartExample(Scene):
def construct(self):
title = Text("lag_ratio = 0.25")
dot1 = Dot(point=LEFT * 2 + UP, radius=0.16)
dot2 = Dot(point=LEFT * 2, radius=0.16)
dot3 = Dot(point=LEFT * 2 + DOWN, radius=0.16)
line_25 = DashedLine(
... | spatial_layout_overlap | synthetic_hard_neg:SuienR/ManimBench-v1 |
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 output a complete, runnable, self-contained Man... | Create a 10-second Manim scene with a small MathTable of experiment results and highlight the best row with a caption. | ```python
from manim import *
class MathTableHighlight(Scene):
def construct(self):
title = Text("A MathTable Can Summarize Model Results", font_size=32).to_edge(UP)
table = MathTable(
[["0.71", "0.62"], ["0.68", "0.75"], ["0.64", "0.81"]],
row_labels=[Text("A"), Text("B"), ... | ```python
from manim import *
class MathTableHighlight(Scene):
def construct(self):
title = Text("A MathTable Can Summarize Model Results", font_size=32).to_edge(UP)
table = MathTable(
[["0.71", "0.62"], ["0.68", "0.75"], ["0.64", "0.81"]],
row_labels=[Text("A"), Text("B"), ... | legacy_api_hallucination | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | Display a set of axes. Plot the graph of the function \( f(x) = \frac{k}{x} \) in yellow. Show a blue rectangle with yellow edges that dynamically updates its size based on the value of \( t \). Display a dot that moves along the graph, updating its position as \( t \) changes. | ```python
from manim import *
class PolygonOnAxes(Scene):
def get_rectangle_corners(self, bottom_left, top_right):
return [
(top_right[0], top_right[1]),
(bottom_left[0], top_right[1]),
(bottom_left[0], bottom_left[1]),
(top_right[0], bottom_left[1]),
... | ```python
from manim import *
class PolygonOnAxes(Scene):
def get_rectangle_corners(self, bottom_left, top_right):
return [
(top_right[0], top_right[1]),
(bottom_left[0], top_right[1]),
(bottom_left[0], bottom_left[1]),
(top_right[0], bottom_left[1]),
... | legacy_api_hallucination | synthetic_hard_neg:SuienR/ManimBench-v1 |
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 output a complete, runnable, self-contained Man... | How does the addition of a single edge transform a planar graph into one that's non-planar? | ```python
from manim import *
class PlanarityTransformation(Scene):
def construct(self):
# Title
title = Text("The Hidden Edge: Unveiling Non-Planarity in Graphs", font_size=28)
title.to_edge(UP)
self.play(Write(title))
self.wait(1)
# Introduction
in... | ```python
from manim import *
class PlanarityTransformation(Scene):
def construct(self):
# Title
title = Text("The Hidden Edge: Unveiling Non-Planarity in Graphs", font_size=28)
title.to_edge(UP)
self.play(Write(title))
self.wait(1)
# Introduction
in... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I’m teaching an undergrad ML course and want the final test evaluation to be shown as a single forward pass through the untouched test block, with the resulting accuracy displayed prominently. Build a concise scene where the test batch is fed once, and the final top-1 accuracy updates as the forward pass completes. Inc... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class ForwardPassAccuracyEvaluation(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class ForwardPassAccuracyEvaluation(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning about training dynamics and want to visualize the weight matrix as a grid of tiny squares, with colors transitioning blue-to-red as weights update. Start from initialization, animate a training loop with key updates, and include a translucent overlay of the evolving loss to connect updates to performance. | ```python
from manim import *
class TrainingDynamicsVisualization(ThreeDScene, Scene):
def construct(self):
title = Text('Training Dynamics Visualization', font_size=40, color=BLUE)
subtitle = Text('Seeing How Neural Networks Learn', font_size=28, color=WHITE)
subtitle.next_to(title, DOWN,... | ```python
from manim import *
class TrainingDynamicsVisualization(ThreeDScene, Scene):
def construct(self):
title = Text('Training Dynamics Visualization', font_size=40, color=BLUE)
subtitle = Text('Seeing How Neural Networks Learn', font_size=28, color=WHITE)
subtitle
intro_group ... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm studying code flow and want a pseudocode block of a forward method animated line-by-line.
Each line should highlight as it executes, showing the evolving tensor values and shapes.
Include a brief real-world example to ground the method in a simple feedforward pass. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CodeFlowInFeedforwardNeuralNetwork(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CodeFlowInFeedforwardNeuralNetwork(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for a Grade 9 Advanced Science lesson on the Particulate Nature of Matter. The video should be in 16:9 format.
Structure the animation as follows:
1. Title Scene: Display "Particulate Nature of Matter" with a subtitle "Demonstration with Dettol"
2. Question Scene: Show the question text "Pro... | ```python
from manim import *
import numpy as np
import random
import math
class ParticulateNatureOfMatter(Scene):
def construct(self):
# Setup background
self.camera.background_color = "#0f0f0f"
# Track total time for timing constraints
# 1. Title Scene (0-5s)
titl... | ```python
from manim import *
import numpy as np
import random
import math
class ParticulateNatureOfMatter(Scene):
def construct(self):
# Setup background
self.camera.background_color = "#0f0f0f"
# Track total time for timing constraints
# 1. Title Scene (0-5s)
titl... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | The following Manim CE scene failed to compile. Truncated traceback:
NameError: name 'simplified_missing' is not defined
Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts.
```python
from manim import *
class AreaUnderCurveExample(Scene):
def construc... | ```python
from manim import *
class AreaUnderCurveExample(Scene):
def construct(self):
curve1 = MathTex(r"f(x) = 3x + 2").to_edge(UP)
curve2 = MathTex(r"g(x) = x^2 - 1").next_to(curve1, DOWN)
self.play(Write(curve1))
self.wait(1)
self.play(Write(curve2))
self.wait(1... | ```python
from manim import *
class AreaUnderCurveExample(Scene):
def construct(self):
curve1 = TexMobject(r"f(x) = 3x + 2").to_edge(UP)
curve2 = MathTex(r"g(x) = x^2 - 1").next_to(curve1, DOWN)
self.play(Write(curve1))
self.wait(1)
self.play(Write(curve2))
self.wai... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm teaching undergrads calculus and want a vivid visualization of the derivative as a limit of secant slopes.
Plot f(x) and, for a fixed x0, a family of secant lines through (x0, f(x0)) and (x0+h, f(x0+h)) with h shrinking to 0.
Show the slopes converging to f'(x0) and draw the tangent line at x0 with that slope; incl... | ```python
from manim import Scene, Text, MathTex, Axes, Dot, Line, DashedLine, FunctionGraph, Write, Create, FadeIn, FadeOut, Transform, Indicate, SurroundingRectangle
from manim import UP, DOWN, LEFT, RIGHT, UR, DR, DL, UL, YELLOW, BLUE, GREEN, RED, ORANGE, WHITE
from manim_voiceover import VoiceoverScene
from manim_v... | ```python
from manim import Scene, Text, MathTex, Axes, Dot, Line, DashedLine, FunctionGraph, Write, Create, FadeIn, FadeOut, Transform, Indicate, SurroundingRectangle
from manim import UP, DOWN, LEFT, RIGHT, UR, DR, DL, UL, YELLOW, BLUE, GREEN, RED, ORANGE, WHITE
class DerivativeAsLimitScene(Scene):
def construc... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | Create a 15-second database scene explaining a lost-update anomaly. Show two transactions reading the same value, computing different updates, and overwriting one another; then contrast it with serialized execution. Make clear that atomic writes alone do not prevent the anomaly. | ```python
from manim import *
class LostUpdateAnomaly(Scene):
def construct(self):
self.camera.background_color = "#FAFAF8"
ink = "#222222"
title = Text("Two valid writes can still lose an update", font_size=37, color=ink).to_edge(UP)
db = VGroup(
RoundedRectangle(width=... | ```python
from manim import *
class LostUpdateAnomaly(Scene):
def construct(self):
self.camera.background_color = "#FAFAF8"
ink = "#222222"
title = Text("Two valid writes can still lose an update", font_size=37, color=ink)
db = VGroup(
RoundedRectangle(width=2.2, height=... | spatial_layout_overlap | synthetic_hard_neg:sebastianboehler/autoresearch-manim |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class SpectralTheorem(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class SpectralTheorem(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning about training dynamics and want to animate the gradient-to-activation ratio per layer (Grad/Activation). Show each layer's ratio as a small animated bar or line, with color cues for instability regions, and a timeline that reveals how the ratio evolves during training. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class GradActivationRatioScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class GradActivationRatioScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching an undergrad ML class and want a vivid visualization of BN's regularizing effect by injecting tiny noise from batch statistics. Show how the loss landscape becomes smoother with BN compared to vanilla normalization, using 3D landscapes and contour plots, plus a time-series of training loss and gradient nor... | ```python
from manim import *
class BatchNormalizationPresentation(Scene):
def construct(self):
title = Text('Batch Normalization', font_size=48, color=BLUE)
subtitle = Text('Regularization Effect', font_size=36, color=WHITE)
subtitle.next_to(title, DOWN, buff=0.3)
title_group = VG... | ```python
from manim import *
class BatchNormalizationPresentation(Scene):
def construct(self):
title = Text('Batch Normalization', font_size=48, color=BLUE)
subtitle = Text('Regularization Effect', font_size=36, color=WHITE)
subtitle.next_to(title, DOWN, buff=0.3)
title_group = VG... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Construct a clean Manim CE scene initializing RightAngle with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used.
```python
from manim import *
import numpy as np
class ApiValidRightAngle190(Scene):
def construct(self):
obj = Right... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidRightAngleScene(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_frac
ma... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidRightAngleScene(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_frac
ma... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching NLP embeddings and want to visualize nearest-neighbor search in a high-dimensional space.
Place a query embedding and animate distances to its closest neighbors, highlighting the top-k results with labels and distance bars.
Show a dynamic embedding space projection and a side plot tracking distance metrics... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class NLPEmbeddingsNearestNeighbor(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
class NLPEmbeddingsNearestNeighbor(Scene):
def construct(self):
title = Text('NLP Embeddings &', font_size=48, color=BLUE)
subtitle = Text('Nearest Neighbor Search', font_size=42, color=TEAL)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3)
... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | I'm learning an introductory linear algebra course and want a rich visualization of the spectral theorem. Create a multi-scene animation showing a symmetric matrix acting on vectors, then transform to the eigenbasis where eigenvectors stay fixed and the transform becomes simple scaling. Include a parameter sweep over e... | ```python
from manim import *
class SpectralTheoremScene(Scene):
def construct(self):
title = Text('Spectral Theorem Visualization', font_size=40)
subtitle = Text('Diagonalization of Symmetric Matrices', font_size=28, color=BLUE)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3... | ```python
from manim import *
class SpectralTheoremScene(Scene):
def construct(self):
title = Text('Spectral Theorem Visualization', font_size=40)
subtitle = Text('Diagonalization of Symmetric Matrices', font_size=28, color=BLUE)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Here’s an enhanced version of the animation that retains all the original features while adding a more dynamic and educational sequence:
The animation begins by transforming the initial text into the word "Rotating," which shifts to the top of the screen, just as in the original. Then, a square appears at the center o... | ```python
from manim import *
class EnhancedRotationScene(Scene):
def construct(self):
# Create and transform the initial text
text = Text("Rotating").to_edge(UP)
self.play(Write(text))
self.wait(0.5)
# Create a square and rotate it
square = Square(color=BLUE, fill_... | ```python
from manim import *
class EnhancedRotationScene(Scene):
def construct(self):
# Create and transform the initial text
text = Text("Rotating")
self.play(Write(text))
self.wait(0.5)
# Create a square and rotate it
square = Square(color=BLUE, fill_opacity=0.5)... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for a 9th-grade advanced social studies class on the consequences of resisting collectivization in the Soviet Union. The video should be in 16:9 format and follow this structure:
1. Title slide: Display "Collectivization in the Soviet Union" with a simple historical context note about Stalin's... | ```python
from manim import *
import numpy as np
class CollectivizationConsequences(Scene):
def construct(self):
# Color Palette - Educational Dark Theme
BG_COLOR = "#0f0f0f"
TEXT_COLOR = "#d4d4d4"
ACCENT_RED = "#ff4d4d" # Represents resistance/danger
ACCENT_BLUE = "#4a9e... | ```python
from manim import *
import numpy as np
class CollectivizationConsequences(Scene):
def construct(self):
# Color Palette - Educational Dark Theme
BG_COLOR = "#0f0f0f"
TEXT_COLOR = "#d4d4d4"
ACCENT_RED = "#ff4d4d" # Represents resistance/danger
ACCENT_BLUE = "#4a9e... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm learning undergraduates linear algebra and want a Manim animation visualizing Gaussian elimination on a 3x3 system.
Show the matrix with pivot elements highlighted, then perform the row operations step by step, and finish with back-substitution to reveal the solution vector.
Include separate scenes: initial setup, ... | ```python
from manim import *
class GaussianEliminationLecture(Scene):
def construct(self):
self.current_matrix = None
self.augmented_line = None
self.row_labels = []
title = Text('Gaussian Elimination', font_size=48, color=BLUE)
subtitle = Text('Solving Systems of Linear E... | ```python
from manim import *
class GaussianEliminationLecture(Scene):
def construct(self):
self.current_matrix = None
self.augmented_line = None
self.row_labels = []
title = Text('Gaussian Elimination', font_size=48, color=BLUE)
subtitle = Text('Solving Systems of Linear E... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm learning about internal covariate shift and batch norm. Visualize a layer receiving inputs from a drifting distribution, with a plot showing the mean and variance wandering over training. Then show batch normalization as a clamp that re-centers and scales inputs to a steady distribution, highlighting how the normal... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class InternalCovariateShiftAndBatchNorm(VoiceoverScene):
"""A comprehensive lecture on Internal Covariate Shift and Batch Normalization."""
def construct(self):
# Set up... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class InternalCovariateShiftAndBatchNorm(VoiceoverScene):
"""A comprehensive lecture on Internal Covariate Shift and Batch Normalization."""
def construct(self):
# Set up... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Linear Algebra 2D Matrix Eigenvector Transformation.
```python
from manim import *
import numpy as np
class SciComputeScene1248(Scene):
def construct(self):
plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class SciComputeScene1248(VoiceoverScene):
MARGIN = 0.5
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
class SciComputeScene1248(VoiceoverScene):
MARGIN = 0.5
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | Here’s an enhanced version of the animation that retains all the original features while adding a graphical representation of the definite integral as a shaded area under the curve, along with dynamic annotations to reinforce the connection between the symbolic and visual aspects of integration:
---
The animation beg... | ```python
from manim import *
class DefiniteIntegralScene(Scene):
def construct(self):
# Create the integral expression
integral = MathTex(r"\int_0^2 x^3 \,dx").scale(1.5)
# Create axes and graph
axes = Axes(
x_range=[0, 2.5, 0.5],
y_range=[0, 9, 2],... | ```python
from manim import *
class DefiniteIntegralScene(Scene):
def construct(self):
# Create the integral expression
integral = TexMobject(r"\int_0^2 x^3 \,dx").scale(1.5)
# Create axes and graph
axes = Axes(
x_range=[0, 2.5, 0.5],
y_range=[0, 9, ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | 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... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class SSLTLSHandshake(Scene):
def construct(self):
header = Title('Cryptography Applications: SSL/TLS', color=WHITE)
sub_header = Text('SSL/TLS Handshake Protocol', color=BLUE_C, font_size=36)
sub_header... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class SSLTLSHandshake(Scene):
def construct(self):
header = Title('Cryptography Applications: SSL/TLS', color=WHITE)
sub_header = Text('SSL/TLS Handshake Protocol', color=BLUE_C, font_size=36)
sub_header... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | Construct a clean Manim CE scene initializing Table with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used.
```python
from manim import *
import numpy as np
class ApiValidTable31(Scene):
def construct(self):
obj = Table([['1', '2'... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidTable31(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_frac
max_h = co... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidTable31(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * w_frac
max_h = co... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | Create an educational ManimCE animation on 'Diophantine Equations' (Decoding High-Dimensional Equations: Unveiling Diophantine Mysteries): Could we comprehend the complexity of finding integer solutions in higher dimensions with the equation x⁴ + y⁴ = z⁴?
Visual style guidance: Mathematically rich, 3D animations with a... | ```python
from manim import *
class DiophantineEquations(Scene):
def construct(self):
# Title sequence
title = Text("Decoding High-Dimensional Equations", font_size=40)
subtitle = Text("Unveiling Diophantine Mysteries", font_size=30)
subtitle.next_to(title, DOWN)
# ... | ```python
from manim import *
class DiophantineEquations(Scene):
def construct(self):
# Title sequence
title = Text("Decoding High-Dimensional Equations", font_size=40)
subtitle = Text("Unveiling Diophantine Mysteries", font_size=30)
subtitle
# Display title and sub... | spatial_layout_overlap | synthetic_hard_neg:bespokelabs/bespoke-manim |
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 output a complete, runnable, self-contained Man... | I'm trying to understand abstract reasoning tasks like ARC and want to visualize how an agent identifies patterns. Construct a mini-challenge where scenes evolve from simple shapes to abstract rule discovery, with a growing rule space. Visualize the rule derivation as a decision tree and track where the agent applies i... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class AbstractReasoningVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class AbstractReasoningVisualization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | Here’s an enhanced version of the animation with additional features:
The animation begins by displaying the integral problem \(\int_0^3 x^3 \,dx\) at the center of the screen. As the problem appears, a labeled x-y axis fades in beneath it to provide visual context. Next, the text "Using the power rule of integration:... | ```python
from manim import *
class EnhancedIntegrationScene(Scene):
def construct(self):
# Initial setup
axes = Axes(
x_range=[0, 3.5, 0.5],
y_range=[0, 30, 5],
axis_config={"color": BLUE},
)
axes_labels = axes.get_axis_labels(x_label="x", y_labe... | ```python
from manim import *
class EnhancedIntegrationScene(Scene):
def construct(self):
# Initial setup
axes = Axes(
x_range=[0, 3.5, 0.5],
y_range=[0, 30, 5],
axis_config={"color": BLUE},
)
axes_labels = axes.get_axis_labels(x_label="x", y_labe... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm teaching an advanced course on transformers and want to visualize GLaM's mixture-of-experts routing. Show the gating network selecting experts for each token, with capacity constraints and throughput as the model scales. Include a live example: a sentence segmented into chunks routed to different experts, plus a co... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GatingNetworks(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
# ==== OP... | ```python
from manim import *
class GatingNetworks(Scene):
def construct(self):
title = Text('Gating Networks in Transformers', font_size=40)
title.to_edge(UP)
subtitle = Text('Intelligent Information Flow Control', font_size=24, color=BLUE)
subtitle.next_to(title, DOWN, buff=0.3)
... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | Create an educational ManimCE animation on 'Diophantine Equations' (Journey Through Hyperbolic Worlds: The Beauty of Diophantine Equations): How can we visually represent the integer solutions to the equation x² - 2y² = 1 on the Cartesian plane?
Visual style guidance: The visual style will mimic the smooth, fluid trans... | ```python
from manim import *
class DiophantineEquations(Scene):
def construct(self):
# Title and introduction
title = Text("Journey Through Hyperbolic Worlds")
subtitle = Text("The Beauty of Diophantine Equations", font_size=24)
title_group = VGroup(title, subtitle.next_to(title, D... | ```python
from manim import *
class DiophantineEquations(Scene):
def construct(self):
# Title and introduction
title = Text("Journey Through Hyperbolic Worlds")
subtitle = Text("The Beauty of Diophantine Equations", font_size=24)
title_group = VGroup(title, subtitle).scale(0.7)
... | spatial_layout_overlap | synthetic_hard_neg:bespokelabs/bespoke-manim |
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 output a complete, runnable, self-contained Man... | Construct a clean Manim CE scene initializing Brace with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidBrace407(VoiceoverScene):
def construct(self):
# [SETUP]
self.set_speech_service(GTTSService(transcription_model="base"))
# [LA... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
MARGIN = 0.5
class ApiValidBrace407(VoiceoverScene):
def construct(self):
# [SETUP]
self.set_speech_service(GTTSService(transcription_model="base"))
# [LA... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm studying algorithms and want a visualization of binary search on a sorted array. Show the array as bars, highlight the mid index, and depict the comparisons shrinking the search interval with each step. Include a path tracing the index choices and transitions for successful and unsuccessful searches, plus a small n... | ```python
from manim import *
class BinarySearchVisualization(Scene):
def construct(self):
title = Text('Binary Search Visualization', font_size=48)
subtitle = Text('A faster way to find data', font_size=28)
subtitle.next_to(title, DOWN, buff=0.3)
self.play(Write(title), run_time=2... | ```python
from manim import *
class BinarySearchVisualization(Scene):
def construct(self):
title = Text('Binary Search Visualization', font_size=48)
subtitle = Text('A faster way to find data', font_size=28)
subtitle
self.play(Write(title), run_time=2.0 * 0.6)
self.play(Fad... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Curious about eigenvalues and eigenvectors? I want a geometric visualization for a 2x2 matrix: animate the plane under the linear map, highlight eigen-directions and their scaling, and compare with non-eigen directions. Then visualize the quadratic form x^T A x as a 3D surface and contours to show how eigenvalues shape... | ```python
from manim import *
class EigenvalueVisualization(Scene):
def construct(self):
title = Text('Eigenvalues & Eigenvectors', font_size=40)
subtitle = Text('Geometric Meaning', font_size=28, color=BLUE_B)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3)
title_gro... | ```python
from manim import *
class EigenvalueVisualization(Scene):
def construct(self):
title = Text('Eigenvalues & Eigenvectors', font_size=40)
subtitle = Text('Geometric Meaning', font_size=28, color=BLUE_B)
title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3)
title_gro... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm studying deep learning and want a heatmap visualization of the gradient matrix for a linear layer. Animate the gradient values as a heatmap, showing which weights receive the largest updates during backprop, with color intensity. Include a mini-loop over training steps to show how the gradient pattern evolves, mayb... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientVisualizationScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class GradientVisualizationScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | Create a Manim animation for a 12th grade advanced sociology class about early 20th century Indian worker protests. The video should be in 16:9 format and follow this structure:
1. Title slide: Display "Industrial Unrest in Early 20th Century India" with a subtle background color
2. Context section: Show the historic... | ```python
from manim import *
import numpy as np
class IndustrialUnrestScene(Scene):
def construct(self):
# Define color palette
BG_COLOR = "#0f0f0f"
TEXT_MAIN = "#d4d4d4"
ACCENT_ORANGE = "#e8945e"
ACCENT_BLUE = "#4a9eff"
ACCENT_GREEN = "#6ba76e"
HIGHLIGHT = ... | ```python
from manim import *
import numpy as np
class IndustrialUnrestScene(Scene):
def construct(self):
# Define color palette
BG_COLOR = "#0f0f0f"
TEXT_MAIN = "#d4d4d4"
ACCENT_ORANGE = "#e8945e"
ACCENT_BLUE = "#4a9eff"
ACCENT_GREEN = "#6ba76e"
HIGHLIGHT = ... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | 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 SciComputeScene449(Scene):
def construct(self):
ax = Axes(x_range=[-PI, PI, PI/2], y_range=[-1.5, 1.5, 0.5... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class FourierSquareWaveScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class FourierSquareWaveScene2(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | How does the minimum hitting set change when additional elements are added to the universe or subsets? | ```python
from manim import *
class MinimumHittingSetScene(Scene):
def construct(self):
# Title
title = Text("Decoding the Minimum Hitting Set Problem", font_size=36)
self.play(Write(title))
self.wait(1)
self.play(title.animate.to_edge(UP))
# Introduction te... | ```python
from manim import *
class MinimumHittingSetScene(Scene):
def construct(self):
# Title
title = Text("Decoding the Minimum Hitting Set Problem", font_size=36)
self.play(Write(title))
self.wait(1)
self.play(title.animate)
# Introduction text
i... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/manim-sft-10k |
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 output a complete, runnable, self-contained Man... | I'm learning linear algebra to undergraduates; can you visualize SVD with a 2D point cloud transformed by a matrix A, followed by its decomposition into U, Sigma, V^T?
I want intuition first—show the ellipsoid that Ax maps the unit circle to, with the principal axes and the singular values as stretch factors.
Then pres... | ```python
from manim import *
class SVDIntroScene(Scene):
"""Scene 1: Introduction to SVD - The Big Picture"""
def construct(self):
title = Text('Singular Value Decomposition', font_size=48, color=BLUE)
subtitle = Text('SVD: The Swiss Army Knife of Linear Algebra', font_size=28, color=GRAY)
... | ```python
from manim import *
class SVDIntroScene(Scene):
"""Scene 1: Introduction to SVD - The Big Picture"""
def construct(self):
title = Text('Singular Value Decomposition', font_size=48, color=BLUE)
subtitle = Text('SVD: The Swiss Army Knife of Linear Algebra', font_size=28, color=GRAY)
... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I'm learning optimization to upper-undergraduate students with calculus and linear algebra background.
Create a visual of gradient descent on a non-convex loss with multiple minima; show the 3D surface and the path from different starting points.
Highlight how step size and momentum affect convergence; include animated... | ```python
from manim import *
class GradientDescentScene(Scene):
def construct(self):
title = Text('Gradient Descent Optimization', font_size=48, color=BLUE)
subtitle = Text('The Heart of Machine Learning', font_size=28, color=GRAY)
subtitle.next_to(title, DOWN, buff=0.3)
self.play... | ```python
from manim import *
class GradientDescentScene(Scene):
def construct(self):
title = Text('Gradient Descent Optimization', font_size=48, color=BLUE)
subtitle = Text('The Heart of Machine Learning', font_size=28, color=GRAY)
subtitle.next_to(title, DOWN, buff=0.3)
self.play... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Construct a clean Manim CE scene initializing TangentLine with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used.
```python
from manim import *
import numpy as np
class ApiValidTangentLine33(Scene):
def construct(self):
obj = Tang... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidTangentLine33(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import numpy as np
MARGIN = 0.5
class ApiValidTangentLine33(VoiceoverScene):
def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject:
max_w = config.frame_width * ... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm studying autoregressive language models and want to visualize the evolution of output logits over the vocabulary at each generation step. Show a horizontal bar chart for logits at time t, then animate t+1 with a new set of bars, highlighting the top-1 token. Include a caption describing temperature scaling and a sl... | ```python
from manim import *
class AutoregressiveLM(Scene):
def construct(self):
title = Text('Autoregressive Language Models', font_size=40)
title.to_edge(UP)
self.play(Write(title), run_time=2.0)
intro = Text('Predicting the next word from everything that came before it.', font_... | ```python
from manim import *
class AutoregressiveLM(Scene):
def construct(self):
title = Text('Autoregressive Language Models', font_size=40)
title.to_edge(UP)
self.play(Write(title), run_time=2.0)
intro = Text('Predicting the next word from everything that came before it.', font_... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | Explain eigenvectors and eigenvalues in geometric terms for undergraduates.
Show a 2D linear transformation: start with the unit circle, map to an ellipse under a 2×2 matrix, then highlight the invariant lines along eigenvectors and how the ellipse stretches by the eigenvalues.
Include a quick, visual derivation Av=λv,... | ```python
from manim import *
class EigenValueScene(Scene):
def construct(self):
title = Text('Eigenvectors & Eigenvalues', font_size=48, color=BLUE)
subtitle = Text('The Geometry Behind Matrix Transformations', font_size=28, color=YELLOW)
subtitle.next_to(title, DOWN, buff=0.3)
se... | ```python
from manim import *
class EigenValueScene(Scene):
def construct(self):
title = Text('Eigenvectors & Eigenvalues', font_size=48, color=BLUE)
subtitle = Text('The Geometry Behind Matrix Transformations', font_size=28, color=YELLOW)
subtitle.next_to(title, DOWN, buff=0.3)
se... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Manim-SFT |
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 output a complete, runnable, self-contained Man... | I’m learning about long-range dependencies in sequences and want to visualize the required context size for matching parentheses.
Animate a nested parenthesis string and show how many preceding tokens are needed to correctly pair each opening with its closing symbol.
Use a sliding window with a toggle to vary context l... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class LongRangeDependencies(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class LongRangeDependencies(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | For first-year calculus students, I want an intuitive animation that shows the derivative as a limit of secant slopes. Begin with a smooth function, animate secants approaching the tangent, then reveal the derivative formula and plot f'(x) alongside. Include examples like x^2 and sin x, and a real-world interpretation ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class DerivativeAsLimitOfSecantSlopes(VoiceoverScene):
def construct(self):
# Set up speech service
self.set_speech_service(
GTTSService(voice="alba", cache_di... | ```python
from manim import *
class DerivativeAsLimitOfSecantSlopes(Scene):
def construct(self):
title = Text('Derivative as Limit of Secant Slopes', font_size=48, color=BLUE)
subtitle = Text('Finding the Slope of a Curve at a Point', font_size=28, color=GRAY)
subtitle.next_to(title, DOWN,... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | I'm learning how single gradient outliers affect training dynamics and want a focused visualization. Animate a bar chart where one gradient spike explodes into a red outlier, tracking its impact on the overall norm. Show the surrounding bars barely budging at first, then the explode event, with a timeline caption. I wa... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
import math
class GradientOutliersScene(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
... | ```python
from manim import *
import math
class GradientOutliersScene(Scene):
def construct(self):
title = Text('Gradient Outliers and Training Dynamics', font_size=40)
subtitle = Text('Understanding Their Impact on Model Training', font_size=28)
header = VGroup(title, subtitle).arrange(DO... | narrated_pedagogical_preference | nabin2004/manim-narrated-dpo-400 |
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 output a complete, runnable, self-contained Man... | I'm studying RL optimization with Bayesian methods and ECGA, and I want to visualize how ECGA partitions policy parameters.
Show the probabilistic model built by the algorithm and how BO proposes new policy configurations.
Animate a small model-based RL loop where performance guides updates across iterations.
Include a... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class RLBayesianOptimization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
#... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class RLBayesianOptimization(VoiceoverScene):
def construct(self):
self.set_speech_service(
GTTSService(voice="alba", cache_dir="voiceover_cache")
)
#... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm studying code flow and want a pseudocode block of a forward method animated line-by-line.
Each line should highlight as it executes, showing the evolving tensor values and shapes.
Include a brief real-world example to ground the method in a simple feedforward pass. | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CodeFlowScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
# [... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CodeFlowScene(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
# [... | legacy_api_hallucination | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
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 output a complete, runnable, self-contained Man... | I'm teaching NLP visualization and want a 26x26 heatmap showing a character transition matrix, where each cell color encodes the log-frequency of a character pair. Build a grid with labeled axes for source and target characters, animate a gradual heat buildup across cells, and include a colorbar and a note on interpret... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CharacterTransitionHeatmapScene(VoiceoverScene, ThreeDScene):
def construct(self):
# Setup speech service
self.set_speech_service(
GTTSService(voice="alb... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class CharacterTransitionHeatmapScene(VoiceoverScene, ThreeDScene):
def construct(self):
# Setup speech service
self.set_speech_service(
GTTSService(voice="alb... | spatial_layout_overlap | synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400 |
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 output a complete, runnable, self-contained Man... | I'm learning a linear algebra module to upper-undergraduates and want a visual that makes eigen decomposition intuition-rich. Show a 2D rotation-scaling example to reveal invariant eigenvectors, then a 3D view of a symmetric matrix acting on a shape so eigen-directions stand out. Animate how any vector decomposes into ... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class EigenDecompositionIntuition(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | ```python
from manim import *
from manim_voiceover import VoiceoverScene
from manim_voiceover.services.gtts import GTTSService
class EigenDecompositionIntuition(VoiceoverScene):
def construct(self):
# [SETUP]
# [LAYOUT]
self.set_speech_service(GTTSService(transcription_model="base"))
... | invalid_axes_kwarg | synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.