-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 965 Bytes
/
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
<!doctype html>
<html>
<head>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://cindylinz.github.io/Web-KMT-badge/" />
<meta property="og:title" content="黨徽產生器" />
<meta property="og:description" content="指定大小形狀顏色來產生自己的黨徽" />
<meta property="og:image" content="https://cindylinz.github.io/Web-KMT-badge/KMT.png" />
</head>
<body>
<center>
<canvas></canvas><br>
Color: <input id=color value=#0029cc><br>
Width: <input type=number id=width value=600><br>
Height: <input type=number id=height value=400><br>
Ratio: <input type=number id=ratio value=0.75><br>
Shape:
<label><input type=radio name=shape value=square checked> square</label>
<label><input type=radio name=shape value=round> round</label>
<br>
<button>Download</button>
</center>
<script src=draw.js></script>
</body>
</html>