-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (36 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PicKrew</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="app">
<div class="canvas" :style="{backgroundColor: background.color}" id="capture">
<shoulder></shoulder>
<face> </face>
</div>
<custom-form v-model:eye-color="face.eye.color"
v-model:skin-color="skin.body.color"
v-model:lip-color="face.lips.color"
v-model:face-type="face.type"
v-model:background-color="background.color"
></form>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dom-to-image/2.6.0/dom-to-image.js" integrity="sha512-wUa0ktp10dgVVhWdRVfcUO4vHS0ryT42WOEcXjVVF2+2rcYBKTY7Yx7JCEzjWgPV+rj2EDUr8TwsoWF6IoIOPg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://unpkg.com/vue@next"></script>
<script src="js/index.js"></script>
<script src="js/nose.js"></script>
<script src="js/face.js"></script>
<script src="js/body.js"></script>
<script src="js/eyes.js"></script>
<script src="js/lips.js"></script>
<script src="js/form.js"></script>
<script>
app.mount("#app");
</script>
</body>
</html>