adding the animation directory
This commit is contained in:
18
animations/recursion/factorial/index.html
Normal file
18
animations/recursion/factorial/index.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Recursive Programs: factorial</title>
|
||||
<script src="../../konva.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Recursive Programs: factorial</h1>
|
||||
<p>This is the animation of a recursive implementation of the factorial computation. Click the "next step" button to run the animation. <b>Note:</b> we assume the user calls fact(4).</p>
|
||||
|
||||
<button onclick="nextstep()">next step</button>
|
||||
|
||||
<div id="container"></div>
|
||||
<script src="factorial.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user