newton.html

URL: https://mirkwood.cs.edinboro.edu/~bennett/class/cmsc3780/spring2026/notes/javascript/code/four/newton.html
 
<html lang="en">

<head>
<script type="module" src="main.js"></script>
<title> Newton Fractal </title>
</head>

<body>
    <canvas id="MyCanvas" height="400" width="400" 
          style="border: 2px solid black;">
    </canvas>

    <br>

    <label for="inset">Inset Value</label>
    <input id="inset" type=number" value="0"/>
    <button id="doit">Redraw</button>
    <br>

    <div id="output"> 
    </div>
<script>
   var ctx = document.getElementById("MyCanvas").getContext("2d")
</script>
</body>
</html>