-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (38 loc) · 1.23 KB
/
index.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<h1>
C Math Evaluator
</h1>
<h3>
<a href="https://github.com/roeming/C-Math-Evaluator/">github source code</a>
</h3>
<br>
This tool can take a statement like you'd see in C and evaluate+graph it.
<br>
Doesn't currently support assignment operators or ternaries.
<br>
A graph can only be made if 0 or 1 of your variables are ranges.
<br>
<br>
</head>
<body>
<link rel="stylesheet" href="index.css"/>
<script src="index.js"></script>
<input id="inp" size="50" type="text"></input>
<input id="copyBtn" type="button" value="Copy Link"></input>
<p id="copyBtn_confirm"></p>
<br>
<br>
<div id="inputFields" class="down_container">Copy Link</div>
<br>
<br>
<input type="checkbox" id="HexCheck">Display outputs in hex</input>
<br>
<div>
<canvas id="graphOutput" width="650" height="450"></canvas>
<canvas id="graphToolTip" width="75" height="25" position="absolute"></canvas>
<pre id="allOutputs"></pre>
</div>
</body>
</html>