This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (48 loc) · 2.12 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
42
43
44
45
46
47
48
49
50
51
52
53
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">
<head>
<title>Constraints Example</title>
<meta name="description" content="An example of dataflow constraints" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
</head>
<body>
<main>
<div id="constraints-area"></div>
<div class="explanation">
<div class="content">
<h2>Instructions</h2>
<p>Click anywhere to insert a box</p>
<p>Right click on a box to enter a value; press escape to cancel</p>
<p>Hover over a box and press X to delete it</p>
<p>Press F on a box to select/unselect it; a line will be drawn between two selections</p>
<p>Press backspace/escape to deselect all</p>
</div>
<div class="content">
<h2>Supported Symbols</h2>
<p>+ → Addition</p>
<p>- → Subtraction</p>
<p>* → Multiplication</p>
<p>/ → Division</p>
<p>** → Exponent</p>
</div>
<div class="content">
<h2>About</h2>
<p>
This project was created by Miro Manestar as an example of constraint-based
programming in JavaScript. The GitHub repository for this project can be
accessed <a href="http://github.com/miromanestar/ConstraintsExample">here</a>.
</p>
<h2>Documentation</h2>
<p>
Documentation generated by JSDoc can be accessed <a href="/docs">here</a>.
</p>
</div>
</div>
</main>
<script src="js/constraints.js"></script>
<script src="js/plain-draggable.min.js" async></script>
<script src="js/leader-line.min.js" async></script>
<script src="js/index.js"></script>
</body>