This commit is contained in:
Louis Dalibard 2025-01-16 21:48:08 +01:00
parent 145abd9383
commit a81f476c8d

View File

@ -103,7 +103,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
r, θ := cmplx.Polar(X[1]) r, θ := cmplx.Polar(X[1])
maxR := r maxR := r
maxθ := θ maxθ := θ
maxi := 1 maxi := uint32(1)
for i := uint32(0); i < numSamples-1; i++ { for i := uint32(0); i < numSamples-1; i++ {
r, θ = cmplx.Polar(X[i+1]) r, θ = cmplx.Polar(X[i+1])
if r > maxR { if r > maxR {