-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_1.html
39 lines (37 loc) · 1.12 KB
/
lesson_1.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lesson 1</title>
</head>
<link rel="stylesheet" href="styles.css">
<script src="pixi.min.js"></script>
<body>
<script src="uniforms.js"></script>
<div id="title">
Line
</div>
<div id="instructions" class="col-4">
<div class="panel" style="background-color: beige;">
a line can be defined by the equation:
<div class="equation">
y = mx + b
</div>
</div>
<br>
<div type="text" id="equation" value="y = 0*x" class="equation">
y<sub>1</sub> = 0x + 0
</div>
<br>
<div type="text" id="" value="y = 0*x" class="equation">
m<sub>1</sub>:
<input type="range" min="-5" max="5" value="0" step="0.5" class="slider" id="sliderInput" oninput="handleSlider(this.value)">
</div>
<div type="text" id="" value="y = 0*x" class="equation">
b<sub>1</sub>:
<input type="range" min="-5" max="5" value="0" step="0.5" class="slider" id="b1" oninput="handleB1(this.value)">
</div>
</div>
</body>
</html>