adding the animation directory

This commit is contained in:
Jidong Xiao
2023-09-11 21:11:17 -04:00
parent 896f54986b
commit aaf6d28ec6
45 changed files with 28133 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recursive Programs: fibonacci</title>
<script src="../../konva.js"></script>
</head>
<body>
<h1>Recursive Programs: fibonacci</h1>
<p>This animation shows the time complexity of the recursive implementation of the fibonacci computation. Click the "next step" button to run the animation. <b>Note:</b> we assume each add operation takes constant time, and we use C to denote this constant time.</p>
<button onclick="nextstep()">next step</button>
<div id="container"></div>
<script src="fibonacci.js"></script>
</body>
</html>