Skip to content

Commit 7cead84

Browse files
authored
Update indication.py (#3477)
reading docs, im sure oppising isnt a word
1 parent 28bf4dd commit 7cead84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manim/animation/indication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def wave(t):
415415
# This wave is build up as follows:
416416
# The time is split into 2*ripples phases. In every phase the amplitude
417417
# either rises to one or goes down to zero. Consecutive ripples will have
418-
# their amplitudes in oppising directions (first ripple from 0 to 1 to 0,
418+
# their amplitudes in opposing directions (first ripple from 0 to 1 to 0,
419419
# second from 0 to -1 to 0 and so on). This is how two ripples would be
420420
# divided into phases:
421421

@@ -454,7 +454,7 @@ def wave(t):
454454
return wave_func(t * phases)
455455
elif phase == phases - 1:
456456
# last ripple. Rising or falling depending on the number of ripples
457-
# The (ripples % 2)-term is used to make this destinction.
457+
# The (ripples % 2)-term is used to make this distinction.
458458
t -= phase / phases # Time relative to the phase
459459
return (1 - wave_func(t * phases)) * (2 * (ripples % 2) - 1)
460460
else:

0 commit comments

Comments
 (0)