user_prompt stringlengths 45 143 | lecture_title stringlengths 18 63 | estimated_duration_seconds int64 80 180 | scenes listlengths 3 7 | full_script stringlengths 1.03k 2.34k | full_manim_code stringlengths 1.91k 6.36k | messages listlengths 3 3 |
|---|---|---|---|---|---|---|
Explain Sine and Cosine using the Unit Circle. | Sine and Cosine on the Unit Circle | 155 | [
{
"scene_description": "Introduce the Unit Circle on a 2D coordinate plane.",
"scene_narration": "To truly understand sine and cosine, we'll use a powerful tool called the Unit Circle. This is a circle centered at the origin of a coordinate plane with a radius of exactly one.",
"animation_code": " ... | To truly understand sine and cosine, we'll use a powerful tool called the Unit Circle. This is a circle centered at the origin of a coordinate plane with a radius of exactly one. Now, let's pick a point on the circle. A line from the origin to this point forms an angle with the positive x-axis, which we'll call theta. ... | from manim import *
class SineAndCosineOnUnitCircle(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
plane = NumberPlane(x_range=[-2, 2, 1], y_range=[-2, 2, 1], x_length=7, y_length=7)
plane.add_coordinates()
circle = Circle(radius=2.0, color=WHITE) # Visually, ... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
Visualize the concept of a limit in calculus. | Understanding Limits in Calculus | 115 | [
{
"scene_description": "Introduce a function on a graph that has a 'hole' or discontinuity at a specific point, x=2.",
"scene_narration": "Let's explore the concept of a limit. Imagine we have this function, f(x) equals x-squared minus 4, all divided by x minus 2. If we try to find the value of the function... | Let's explore the concept of a limit. Imagine we have this function, f(x) equals x-squared minus 4, all divided by x minus 2. If we try to find the value of the function exactly at x equals 2, we run into a problem: we'd be dividing by zero, which is undefined. Our graph has a hole here. Instead of asking what happens ... | from manim import *
class UnderstandingLimits(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
axes = Axes(x_range=[-1, 5, 1], y_range=[-1, 7, 1], x_length=10, y_length=7).add_coordinates()
func = lambda x: (x**2 - 4) / (x - 2)
graph = axes.plot(func, x_range=[-... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
What is Euler's Identity (e^(iπ) + 1=0) and why is it beautiful? | Euler's Identity: The Most Beautiful Equation | 165 | [
{
"scene_description": "Introduce Euler's Identity, highlighting its five fundamental constants.",
"scene_narration": "This is Euler's Identity. Often called the most beautiful equation in mathematics, it connects five of the most fundamental constants in a single, stunningly simple statement. Let's break d... | This is Euler's Identity. Often called the most beautiful equation in mathematics, it connects five of the most fundamental constants in a single, stunningly simple statement. Let's break down what it means and uncover its beauty. Let's meet the cast. We have '1', the foundation of counting; and '0', the concept of not... | from manim import *
import numpy as np
class EulersIdentity(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
identity = MathTex("e", "^i", "\pi", "+", "1", "=", "0").scale(3)
self.play(Write(identity))
self.wait(2)
self.play(
identity[0].anim... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
Animate the process of matrix multiplication. | Visualizing Matrix Multiplication | 150 | [
{
"scene_description": "Introduce two matrices, A and B, and state the rule for their dimensions.",
"scene_narration": "Let's learn how to multiply two matrices. Here we have matrix A, which has 2 rows and 3 columns, and matrix B, with 3 rows and 2 columns. The first crucial rule is that the number of colum... | Let's learn how to multiply two matrices. Here we have matrix A, which has 2 rows and 3 columns, and matrix B, with 3 rows and 2 columns. The first crucial rule is that the number of columns in the first matrix must match the number of rows in the second. Here, they both have 3, so we can proceed. The resulting matrix,... | from manim import *
class VisualizingMatrixMultiplication(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
matrix_a_tex = MathTex("A", "=").move_to(LEFT * 4.5 + UP * 2)
matrix_a = Matrix([[1, 2, 3], [4, 5, 6]], h_buff=1.5).next_to(matrix_a_tex, RIGHT)
dim_a = Ma... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
Explain the difference between permutations and combinations. | Permutations vs. Combinations: Order Matters! | 130 | [
{
"scene_description": "Introduce a simple scenario: choosing 2 letters from a set of 3 (A, B, C).",
"scene_narration": "Let's understand the difference between permutations and combinations with a simple example. Imagine we have three letters: A, B, and C. Our task is to choose two of them. The way we choo... | Let's understand the difference between permutations and combinations with a simple example. Imagine we have three letters: A, B, and C. Our task is to choose two of them. The way we choose them, and whether the order matters, is the crucial difference. First, let's consider Permutations. The key word for permutations ... | from manim import *
class PermutationsVsCombinations(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
title = Text("Choosing 2 letters from 3").to_edge(UP)
letters = VGroup(*[Text(t) for t in ['A', 'B', 'C']])
circles = VGroup(*[Circle(radius=0.7, color=BLUE).su... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
Visualize how a Recursive function works using the factorial example. | Recursion Explained with Factorial | 145 | [
{
"scene_description": "Introduce the factorial function and its standard iterative calculation.",
"scene_narration": "Let's understand recursion, a powerful programming concept where a function calls itself. We'll use a classic example: the factorial. The factorial of a number 'n', written as n!, is just a... | Let's understand recursion, a powerful programming concept where a function calls itself. We'll use a classic example: the factorial. The factorial of a number 'n', written as n!, is just all positive integers up to n multiplied together. For instance, 4 factorial is 4 times 3 times 2 times 1, which equals 24. To solve... | from manim import *
class RecursionExplainedWithFactorial(Scene):
def construct(self):
self.camera.background_color = "#0d1117"
title = Text("What is a Factorial?").to_edge(UP)
calculation = MathTex("4!", "=", "4", "\\times", "3", "\\times", "2", "\\times", "1", "=", "24").scale(1.5)
... | [
{
"role": "developer",
"content": "You are an assistant that MUST convert an instruction + seeds into exactly one, strict JSON object and nothing else. Read these rules carefully and obey them verbatim. OUTPUT FORMAT (non-negotiable) - Return exactly ONE JSON object (no surrounding text, no markdown, no cod... |
Explain Big O notation with examples of O(1), O(n), and O(n²). | Big O Notation: How Code Scales | 175 | [{"scene_description":"Introduce Big O notation as a measure of how an algorithm's runtime scales wi(...TRUNCATED) | "What is Big O notation? Simply put, it's a way to describe how the runtime of an algorithm grows as(...TRUNCATED) | "from manim import *\n\nclass BigONotation(Scene):\n def construct(self):\n self.camera.ba(...TRUNCATED) | [{"role":"developer","content":"You are an assistant that MUST convert an instruction + seeds into e(...TRUNCATED) |
Animate the Quicksort algorithm on a list of numbers. | Quicksort: A Divide and Conquer Algorithm | 160 | [{"scene_description":"Introduce the Quicksort algorithm and the concept of 'Divide and Conquer' wit(...TRUNCATED) | "Quicksort is a famously fast sorting algorithm that uses a strategy called 'Divide and Conquer'. Le(...TRUNCATED) | "from manim import *\n\nclass QuicksortAlgorithm(Scene):\n def construct(self):\n self.cam(...TRUNCATED) | [{"role":"developer","content":"You are an assistant that MUST convert an instruction + seeds into e(...TRUNCATED) |
What is a Linked List and how does it differ from an Array? | Linked Lists vs. Arrays | 150 | [{"scene_description":"Introduce the Array data structure using a simple analogy of numbered boxes."(...TRUNCATED) | "To understand a Linked List, let's first look at its common alternative: the Array. An array is lik(...TRUNCATED) | "from manim import *\n\nclass LinkedListsVsArrays(Scene):\n def construct(self):\n self.ca(...TRUNCATED) | [{"role":"developer","content":"You are an assistant that MUST convert an instruction + seeds into e(...TRUNCATED) |
Explain how a simple Neural Network processes information. | How a Simple Neural Network Works | 180 | [{"scene_description":"Introduce a simple problem: identifying a handwritten digit. Show the basic s(...TRUNCATED) | "How does a machine learn to recognize something, like a handwritten digit? It uses a structure insp(...TRUNCATED) | "from manim import *\n\nclass SimpleNeuralNetwork(Scene):\n def construct(self):\n self.ca(...TRUNCATED) | [{"role":"developer","content":"You are an assistant that MUST convert an instruction + seeds into e(...TRUNCATED) |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 5