-
Notifications
You must be signed in to change notification settings - Fork 88
/
index.html
104 lines (100 loc) · 3.14 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
<head>
<link rel="stylesheet" type="text/css" href="style/main.scss" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AR Face Doodle</title>
<link rel="icon" href="./assets/favicon.ico" />
</head>
<body class="loading">
<div class="container">
<div class="alt-bts">
<button id="bt-info" class="mdc-icon-button">
?
</button>
<button id="debug" class="mdc-icon-button material-icons-outlined">
bug_report
</button>
</div>
<div id="info" class="info">
<div class="info-content">
<h1>AR Face Doodle</h1>
<p>
Doodle on your face with AR directly from the web browser thanks to
<a href="https://www.tensorflow.org/js" target="_blank"
>Tensorflow.js</a
>,
<a
href="https://github.com/tensorflow/tfjs-models/tree/master/facemesh"
target="_blank"
>FaceMesh</a
>
and <a href="https://threejs.org/" target="_blank">Three.js</a>.
</p>
<p>
Created by
<a href="https://twitter.com/cyrildiagne" target="_blank"
>Cyril Diagne</a
>
</p>
<p>Code on <a href="https://github.com/" target="_blank">Github</a></p>
</div>
</div>
<div class="ui">
<div class="color">
<button id="bt-picker" class="mdc-icon-button material-icons-outlined">
color_lens
</button>
<div class="colorpicker">
<div
class="picker"
acp-color="#FFFFFF"
acp-show-rgb="no"
acp-show-hsl="no"
acp-show-hex="no"
acp-palette="PALETTE_MATERIAL_CHROME"
acp-palette-editable
></div>
</div>
</div>
<div class="slider">
<div
class="mdc-slider mdc-slider--discrete mdc-slider--display-markers"
role="slider"
aria-valuemin="0"
aria-valuemax="75"
aria-valuenow="25"
data-step="1"
aria-label="Thickness"
>
<div class="mdc-slider__track-container">
<div class="mdc-slider__track"></div>
<div class="mdc-slider__track-marker-container"></div>
</div>
<div class="mdc-slider__thumb-container">
<div class="mdc-slider__pin">
<span class="mdc-slider__pin-value-marker"></span>
</div>
<svg class="mdc-slider__thumb" width="21" height="21">
<circle cx="10.5" cy="10.5" r="7.875"></circle>
</svg>
<div class="mdc-slider__focus-ring"></div>
</div>
</div>
</div>
<button id="undo" class="mdc-icon-button material-icons-outlined">
undo
</button>
<button id="clear" class="mdc-icon-button material-icons-outlined">
delete
</button>
</div>
</div>
</body>
<script src="src/main.js"></script>