Dataset Viewer
Auto-converted to Parquet Duplicate
file_path
stringclasses
9 values
content
stringclasses
9 values
Manim-Tutorials-2021_brianamedee/5Tutorial_Adv2D.py
from manim import * # HELPERS FOR COMPLEX SCENES, you can always create your own :) def get_horizontal_line_to_graph(axes, function, x, width, color): result = VGroup() line = DashedLine( start=axes.c2p(0, function.underlying_function(x)), end=axes.c2p(x, function.underlying_function(x)), ...
Manim-Tutorials-2021_brianamedee/3Tutorial_LA.py
from re import L from manim import * import random class Matrix(LinearTransformationScene): def __init__(self): LinearTransformationScene.__init__( self, show_coordinates=True, leave_ghost_vectors=True, show_basis_vectors=True, ) def construct(s...
Manim-Tutorials-2021_brianamedee/1Tutorial_Intro.py
from manim import * import numpy as np import random class Tute1(Scene): def construct(self): plane = NumberPlane(x_range=[-7,7,1], y_range=[-4,4,1]).add_coordinates() box = Rectangle(stroke_color = GREEN_C, stroke_opacity=0.7, fill_color = RED_B, fill_opacity = 0.5, height=1, width=1) do...
Manim-Tutorials-2021_brianamedee/2Tutorial_2D.py
from manim import * class GraphingIntro(Scene): def construct(self): backg_plane = NumberPlane(x_range=[-7,7,1], y_range=[-4,4,1]).add_coordinates() code = Code("Tute2Intro.py", style=Code.styles_list[12], background ="window", language = "python", insert_line_no = True, tab_width = 2, lin...
Manim-Tutorials-2021_brianamedee/Manim_Tute_DetailedUpdaters.py
from manim import * import random class Old1(Scene): def construct(self): box = Rectangle( height=4, width=6, fill_color=BLUE, fill_opacity=0.55, stroke_color=WHITE ) text = MathTex("ln(2)") text.add_updater(lambda m: text.move_to(box.get_center())) self.add(...
Manim-Tutorials-2021_brianamedee/CalculusTute.py
from manim import * class CalculusSlopes(Scene): def construct(self): plane = NumberPlane( x_range=[-3, 3], y_range=[-4, 14], y_length=7, x_length=6 ).add_coordinates() graph1 = plane.get_graph(lambda x: x ** 2, x_range=[-3, 3], color=RED) graph1_lab = ( M...
Manim-Tutorials-2021_brianamedee/6Tutorial_Prob.py
from manim import * import random HOME = "C:\manim\Manim_7_July\Projects\\assets\Images" HOME2 = "C:\manim\Manim_7_July\Projects\\assets\SVG_Images" # This is for SVG Files to be imported. It is the directory from my PC class RandomNumbers(Scene): def construct(self): numbers = VGroup() for x i...
Manim-Tutorials-2021_brianamedee/7SAofRevolution.py
from re import L from manim import * # HELPERS def get_arc_lines( graph, plane, dx=1, x_min=None, x_max=None, line_color=RED, line_width=3 ): dots = VGroup() lines = VGroup() result = VGroup(dots, lines) x_range = np.arange(x_min, x_max, dx) colors = color_gradient([BLUE_B, GREEN_B], len(x_ra...
Manim-Tutorials-2021_brianamedee/4Tutorial_3D.py
from manim import * class Tute1(ThreeDScene): def construct(self): axes = ThreeDAxes( x_range=[-6, 6, 1], y_range=[-6, 6, 1], z_range=[-6, 6, 1], x_length=8, y_length=6, z_length=6, ) graph = axes.get_graph(lambda x:...
README.md exists but content is empty.
Downloads last month
48