From 0213ee80e70b0ff4ae341c673bba8d6cc168ebff Mon Sep 17 00:00:00 2001 From: JosephD <46393716+jcep@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:00:39 +0700 Subject: [PATCH] Update indication.py reading docs, im sure oppising isnt a word --- manim/animation/indication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manim/animation/indication.py b/manim/animation/indication.py index 572ed85c91..90d8113b43 100644 --- a/manim/animation/indication.py +++ b/manim/animation/indication.py @@ -415,7 +415,7 @@ def wave(t): # This wave is build up as follows: # The time is split into 2*ripples phases. In every phase the amplitude # either rises to one or goes down to zero. Consecutive ripples will have - # their amplitudes in oppising directions (first ripple from 0 to 1 to 0, + # their amplitudes in opposing directions (first ripple from 0 to 1 to 0, # second from 0 to -1 to 0 and so on). This is how two ripples would be # divided into phases: @@ -454,7 +454,7 @@ def wave(t): return wave_func(t * phases) elif phase == phases - 1: # last ripple. Rising or falling depending on the number of ripples - # The (ripples % 2)-term is used to make this destinction. + # The (ripples % 2)-term is used to make this distinction. t -= phase / phases # Time relative to the phase return (1 - wave_func(t * phases)) * (2 * (ripples % 2) - 1) else: