Mandelbrot mit JSXGraph
Aus Wiki1
(Unterschied zwischen Versionen)
| Zeile 41: | Zeile 41: | ||
let x = 0, y = 0, iter = 0; | let x = 0, y = 0, iter = 0; | ||
while (x*x + y*y <= 4 && iter < maxIter) { | while (x*x + y*y <= 4 && iter < maxIter) { | ||
| - | const xtemp = Math.pow(x,sliderForm.Value()) - | + | const xtemp = Math.pow(x,sliderForm.Value()) - y*y + cx; |
y = 2*x*y + cy; | y = 2*x*y + cy; | ||
x = xtemp; | x = xtemp; | ||
Version vom 12:27, 26. Sep. 2025
Mit den Schiebereglern können Iterations-Tiefe und Zoom gesteuert werden. Mit der Maus+linke Maustaste kann der Bildausschnitt verschoben werden.
