summaryrefslogtreecommitdiff
path: root/ant.html
diff options
context:
space:
mode:
Diffstat (limited to 'ant.html')
-rw-r--r--ant.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/ant.html b/ant.html
new file mode 100644
index 0000000..36c5bb5
--- /dev/null
+++ b/ant.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+<title>Langton's Ant</title>
+<link rel="stylesheet" href="css/bootstrap.min.css">
+<link rel="stylesheet" href="css/style.css">
+<script src="js/p5.js"></script>
+</head>
+<body>
+<h2>Langton's Ant</h2>
+<div id="header_links_div"></div>
+<script src="js/header_links.js"></script>
+<hr>
+
+<button onclick="start();">Start</button><br>
+<button onclick="stop();">Stop</button><br>
+<button onclick="clearCells();">Clear</button><br>
+<button onclick="resetPos();">Reset ant position</button><br>
+<div>Speed: <input type="number" id="speed" value=1></div>
+
+<script src="js/ant.js"></script>
+</html> \ No newline at end of file