-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
182 lines (162 loc) · 10.4 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>~~//Illusory Contours Demo App\\~~</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
<!--<link href="js/vendor/switchery/switchery.min.css" rel="stylesheet" type="text/css"/>-->
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div id ="loading-screen">
<div class="spinner"></div>
</div>
<div id="three-canvas"></div>
<div id="controls">
<fieldset>
<label class="centered" for="shape-type">Shape Type</label><br>
<select class="centered" name="shape-type" id="shape-type">
<option value= "0" selected="selected">Filled Circle</option>
<option value= "1">Outline Circle</option>
<option value="2">Filled Sinewave Circle</option>
<option value="3">Outline Sinewave Circle</option>
<option value="4">Mesh Circle</option>
<option value="5">Sphere</option>
<option value="6">Doily</option>
<option value="7">Filled Tri-Wave Circle</option>
<option value="8">Semi Circles</option>
<option value="9">Right Triangles</option>
</select>
<label class="centered" for="material-type">Material</label><br>
<select class="centered" name="material-type" id="material-type">
<option value= "0" selected="selected">Basic (light insensitive)</option>
<option value= "1">Lambertian</option>
<option value="2">Specular</option>
</select>
<br><br>
<div id="format">
<label class="centered">Show / Hide Shapes</label><br>
<input type="checkbox" id="Top-show" checked> <label for="Top-show">Top</label>
<input type="checkbox" id="Bottom-show" checked> <label for="Bottom-show">Bottom</label>
<input type="checkbox" id="Left-show" checked> <label for="Left-show">Left</label>
<input type="checkbox" id="Right-show" checked> <label for="Right-show">Right</label>
</div>
<div id="format">
<label for="horizontal-phase">Toggle Horizontal / Vertical Phase</label> <input type="checkbox" id="horizontal-phase" class="js-switch"/>
<br>
<label for="tracer-toggle">Toggle Tracers</label> <input type="checkbox" id="tracer-toggle" class="js-switch"/>
<br>
<label for="flashlag-toggle">Toggle Flash-Lag</label> <input type="checkbox" id="flashlag-toggle" class="js-switch"/>
</div>
<br>
<label for="albedo">Albedo</label>
<div id="albedo"></div>
<label for="transparency">Opacity</label>
<div id="transparency"></div>
<label for="radius">Circle Radius</label>
<div id="radius"></div>
<label for="radiusX">Circle Elongation</label>
<div id="radiusX"></div>
<label for="horizontalPos">Horizontal Circle Position</label>
<div id="horizontalPos"></div>
<label for="verticalPos">Vertical Circle Position</label>
<div id="verticalPos"></div>
<label for="motionSpan">Range of Circle Motion</label>
<div id="motionSpan"></div>
<label for="speed">Circle Speed</label>
<div id="speed"></div>
<label for="trajectory-rotation">Rotate Trajectory</label>
<div id="trajectory-rotation"></div>
<label for="num_segments">Number of Segments in Circle</label>
<div id="num_segments"></div>
<label for="sineCirclefrequency">Number of Spikes</label>
<div id="sineCirclefrequency"></div>
<label for="sineCircleAmps">Amplitude of Spikes</label>
<div id="sineCircleAmps"></div>
<label for="specularity">Specularity</label>
<div id="specularity"></div>
<br><br>
<label for="squareColor">Square Outline Albedo</label>
<div id="squareColor"></div>
<label for="squareSize">Square Size</label>
<div id="squareSize"></div>
<label for="squareThickness">Square Outline Thickness</label>
<div id="squareThickness"></div>
<label for="squareGap">Square Gap Size</label>
<div id="squareGap"></div>
<div id="format">
<input type="checkbox" id="square-grow-toggle"> <label for="square-grow-toggle"> Animated Square</label>
<input type="checkbox" id="circle-pause-toggle"> <label for="circle-pause-toggle"> Pause Circles</label><br>
<input type="checkbox" id="square-animate-toggle"> <label for="square-animate-toggle"> Anim. Square Gap</label><br>
<input type="checkbox" id="square-line-animate-toggle"> <label for="square-line-animate-toggle"> Anim. Square Lines</label><br>
<label for="squareLineColor">Square Line Albedo</label>
<div id="squareLineColor"></div>
<input type="checkbox" id="square-rotate-toggle"> <label for="square-rotate-toggle"> Rotate Square 45 deg</label><br>
<input type="checkbox" id="square-fill-toggle"> <label for="square-fill-toggle"> Square Filled</label><br>
<input type="checkbox" id="square-visibility" checked> <label for = "square-visibility"> Square Visible</label>
<input type="checkbox" id="kaniza-visibility"> <label for = "kaniza-visibility"> Kaniza Visible</label>
</div>
<label for="squareFillColor">Square Fill Albedo</label>
<div id="squareFillColor"></div>
<br><br>
<label for="backgroundColor">Background Colour</label>
<div id="backgroundColor"></div>
<br><br>
<div id="mouse-light-toggle-and-lable">
<label for = "mouse-light-toggle"> Use Mouse To Position Light (Toggle with 'Q')</label>
<input type="checkbox" id="mouse-light-toggle">
</div>
<label for="light-intensity">Light Intensity</label>
<div id="light-intensity"></div>
<div>
<input type="checkbox" id="stereo-toggle"><label for = "stereo-toggle"> Stereo </label>
<input type="checkbox" id="stereo-flip"><label for = "stereo-flip"> Flip Depth Ordering </label>
</div>
</fieldset>
</div>
<div id="pause">Paused</div>
<script src="js/vendor/jquery-1.11.1.js" type="text/javascript"></script>
<!--<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>-->
<script src="js/vendor/jquery-ui.min.js" type="text/javascript"></script>
<script src="js/vendor/jquery.simulate.js" type="text/javascript"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/vendor/three.js/three.js" type="text/javascript"></script>
<script src="js/vendor/three.js/Detector.js" type="text/javascript"></script>
<script src="js/vendor/three.js/EffectComposer.js" type="text/javascript"></script>
<script src="js/vendor/three.js/CopyShader.js" type="text/javascript"></script>
<script src="js/vendor/three.js/RenderPass.js" type="text/javascript"></script>
<script src="js/vendor/three.js/ShaderPass.js" type="text/javascript"></script>
<script src="js/vendor/three.js/VerticalBlurShader.js" type="text/javascript"></script>
<script src="js/vendor/three.js/DotScreenShader.js" type="text/javascript"></script>
<!--<script src="js/vendor/switchery/switchery.min.js" type="text/javascript"></script>-->
<script src="js/utils.js" type="text/javascript"></script>
<script src="js/shapeGenerators.js" type="text/javascript"></script>
<script src="js/userControls.js" type="text/javascript"></script>
<script src="js/Segment.js" type="text/javascript"></script>
<script src="js/Tracer.js" type="text/javascript"></script>
<script src="js/experimenting/kShape.js" type="text/javascript"></script>
<script src="js/main.js"></script>
<!--<script src="js/mouseProject.js" type="text/javascript"></script>-->
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<!-- <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61113028-1', 'auto');
ga('send', 'pageview');
</script>-->
</body>
</html>