forked from fofr/face_looker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
23 lines (22 loc) · 857 Bytes
/
index.html
File metadata and controls
23 lines (22 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Face Looker (Vanilla)</title>
<link rel="stylesheet" href="./FaceTracker.css">
<style>
html, body { height: 100%; margin: 0; }
body { display: flex; align-items: center; justify-content: center; background: #fafafa; }
.container { width: 360px; height: 360px; }
.header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); font-family: ui-sans-serif, system-ui, Arial, sans-serif; color: #333; }
</style>
</head>
<body>
<div class="header">Move your cursor around the face</div>
<div class="container">
<div class="face-tracker" id="face" data-base-path="faces/" data-debug="false"></div>
</div>
<script src="./face-tracker.js" defer></script>
</body>
</html>