Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
392 changes: 218 additions & 174 deletions from_3b1b/active/bayes/footnote.py

Large diffs are not rendered by default.

1,852 changes: 898 additions & 954 deletions from_3b1b/old/borsuk.py

Large diffs are not rendered by default.

420 changes: 182 additions & 238 deletions from_3b1b/old/clacks/question.py

Large diffs are not rendered by default.

760 changes: 375 additions & 385 deletions from_3b1b/old/eola/chapter5.py

Large diffs are not rendered by default.

646 changes: 307 additions & 339 deletions from_3b1b/old/turbulence.py

Large diffs are not rendered by default.

3,368 changes: 1,697 additions & 1,671 deletions from_3b1b/old/uncertainty.py

Large diffs are not rendered by default.

20 changes: 8 additions & 12 deletions manimlib/animation/specialized.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ def check_if_input_is_car(self, car):
def begin(self):
super().begin()
car = self.mobject
distance = get_norm(op.sub(
self.target_mobject.get_right(),
self.starting_mobject.get_right(),
))
distance = get_norm(
op.sub(
self.target_mobject.get_right(),
self.starting_mobject.get_right(),
)
)
if not self.moving_forward:
distance *= -1
tire_radius = car.get_tires()[0].get_width() / 2
Expand All @@ -55,7 +57,6 @@ class Broadcast(LaggedStart):
"n_circles": 5,
"start_stroke_width": 8,
"color": WHITE,
"remover": True,
"lag_ratio": 0.2,
"run_time": 3,
"remover": True,
Expand All @@ -70,15 +71,10 @@ def __init__(self, focal_point, **kwargs):
stroke_color=BLACK,
stroke_width=0,
)
circle.add_updater(
lambda c: c.move_to(focal_point)
)
circle.add_updater(lambda c: c.move_to(focal_point))
circle.save_state()
circle.set_width(self.small_radius * 2)
circle.set_stroke(self.color, self.start_stroke_width)
circles.add(circle)
animations = [
Restore(circle)
for circle in circles
]
animations = [Restore(circle) for circle in circles]
super().__init__(*animations, **kwargs)
Loading