Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
id: string
source: string
tier: int64
scene_name: string
scene_base: string
num_animations: int64
num_lines: int64
has_reasoning: bool
prompt: string
code: string
messages: list<item: struct<role: string, content: string>>
  child 0, item: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
num_rich_primitives: int64
to
{'id': Value('string'), 'source': Value('string'), 'tier': Value('int64'), 'scene_name': Value('string'), 'num_animations': Value('int64'), 'num_rich_primitives': Value('int64'), 'prompt': Value('string'), 'code': Value('string'), 'messages': List({'role': Value('string'), 'content': Value('string')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              source: string
              tier: int64
              scene_name: string
              scene_base: string
              num_animations: int64
              num_lines: int64
              has_reasoning: bool
              prompt: string
              code: string
              messages: list<item: struct<role: string, content: string>>
                child 0, item: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              num_rich_primitives: int64
              to
              {'id': Value('string'), 'source': Value('string'), 'tier': Value('int64'), 'scene_name': Value('string'), 'num_animations': Value('int64'), 'num_rich_primitives': Value('int64'), 'prompt': Value('string'), 'code': Value('string'), 'messages': List({'role': Value('string'), 'content': Value('string')})}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
string
source
string
tier
int64
scene_name
string
num_animations
int64
num_rich_primitives
int64
prompt
string
code
string
messages
list
adaption-unified-manim-instructions_003953
priyanshutomar2024/adaption-unified-manim-instructions
1
LineSpacingComparison
8
2
Create a Manim scene comparing the effect of different line spacing values on text.
from manim import * class LineSpacingComparison(Scene): """ A pedagogical scene demonstrating how different line spacing values affect text readability and vertical layout consumption. To run this script: 1. Ensure Manim is installed (pip install manim). 2. Save this code to a file (e.g.,...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
manim-sft-10k_002264
nabin2004/manim-sft-10k
1
EnhancedOctagonRotation
9
4
Here’s an enhanced version of the animation that retains the original features while adding new elements for clarity and visual appeal: The scene begins with a vibrant aqua-colored regular octagon centered on the screen. As the octagon smoothly rotates counterclockwise by 120 degrees over two seconds, a dynamic coor...
from manim import * class EnhancedOctagonRotation(Scene): def construct(self): # Create a regular octagon octagon = RegularPolygon(n=8, color=TEAL, fill_opacity=0.8) octagon.scale(1.5) # Add coordinate axes axes = Axes( x_range=[-3, 3, 1], y_...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_003914
priyanshutomar2024/adaption-unified-manim-instructions
1
FractionPizzaScene
6
3
I would like to create an educational animation that visually demonstrates different fractions using the metaphor of slicing pizzas. The pizzas should be represented as colorful circles with pepperoni, and then portions should be visually removed or highlighted to show 1 whole, 1/2, 3/4, 3/6, and 4/7 fraction parts. Ea...
from manim import * import numpy as np class FractionPizzaScene(Scene): def construct(self): # Configuration for fractions to demonstrate fraction_data = [ (1, 1, r"1"), (1, 2, r"\frac{1}{2}"), (3, 4, r"\frac{3}{4}"), (3, 6, r"\frac{3}{6}"), ...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
manim-sft-10k_000017
nabin2004/manim-sft-10k
1
HilbertTransformExplanation
19
3
What is the effect of the Hilbert Transform on the phase shift of a pure sinusoidal wave, and how can it be visualized using phasors?
from manim import * import numpy as np class HilbertTransformExplanation(Scene): def construct(self): # Introduction title = Text("The Magic of a 90-Degree Turn: Exploring the Hilbert Transform", font_size=28) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) ...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_003946
priyanshutomar2024/adaption-unified-manim-instructions
1
IntegrationByParts
12
2
Could you create an educational animation that illustrates the process of solving an integration by parts problem, specifically integrating the function x times e to the power of x? I would like the animation to first display the problem, then show the steps for setting 'u' and 'dv', followed by an explanation of the i...
from manim import * class IntegrationByParts(Scene): def construct(self): # Define colors for consistent visual language throughout the animation COLOR_U = BLUE COLOR_DV = YELLOW COLOR_V = GREEN COLOR_DU = RED COLOR_RESULT = YELLOW # ----------------...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_003309
priyanshutomar2024/adaption-unified-manim-instructions
1
PythagoreanTheorem
16
3
Could you create an animated video using Manim which visually demonstrates the Pythagorean Theorem, starting by writing out the equation a^2 + b^2 = c^2, then showing a right-angled triangle and labeling its sides as 'a,' 'b,' and 'c'? Afterwards, I would like to see squares being constructed on each of these sides, fo...
from manim import * class PythagoreanTheorem(Scene): def construct(self): # --- 1. Introduction --- equation = MathTex("a^2", "+", "b^2", "=", "c^2") equation.scale(1.5) self.play(Write(equation)) self.wait(1) self.play(FadeOut(equation)) # --- 2. Triangle C...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_005463
priyanshutomar2024/adaption-unified-manim-instructions
1
AreaUnderCurve
10
2
I would like to create an educational animation that demonstrates the concept of finding the area under a curve using integration. Specifically, I want to show the graph of \( x^2 \) along with its plot, then visually display the area under the curve between 0 and 1.5. Following that, I want to introduce the integral s...
from manim import * class AreaUnderCurve(Scene): def construct(self): # --- Step 1: Visualize the Function --- axes = Axes( x_range=[-0.5, 2.5, 1], y_range=[-0.5, 4, 1], axis_config={"include_tip": True}, x_axis_config={"numbers_to_include": [0, 1, 2]...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_003449
priyanshutomar2024/adaption-unified-manim-instructions
1
WaveEquationExplanation
18
3
Can you create an educational animation using Manim to explain the wave equation, showing the equation itself, describing it as a classic partial differential equation, discussing the general form of its solution as a function of both space and time, presenting the d'Alembert solution, explaining that the solutions con...
from manim import * import numpy as np class WaveEquationExplanation(Scene): def construct(self): # --- 1. Equation Display --- title = Text("The Wave Equation", font_size=42).to_edge(UP) wave_eq = MathTex( r"\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
multi_act_v2_00154
synthesized_modular_multi_act_v2
1
MultiActMasterpiece_0154
26
null
Create a long, multi-act 3Blue1Brown-style ManimCE animation video structured into 3 modular acts with clean `FadeOut` stage transitions between acts: - Act 1: Please create an animation that starts with the word "Hello!" appearing at the top of the screen. After a brief pause, I want the word to change to "Goodbye!" i...
from manim import * import numpy as np class MultiActMasterpiece_0154(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_textanimationsequence() self.clea...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_002170
priyanshutomar2024/adaption-unified-manim-instructions
1
TrigIdentityScene
8
3
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 ...
from manim import * import numpy as np class TrigIdentityScene(Scene): def construct(self): # Step 1: Display Initial Function initial_eq = MathTex(r"f(x) = \sin(x) + \cos(x)", font_size=48) self.play(Write(initial_eq)) self.wait(1) # Step 2: Introduce Identity hint...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
multi_act_v2_00400
synthesized_modular_multi_act_v2
1
MultiActMasterpiece_0400
18
null
Create a long, multi-act 3Blue1Brown-style ManimCE animation video structured into 3 modular acts with clean `FadeOut` stage transitions between acts: - Act 1: Here’s the enhanced animation instruction, which retains all the original features while adding significant new elements: - Act 2: How can I create an animati...
from manim import * import numpy as np class MultiActMasterpiece_0400(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_enhancedshapetransformat() self.c...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_005869
priyanshutomar2024/adaption-unified-manim-instructions
1
DefiniteIntegralAnimation
10
3
Could you create an educational animation that visibly explains the steps to calculate the definite integral of the function 3x^2 from 0 to 2, complete with the integration process, simplifying the result, and presenting the final answer?
from manim import * class DefiniteIntegralAnimation(Scene): def construct(self): # --- Configuration and Setup --- # Create axes to visualize the function and its integral axes = Axes( x_range=[0, 3, 1], y_range=[0, 15, 5], axis_config={"include_tip": Tru...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_006095
priyanshutomar2024/adaption-unified-manim-instructions
1
AreaUnderParabola
11
3
Could you create an animation that demonstrates the process of calculating the area under the parabola y=x^2 from x=0 to x=2, showing each step involved in evaluating the definite integral using calculus, along with explanatory text for each step?
from manim import * class AreaUnderParabola(Scene): def construct(self): # --- Configuration --- # Shift axes to the left to accommodate the step-by-step text on the right axes = Axes( x_range=[0, 3, 1], y_range=[0, 5, 1], x_length=6, y_length...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_001130
priyanshutomar2024/adaption-unified-manim-instructions
1
FourierSeriesExplanation
17
5
Can you create an animated educational video using Python that explains the concept of Fourier series by displaying its formula, giving a brief introduction to what it represents, showing the notation for its partial sums, and providing explanations for these mathematical concepts?
from manim import * import numpy as np # Configuration for high-quality rendering config.frame_rate = 60 config.pixel_width = 1920 config.pixel_height = 1080 class FourierSeriesExplanation(Scene): def construct(self): # ------------------------------------------------------------------ # 1. Introd...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_001573
priyanshutomar2024/adaption-unified-manim-instructions
1
NeuralNetworkTraining
7
3
How do I create an animation that shows the training of a simple feedforward neural network using Manim, with specific layers and different colors for the input and output layers?
from manim import * import random class NeuralNetworkTraining(Scene): def construct(self): # --- Configuration --- layer_sizes = [3, 4, 2] # Input, Hidden, Output layer_colors = [BLUE, GRAY, GREEN] # Distinct colors for layers layer_labels = ["Input", "Hidden", "Output"] ...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_005269
priyanshutomar2024/adaption-unified-manim-instructions
1
SolveThirdOrderODE
7
4
I would like an animated explanation of how to solve a third-order linear homogeneous differential equation with constant coefficients. The equation is y''' - 3y'' + 3y' - y = 0. I want the animation to begin by writing the given equation, followed by deriving the characteristic equation r^3 - 3r^2 + 3r - 1 = 0. Then, ...
from manim import * class SolveThirdOrderODE(Scene): def construct(self): # ------------------------------------------------------------------ # Step 1: Display the Equation # ------------------------------------------------------------------ ode_label = Text( "Different...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
adaption-unified-manim-instructions_006216
priyanshutomar2024/adaption-unified-manim-instructions
1
DefiniteIntegralAnimation
9
3
Please create an educational animation that visually demonstrates the process for calculating the definite integral of x^3 from 0 to 2, showing step-by-step how to integrate using limits, evaluating the function at the upper and lower limits, and displaying the final result, which is 4, with a concluding message that r...
from manim import * class DefiniteIntegralAnimation(Scene): def construct(self): # Define colors for limits to track them visually UPPER_COLOR = BLUE LOWER_COLOR = RED # Step 1: Display the integral notation integral_expr = MathTex(r"\int_{0}^{2} x^3 \, dx") ...
[ { "role": "system", "content": "You are an elite Manim Community Edition (ManimCE v0.19+) developer who creates visually rich, deeply animative 3Blue1Brown-style mathematical animations.\nFollow these strict rules in every script:\n1. Output ONLY a single complete, runnable Python code block (`from manim im...
End of preview.

No dataset card yet

Downloads last month
43