19 lines
558 B
HTML
19 lines
558 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Dynamic Memory: Two Dimensional Arrays Example </title>
|
|
<script src="../../konva.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Dynamic Memory: Two Dimensional Arrays Example</h1>
|
|
<p>This is an animation of dynamic allocation of two-dimensional arrays. Click the "next step" button to run the animation. <b>Note</b>: we assume rows is 2 and cols is 3. </p>
|
|
|
|
<button onclick="nextstep()">next step</button>
|
|
|
|
<div id="container"></div>
|
|
<script src="two_d_array.js"></script>
|
|
</body>
|
|
</html>
|