-
Notifications
You must be signed in to change notification settings - Fork 41
/
index.html
36 lines (35 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title>Line Drawing - Shapes & Curves</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="wrapper">
<div id="content">
<h1>Line Drawing and Triangle Filling – Shapes & Curves</h1>
<div id="slideshow">
<canvas id="view"></canvas>
<div id="slide_label" :style="'width: ' + view.width + 'px;'">
<img class="slide_arrow" src="images/left_icon.png" alt="left arrow" height="32" @click="prevSlide" />
<p>{{ slide_description[slide_idx] }}</p>
<img class="slide_arrow" src="images/right_icon.png" alt="left arrow" height="32" @click="nextSlide" />
</div>
</div>
<br/>
<div class="spacer"></div>
<div id="ui">
<label for="sections">Curve Sections: </label>
<input id="sections" type="range" min="4" max="36" step="2" v-model="curve_sections" />
<output id="section_out">{{ curve_sections }}</output>
<div style="width:35px;"></div>
<label for="show_points">Show Point Data</label>
<input id="show_points" type="checkbox" v-model="show_points" />
</div>
</div>
</div>
<script type="module" src="scripts/slideshow.js"></script>
</body>
</html>