summaryrefslogtreecommitdiff
path: root/modularcircles.html
diff options
context:
space:
mode:
Diffstat (limited to 'modularcircles.html')
-rw-r--r--modularcircles.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/modularcircles.html b/modularcircles.html
new file mode 100644
index 0000000..0267b03
--- /dev/null
+++ b/modularcircles.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+<title>Modular circles</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 circles</h2>
+<div id="header_links_div"></div>
+<script src="js/header_links.js"></script>
+<hr>
+
+<p>Each point corresponds to a number. The points are connected based on rules.</p>
+
+<script src="js/modularcircles.js"></script>
+Number of points: <input min="1" value="300" type="number" id="npoints"><br>
+Add/Multiply: <input value="2" step="0.2" type="number" id="amount"><br>
+Multiply? <input id="should_mul" type="radio" value="multiply" name="muloradd" checked="true"><br>
+Add? <input id="should_add" type="radio" value="add" name="muloradd"><br>
+</body>
+</html> \ No newline at end of file