system stringclasses 1
value | prompt stringlengths 56 1.4k | chosen stringlengths 559 6.34k | rejected stringlengths 583 6.35k |
|---|---|---|---|
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Create a long, multi-act 3Blue1Brown-style ManimCE animation video structured into 2 modular acts with clean `FadeOut` stage transitions between acts:
- Act 1: Can you create an educational animation that shows step-by-step how to solve a triple integral problem, specifically the integral of xyz over the range from -1 ... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0783(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_areaundercurveexample()
... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0783(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_areaundercurveexample()
... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | I would like an animated video that simulates a basic chemical reaction where an electron reacts with an oxygen atom to form an oxygen ion and then combines with a metal atom to create a metal oxide. The video should start with a title "Chemical Reaction Simulation" at the top. Initially, the electron should be on the ... | ```python
from manim import *
class ChemicalReactionSimulation(Scene):
def construct(self):
# 1. Title Setup
title = Text("Chemical Reaction Simulation", font_size=36)
title.to_edge(UP)
self.play(Write(title), run_time=2)
self.wait(0.5)
# 2. Initial Objects Position... | ```python
from manim import *
class ChemicalReactionSimulation(Scene):
def construct(self):
# 1. Title Setup
title = Text("Chemical Reaction Simulation", font_size=36)
title.to_edge(UP)
self.play(Write(title), run_time=2)
self.wait(0.5)
# 2. Initial Objects Position... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Could you create an educational animation that demonstrates how to evaluate the definite integral of x squared from 0 to 2, including the step-by-step process from stating the problem to showing the calculation of the indefinite integral, applying the bounds, evaluating at the bounds, and then presenting the final solu... | ```python
from manim import *
class DefiniteIntegralEvaluation(Scene):
def construct(self):
# --- Configuration ---
step_color = BLUE_B
math_color = YELLOW
result_color = GREEN
# --- Step 1: State the Problem ---
step1_label = Text("1. State the Problem", font_size=... | ```python
from manim import *
class DefiniteIntegralEvaluation(Scene):
def construct(self):
# --- Configuration ---
step_color = BBLUE_B
math_color = YELLOW
result_color = GREEN
# --- Step 1: State the Problem ---
step1_label = Text("1. State the Problem", font_size... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | How does the flow of a Hamiltonian vector field preserve the symplectic form on a manifold? | ```python
from manim import *
class SymplecticGeometry(Scene):
def construct(self):
# Scene setup and introduction
title = Text("The Flow of Symplectic Harmony", font_size=36)
subtitle = Text("Hamiltonian Vector Fields Unveiled", font_size=24, color=BLUE)
subtitle.next_to(title, DOW... | ```python
from manim import *
class SymplecticGeometry(Scene):
def construct(self):
# Scene setup and introduction
title = Text("The Flow of Symplectic Harmony", font_size=36)
subtitle = Text("Hamiltonian Vector Fields Unveiled", font_size=24, color=BBLUE)
subtitle.next_to(title, DO... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Can you create an animated explanation video that shows how to integrate the sine function from 0 to pi, including the steps of integrating, evaluating the definite integral, and concluding with the result of the integration? | ```python
from manim import *
class IntegrateSine(Scene):
def construct(self):
# ------------------------------------------------------------------
# Step 1: Display the original integral expression
# ------------------------------------------------------------------
lhs = MathTex(r... | ```python
from manim import *
class IntegrateSine(Scene):
def construct(self):
# ------------------------------------------------------------------
# Step 1: Display the original integral expression
# ------------------------------------------------------------------
lhs = MathTex(r... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | How can the Gelfand transform of a Banach algebra be visualized on the unit circle in the complex plane? | ```python
from manim import *
class GelfandTransformScene(Scene):
def construct(self):
# Set dark background
self.camera.background_color = "#0B1021"
# Title
title = Text("Gelfand Transform: Banach Algebras on the Unit Circle", color=BLUE_C, font_size=28)
self.play(... | ```python
from manim import *
class GelfandTransformScene(Scene):
def construct(self):
# Set dark background
self.camera.background_color = "#0B1021"
# Title
title = Text("Gelfand Transform: Banach Algebras on the Unit Circle", color=BLUE_C, font_size=28)
self.play(... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | 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 ShortestPathSummary(Scene):
def construct(self):
title = Text('Shortest Path Algorithms Summary', 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 ShortestPathSummary(Scene):
def construct(self):
title = Text('Shortest Path Algorithms Summary', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = Line(LEFT, RIGHT, ... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | 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 CommonMistakes(Scene):
def construct(self):
title = Title('Examples of Common Mistakes')
self.play(Write(title))
self.wait(1)
heading1 = Text('1. Mathematical Consecutive Writing Error', fo... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class CommonMistakes(Scene):
def construct(self):
title = Title('Examples of Common Mistakes')
self.play(Write(title))
self.wait(1)
heading1 = Text('1. Mathematical Consecutive Writing Error', fo... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | I would like an educational animation that illustrates the concept of the one-dimensional wave equation using math formulas. Start with the wave equation itself, then provide a brief explanation that this represents a one-dimensional wave equation. Next, show an important aspect of seeking solutions for this wave equat... | ```python
from manim import *
class WaveEquationAnimation(Scene):
def construct(self):
# --- Step 1: Display the Equation ---
wave_eq = MathTex(
r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}",
font_size=48
)
wave_eq.to_edge(UP)
... | ```python
from manim import *
class WaveEquationAnimation(Scene):
def construct(self):
# --- Step 1: Display the Equation ---
wave_eq = MathTex(
r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}",
font_size=48
)
wave_eq.to_edge(UP)
... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Could you create an educational math animation that visually demonstrates the concept of limits in calculus using a graph? Specifically, I'd like to see a simple graph, like a parabola for the function y=x^2, where you show how the value of the function approaches a certain point as x approaches the value of 2. Also, i... | ```python
from manim import *
class LimitConcept(Scene):
def construct(self):
# 1. Create Coordinate System
axes = Axes(
x_range=[-1, 4, 1],
y_range=[-1, 10, 2],
axis_config={"include_tip": True}
).add_coordinates()
labels = axes.get_axis_labels(x... | ```python
from manim import *
class LimitConcept(Scene):
def construct(self):
# 1. Create Coordinate System
axes = Axes(label_font_size=24,
x_range=[-1, 4, 1],
y_range=[-1, 10, 2],
axis_config={"include_tip": True}
).add_coordinates()
labels = ax... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | 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 BSPTraversal(Scene):
def construct(self):
title = Text('Traversal and Rendering of BSP Trees', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = Line(LEFT, RIGHT, col... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class BSPTraversal(Scene):
def construct(self):
title = Text('Traversal and Rendering of BSP Trees', font_size=34, color=WHITE, weight=BOLD)
title.to_edge(UP, buff=0.5)
title_line = Line(LEFT, RIGHT, col... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | 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 RevolutionaryTransformation(Scene):
def construct(self):
title = Text('Revolutionary Transformation\nof Marxist Philosophy', font_size=48, weight=BOLD, t2c={'Marxist Philosophy': YELLOW}, line_spacing=1.2)
... | ```python
from manim import *
from manim import config
Text.set_default(font='SimHei')
class RevolutionaryTransformation(Scene):
def construct(self):
title = Text('Revolutionary Transformation\nof Marxist Philosophy', font_size=48, weight=BOLD, t2c={'Marxist Philosophy': YELLOW}, line_spacing=1.2)
... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Create a long, multi-act 3Blue1Brown-style ManimCE animation video structured into 3 modular acts with clean `FadeOut` stage transitions between acts:
- Act 1: Create a Manim animation scene that displays the product rule formula for derivatives. The equation should be written as: d/dx[f(x)g(x)] = f(x) d/dx g(x) + g(x)... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0404(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_productrulevisualization()
... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0404(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_productrulevisualization()
... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Could you create an animation that visually demonstrates how to solve a triple integral step by step, particularly the integral of xyz from 0 to 1 with respect to x, y, and z? I'd like to see the integral displayed, then an explanation of integrating with respect to x first, followed by y, and then z, with each step sh... | ```python
from manim import *
class TripleIntegralSolution(Scene):
def construct(self):
# 1. Initial Display
integral = MathTex(r"\int_0^1 \int_0^1 \int_0^1 xyz \, dx \, dy \, dz")
integral.shift(UP * 2)
# Create a 3D-looking cube using a group of squares/lines for simplici... | ```python
from manim import *
class TripleIntegralSolution(Scene):
def construct(self):
# 1. Initial Display
integral = MathTex(r"\int_0^1 \int_0^1 \int_0^1 xyz \, dx \, dy \, dz")
integral.shift(UP * 2)
# Create a 3D-looking cube using a group of squares/lines for simplici... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | I would like to create an educational animation where a trigonometric function composed of the sine and cosine functions is shown. First, display the function "f(x) = sin(x) + cos(x)" on the screen. Then, introduce the idea of a trigonometric identity with a text saying "Use a trigonometric identity" at the top of the ... | ```python
from manim import *
import numpy as np
class TrigIdentityAnimation(Scene):
def construct(self):
# 1. Initial Display: Show the function text "f(x) = sin(x) + cos(x)"
original_eq = MathTex("f(x)", "=", "\\sin(x)", "+", "\\cos(x)")
self.play(Write(original_eq))
self.wait(1)
... | ```python
from manim import *
import numpy as np
class TrigIdentityAnimation(Scene):
def construct(self):
# 1. Initial Display: Show the function text "f(x) = sin(x) + cos(x)"
original_eq = MathTex(r"f(x)" + " = x", "=", "\\sin(x)", "+", "\\cos(x)")
self.play(Write(original_eq))
sel... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Here is the enhanced animation instruction that maintains all original features while adding significant new elements:
The enhanced animation begins by creating a feedforward neural network with three layers (4-input, 6-hidden with ReLU activation, and 3-output with Softmax), just like the original. As the network app... | ```python
from manim import *
import numpy as np
class EnhancedNeuralNetwork(Scene):
def construct(self):
# Colors
NEURON_COLOR = BLUE
CONNECTION_COLOR = GREY
INPUT_COLOR = GREEN
HIDDEN_COLOR = BLUE
OUTPUT_COLOR = RED
ACTIVATION_COLOR = YELLOW
... | ```python
from manim import *
import numpy as np
class EnhancedNeuralNetwork(Scene):
def construct(self):
# Colors
NEURON_COLOR = BLUE
CONNECTION_COLOR = GREY
INPUT_COLOR = GREEN
HIDDEN_COLOR = BLUE
OUTPUT_COLOR = RED
ACTIVATION_COLOR = YELLOW
... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Can you create an educational animation that visually demonstrates the concept of integrating the function y = x^2 from 0 to 2, including the representation of the area under the curve, the integrand written as a mathematical problem, the steps to solve the integration, and the final solution, while also adding a clean... | ```python
from manim import *
class IntegrationVisualization(Scene):
def construct(self):
# 1. Setup Coordinate System and Graph
axes = Axes(
x_range=[0, 2.5, 0.5],
y_range=[0, 5, 1],
x_length=6,
y_length=4.5,
axis_config={"include_tip": T... | ```python
from manim import *
class IntegrationVisualization(Scene):
def construct(self):
# 1. Setup Coordinate System and Graph
axes = Axes(font_size=24,
x_range=[0, 2.5, 0.5],
y_range=[0, 5, 1],
x_length=6,
y_length=4.5,
axis_config={"i... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | "Can you create an animated video that visually demonstrates how data flows through a simple convolutional neural network with the following layer configuration: one input channel followed by three convolutional layers with 8, 6, and 2 filters respectively, and the second and third convolutional layers having a kernel ... | ```python
from manim import *
class CNNDataFlow(Scene):
def construct(self):
# Define colors for each layer type
input_color = GRAY
conv1_color = BLUE
conv2_color = GREEN
pool_color = YELLOW
conv3_color = RED
# Helper function to create a 3D-style stack of f... | ```python
from manim import *
class CNNDataFlow(Scene):
def construct(self):
# Define colors for each layer type
input_color = GRAY
conv1_color = BBLUE
conv2_color = GREEN
pool_color = YELLOW
conv3_color = RED
# Helper function to create a 3D-style stack of ... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Here’s an enhanced version of the animation that retains all the original features while adding significant new elements:
The enhanced animation begins by constructing a neural network with three feedforward layers (3-5-3 neurons) centered on the screen, scaled for visibility. As the forward propagation animation play... | ```python
from manim import *
import numpy as np
class EnhancedNeuralNetwork(Scene):
def construct(self):
# Create neural network layers
input_layer = VGroup(*[Circle(radius=0.2, color=BLUE, fill_opacity=0.8) for _ in range(3)])
hidden_layer = VGroup(*[Circle(radius=0.2, color=GREEN, fill_o... | ```python
from manim import *
import numpy as np
class EnhancedNeuralNetwork(Scene):
def construct(self):
# Create neural network layers
input_layer = VGroup(*[Circle(radius=0.2, color=BBLUE, fill_opacity=0.8) for _ in range(3)])
hidden_layer = VGroup(*[Circle(radius=0.2, color=GREEN, fill_... |
You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.
Follow these strict rules in every script:
1. Output ONLY a single complete, runnable Python code block (`from manim import *`). Never truncate code and never output... | Create a long, multi-act 3Blue1Brown-style ManimCE animation video structured into 2 modular acts with clean `FadeOut` stage transitions between acts:
- Act 1: Generate a Manim animation to explain the concept of divergence and curl in vector calculus. Visualize vector fields and their behavior, and include a title say... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0024(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_divergenceandcurl()
sel... | ```python
from manim import *
import numpy as np
class MultiActMasterpiece_0024(Scene):
def clear_stage(self):
if self.mobjects:
self.play(*[FadeOut(m) for m in self.mobjects], run_time=0.8)
self.wait(0.4)
def construct(self):
self.act_1_divergenceandcurl()
sel... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 29