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
|
<html>
<head>
<title>wav2pix</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
<style>
* {
box-sizing: border-box;
}
html,body {
background: #fff;
margin: 0; padding: 0;
width: 100%; height: 100%;
/* overflow: hidden;
-webkit-overflow-scrolling: auto;
*/ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
user-select: none;
background: linear-gradient(35deg, rgba(255,250,250,0.62), rgba(238,243,255,0.92));
}
header {
display: flex;
width: 100%;
color: #000;
font-size: 16px;
font-weight: 100;
text-align: center;
padding: 5%;
}
input {
margin-left: 10px;
}
#gallery {
font-size: 0;
}
#gallery canvas {
width: 128px;
height: 128px;
}
</style>
</head>
<body>
<header>generate image files from an mp3: <input type="file" id="upload" multiple /></header>
<div id='gallery'></div>
</body>
<script src='bundle.js'></script>
</html>
|