-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfuncdle.html
62 lines (62 loc) · 2.69 KB
/
funcdle.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<title>Funcdle</title>
<script type="text/javascript" charset="UTF-8" src="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraphcore.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraph.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"
integrity="sha512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="./funcdle-opt.js"></script>
<link rel="stylesheet" href="./funcdle.css">
</head>
<body>
<h1>Funcdle</h1>
<div id="jxgbox" class="jxgbox"></div>
<div class="gb">
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
<div class="gb-row"><div></div><div></div><div></div><div></div><div></div></div>
</div>
<div class="kb">
<div class="kb-row">
<button>1</button>
<button>2</button>
<button>3</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button>7</button>
<button>8</button>
<button>9</button>
<button>0</button>
</div>
<div class="kb-row">
<button class="kb-button-enter">Enter</button>
<button>x</button>
<button>+</button>
<button>-</button>
<button>*</button>
<button>/</button>
<button>^</button>
<button>√</button>
<button>㏑</button>
<button class="kb-button-backspace">Backspace</button>
</div>
</div>
<p class="bm">Your input is a math formula possibly containing a variable "x". After
you enter a formula "f(x)", the graph of "y=f(x)" will be drawn. If a point
on your graph is vertically different from a point on the answer graph by
less than 0.5, the point will be colored black. Otherwise, the point will be
colored gray.
</p>
<a href="https://github.com/Medowhill/funcdle">https://github.com/Medowhill/funcdle</a>
<script src="./funcdle.js"></script>
</body>
</html>