forked from a60231023/neuron-in-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
6.html
43 lines (37 loc) · 1.14 KB
/
6.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href="./screen.css" rel="stylesheet" />
</head>
<body>
<div id="title">
<h2>Neuron in JavaScript</h2>
<h1 data-part="6">Perceptron</h1>
</div>
<div class="container">
<div id="main">
<!-- canvas is rendered here -->
</div>
<div id="controls">
<!-- buttons etc will be added here -->
<button class="btn" onclick="pause()">pause</button>
<button class="btn" onclick="resume()">resume</button>
</div>
</div>
<div id="footer">
<a href="./1.html" data-active="1">Functions & Lines</a>
<a href="./2.html" data-active="2">Predictron</a>
<a href="./3.html" data-active="3">Classifier</a>
<a href="./4.html" data-active="4">Linear Regression</a>
<a href="./5.html" data-active="5">Gradient Descent</a>
<a href="./6.html" class="active" data-active="6">Perceptron</a>
</div>
<!-- load scripts -->
<script src="./js/p5.js"></script>
<script src="./js/helpers.js"></script>
<script src="./js/six.js"></script>
</body>
</html>