summaryrefslogtreecommitdiff
path: root/2pi.html
blob: 35f2307c50a1537a0ab43fdc30acadc8645224c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<title>π calculator</title>

<meta charset="utf-8">

<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/p5.js"></script>

</head>
<body>
<h2>π calculator</h2>
<div id="header_links_div"></div>
<script src="js/header_links.js"></script>
<hr>
<p>Since 2π day is today (6/28), here's a π/2π calculator. Draw a circle, then find out how well your circle approximates π!<br>
<button onclick="calculate();">Calculate π</button><br>
<div id="info"></div>
<script src="js/2pi.js"></script>

</html>