-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
53 lines (46 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<title>Exploding Tiles ~ New School</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/explodingTiles.js"></script>
<script type="text/javascript" src="js/hslWorker.js"></script>
<link href='https://fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css' />
</head>
<body class="reset invert">
<h1>Exploding Tiles ~ New School</h1>
<section id="keyboard-event-instructions" class="hide">
p or spacebar = play|pause toggler
</section>
<datalist id="tile-mode-list">
<option value="ellipses">
<option value="pointillism">
<option value="rectangles">
</datalist>
<form id="draw-settings" class="center">
<h2>Draw Settings</h2>
<label for="NAME"><input name="NAME" value="rectangles" list="tile-mode-list" /></label>
<label for="TILE_WIDTH"><input name="TILE_WIDTH" value="30" /></label>
<label for="TILE_HEIGHT"><input name="TILE_HEIGHT" value="18" /></label>
<label for="FRAME_PROCESSING_INTERVAL"><input name="FRAME_PROCESSING_INTERVAL" value="24" /></label>
<label for="TILE_CENTER_WIDTH"><input name="TILE_CENTER_WIDTH" value="24" /></label>
<label for="TILE_CENTER_HEIGHT"><input name="TILE_CENTER_HEIGHT" value="18" /></label>
</form>
<section id="original-video-container" class="hide">
<video id="sourcevid" autoplay="true" loop="true">
<source src="assets/video/BigBuckBunny_640x360.mp4" type="video/mp4"/>
<source src="assets/video/BigBuckBunny_640x360.ogv" type="video/ogg"/>
</video>
<canvas id="sourcecopy" width="640" height="360"></canvas>
</section>
<section id="exploded-tile-container" class="center">
<canvas id="output" width="1000" height="500"></canvas>
</section>
<section id="color-analysis" class="center">
<!-- These ids are inconsistent in dash-case vs. camelCase -->
<svg id="colorMap" class="center"></svg>
<svg id="hueBar" class="center"></svg>
<svg id="circlePack" class="center"></svg>
</section>
</body>
</html>