-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathisosurface.html
51 lines (44 loc) · 2.19 KB
/
isosurface.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Isosurface Demo</title>
<!-- Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"></link>
<link rel="stylesheet" href="isosurface.css"></link>
</head>
<body>
<div class="">
<br>
<span class = " ui title">Isosurface Polygonizer Algorithms</span>
<select id="isoMethod" onchange="recreate();" class="ui march selectpicker" data-style="btn-default">
<option value="Marching Cubes">Marching Cubes</option>
<option value="Marching Tetrahedra">Marching Tetrahedra</option>
</select>
<select id="shape" onchange="recreate();" class="ui shape selectpicker" data-style="btn-default">
<option value="Goursat's Surface">Goursat's Surface</option>
<option value="Eight Surface">Eight Surface</option>
<option value="Torus">Torus</option>
<option value="Hyperelliptic">Hyperelliptic</option>
<option value="Sphere">Sphere</option>
</select>
<center>
<a href="https://github.com/Zaphyk/isosurface" target="_blank">
<i class="ui source fa fa-github" aria-hidden="true"></i>
</a>
</center>
<canvas id="glcanvas" class="render" ></canvas>
</div>
</body>
<script src="gl-matrix.js"></script>
<script src="marchingclasses.js"></script>
<script src="marchingcubes.js"></script>
<script src="marchingtetrahedra.js"></script>
<script src="isosurface.js"></script>
</html>