summaryrefslogtreecommitdiff
path: root/modularpascal.html
diff options
context:
space:
mode:
Diffstat (limited to 'modularpascal.html')
-rw-r--r--modularpascal.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/modularpascal.html b/modularpascal.html
new file mode 100644
index 0000000..62c05bc
--- /dev/null
+++ b/modularpascal.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+<title>Modular pascal</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>Modular Pascal's Triangle</h2>
+<div id="header_links_div"></div>
+<script src="js/header_links.js"></script>
+<hr>
+<p>A picture of Pascal's triangle mod x. This program might be a bit slow.</p>
+
+
+<script src="js/modularpascal.js"></script>
+x: <input min="1" value="2" type="number" id="mod"><br>
+<button onclick="updateTriangle();">Update</button><br>
+</body>
+</html> \ No newline at end of file