-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.html
More file actions
27 lines (24 loc) · 819 Bytes
/
plot.html
File metadata and controls
27 lines (24 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Math Evaluator</title>
<link rel="stylesheet"
href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
<style>
#input { font-family: monospace; width: 100%; }
#error { color: red; }
</style>
</head>
<body>
<h1>Math Plotter</h1>
<h2>Function f<sub>t</sub>(x)</h2>
<input type="text" id="input" value="x * sin(10 * cos(t / 20) / x)"/>
<p id="error"></p>
<h2>Graph</h2>
<canvas id="canvas"></canvas>
<script src="plot.dart.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QK0KCHXW3F"></script>
<script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-QK0KCHXW3F');</script>
</body>
</html>