diff options
author | pommicket <leonardomtenenbaum@gmail.com> | 2016-07-01 17:43:58 -0400 |
---|---|---|
committer | pommicket <leonardomtenenbaum@gmail.com> | 2016-07-01 17:43:58 -0400 |
commit | be06edbcfd1213ea1658d36f8934493a92205aac (patch) | |
tree | 28dca6130833e3a770611961bc6559c08bed4161 /2pi.html |
Created pommicket.github.io
Diffstat (limited to '2pi.html')
-rw-r--r-- | 2pi.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2pi.html b/2pi.html new file mode 100644 index 0000000..35f2307 --- /dev/null +++ b/2pi.html @@ -0,0 +1,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>
\ No newline at end of file |