Skip to content

Commit abf5ab7

Browse files
committed
Refactor into multi-page app
1 parent 5e9095c commit abf5ab7

File tree

15 files changed

+200
-177
lines changed

15 files changed

+200
-177
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ trim_trailing_whitespace = true
44
insert_final_newline = true
55
indent_style = space
66

7-
[*.js]
7+
[*.js,*.css,*.html]
88
tab_width = 2
99

1010
[*.py]

src/geometry.js renamed to common/geometry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { vec3 } from "gl-matrix";
2-
31
/**
42
* Load a mesh, returning an expanded form with calculated attributes.
53
*
File renamed without changes.
File renamed without changes.

index.html

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,32 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Real-Time Pencil Sketching</title>
7-
<link rel="stylesheet" href="/src/styles.css" />
8-
<script type="module" src="/src/index.js"></script>
7+
<link
8+
rel="stylesheet"
9+
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
10+
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
11+
crossorigin="anonymous"
12+
/>
913
</head>
10-
<body></body>
14+
<body>
15+
<div class="jumbotron container my-sm-4">
16+
<h1 class="display-4">Interactive Demo Page</h1>
17+
<h2></h2>
18+
<p class="lead">Geometry Processing for Real-Time Pencil Sketching</p>
19+
<hr class="my-4" />
20+
<p>
21+
This is our final project for <strong>6.838: Shape Analysis</strong>, as
22+
taught by Justin Solomon at MIT in Spring 2021. It is currently a
23+
work-in-progress, but you can try out some of the rendering and geometry
24+
processing experiments below.
25+
</p>
26+
27+
<a class="btn btn-primary btn-lg" href="/sketching/" role="button"
28+
>Sketching on a Mesh</a
29+
>
30+
<a class="btn btn-primary btn-lg" href="/sdf/" role="button"
31+
>Signed Distance Fields</a
32+
>
33+
</div>
34+
</body>
1135
</html>

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.

sketching/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Real-Time Pencil Sketching</title>
7+
<link rel="stylesheet" href="./index.css" />
8+
<script type="module" src="./index.js"></script>
9+
</head>
10+
<body></body>
11+
</html>

0 commit comments

Comments
 (0)