Fix: Delfine tauchen jetzt unter die Wasseroberfläche
start_ys=[8,2,5] ließ Delfine nur zwischen y=1 und y=8 pendeln – genau an der Wasseroberfläche (Wellen bei y=5-8), nie darunter. Neuer Bogen [10,4,7]: Amplitude ±7, Zentrum y=10. Delfine spannen y=3 (über den Wellen) bis y=10 (unter Wasser) und durchqueren die Oberfläche in beiden Phasen.
This commit is contained in:
parent
79f42a5f1e
commit
46402b64f9
1 changed files with 7 additions and 2 deletions
|
|
@ -1174,8 +1174,13 @@ ygcgwwwww ygcgwwwww ygcgwwwww
|
|||
masks = [mask] * 2
|
||||
base_x = -13 if going_right else self.cols - 2
|
||||
|
||||
# Three dolphins offset in their path cycle (offsets 0, 12, 24)
|
||||
start_ys = [8, 2, 5]
|
||||
# Three dolphins offset in their path cycle (offsets 0, 12, 24).
|
||||
# start_ys are the y positions at path offsets 0, 12, 24.
|
||||
# With amplitude ±7 and center y=10 the arc spans y=3 (above waves)
|
||||
# to y=10 (just below waterline), crossing the surface in both phases.
|
||||
# Cumulative dy: offset 0→0, offset 12→-6, offset 24→-3
|
||||
# so start_ys = [10, 10-6, 10-3] = [10, 4, 7]
|
||||
start_ys = [10, 4, 7]
|
||||
colors = ['b', 'B', 'C']
|
||||
for i in range(3):
|
||||
is_lead = (i == 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue