-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
122 lines (104 loc) · 3.71 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<link rel='stylesheet' href='www/style.css'>
</head>
<body>
<div class='layout'>
<div class='view'>
<div class='render'>
<svg height=300 width=300></svg>
<canvas height=300 width=300></canvas>
</div>
<div class='vertical-slider'>
<div class='knob'></div>
</div>
<div class='horizontal-slider'>
<div class='knob'></div>
</div>
</div>
<div class='controls'>
<table>
<tr>
<td>Spin</td>
<td><input type='checkbox' id='spin'></td>
</tr>
<tr>
<td>Render Target</td>
<td>
<select id='render-target'>
<option>SVG</option>
<option>Canvas</option>
</select>
<button id='export'>Export</button>
</td>
</tr>
<tr>
<td>Earth Landmass</td>
<td>
<select id='earth-options'>
<option value=0>None</option>
<option value=1>Fill</option>
<option value=2>Outline</option>
<option value=3>Outline & Fill</option>
</select>
</td>
</tr>
<tr>
<td>Sphere (x, y, z, r, θ, α)</td>
<td>
<input type=text id='sphere-x' data-target='globe.center' data-property='x'>
<input type=text id='sphere-y' data-target='globe.center' data-property='y'>
<input type=text id='sphere-z' data-target='globe.center' data-property='z'>
<input type=text id='sphere-r' data-target='globe' data-property='r'>
<input type=text id='sphere-theta' data-target='globe' data-property='theta' data-transform='radians' data-min='0' data-max='180'>
<input type=text id='sphere-alpha' data-target='globe' data-property='alpha' data-transform='radians' data-min='-180' data-max='180'>
</td>
</tr>
<tr>
<td>Light (x, y, z)</td>
<td>
<input type=text id='light-x' data-target='fizz.light.center' data-property='x'>
<input type=text id='light-y' data-target='fizz.light.center' data-property='y'>
<input type=text id='light-z' data-target='fizz.light.center' data-property='z'>
</td>
</tr>
<tr>
<td>Light Intensity</td>
<td>
<input type=text id='intensity' class='wider' data-target='fizz.light' data-property='intensity'>
</td>
</tr>
<tr>
<td>Shadow</td>
<td>
<input type=text id='shadow' data-target='fizz.light' data-property='shadow'>
</td>
</tr>
<tr>
<td>Dash Threshold</td>
<td>
<input type=text id='dash-threshold' data-target='globe.threshold' data-property='dash'>
</td>
</tr>
<tr>
<td>Line Threshold</td>
<td>
<input type=text id='line-threshold' data-target='globe.threshold' data-property='line'>
</td>
</tr>
<tr>
<td>Longitudinal Steps</td>
<td>
<input type=text id='sphere-long-steps' data-target='globe' data-property='longitudinal_steps'>
</td>
</tr>
</table>
</div>
</div>
<div class='mask'></div>
<script src='dist/fizz.js'></script>
<script src='www/script.js'></script>
</body>
</html>