Mandelbrot mit JSXGraph

Aus Wiki1

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 17: Zeile 17:
   const div = document.getElementById('jxgbox');
   const div = document.getElementById('jxgbox');
   const canvas = document.createElement('canvas');
   const canvas = document.createElement('canvas');
-
   canvas.width = 400;
+
   canvas.width = 600;
   canvas.height = 400;
   canvas.height = 400;
   canvas.style.position = 'absolute';
   canvas.style.position = 'absolute';
-
   canvas.style.left = "0px";
+
   canvas.style.left = "100px";
-
   canvas.style.top = "0px";
+
   canvas.style.top = "100px";
   div.appendChild(canvas);
   div.appendChild(canvas);
   const ctx = canvas.getContext('2d');
   const ctx = canvas.getContext('2d');

Version vom 10:37, 15. Sep. 2025

Persönliche Werkzeuge