-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
81 lines (53 loc) · 2.78 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
<!DOCTYPE html>
<html>
<head>
<!-- Load the Paper.js library -->
<meta name="viewport" content="width=700, initial-scale=1">
<title>Some F*s to give</title>
<meta name="description" content="Tired of everything? Generate some F*s">
<script type="text/javascript" src="paper-full.js"></script>
<script type="text/javascript" src="lodash.js"></script>
<script type="text/javascript" src="Finger.js"></script>
<script type="text/javascript" src="CanvasRecorder.js"></script>
<script type="text/javascript" src="opentype.js"></script>
<!-- Define inlined PaperScript associate it with myCanvas -->
<script type="text/javascript" src="randomTexts.js"></script>
<script type="text/javascript" src="generator.js"></script>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div id="canvwrap">
<canvas id="myCanvas" resize></canvas>
</div>
<div id="settingswrap">
<div class="seg">
<input type="color" id="boxcolor" name="boxcolor"
value="#f6b73c" onchange="changeColor(name,value)">
<input type="color" id="fillcolor1" name="fillcolor1"
value="#f6b73c" onchange="changeColor(name,value)">
<input type="color" id="fillcolor2" name="fillcolor2"
value="#f6b73c" onchange="changeColor(name,value)">
<input type="color" id="fillcolor3" name="fillcolor3"
value="#f6b73c" onchange="changeColor(name,value)">
<input type="color" id="fillcolor4" name="fillcolor4"
value="#f6b73c" onchange="changeColor(name,value)">
</div>
<div class="seg">
<!-- <input type="number" id="sizex" name="sizex" value="420" onchange="changeSize(name,value)" autocomplete="off"><span>X</span><input type="number" id="sizey" name="sizey" value="420" onchange="changeSize(name,value)" autocomplete="off">
<div class="seg"> -->
<input type="text" oninput="changeText(value)" placeholder="FUCK IT!" id="textinput" autocomplete="off"></input>
</div>
<div class="seg">
<button id="tinyFingers" onclick="toggleFingers()">Tiny Fingers?</button>
<button id="shuffle" onclick="shuffle()">Shuffle Colors</button>
<button id="new" onclick="generate()">New</button>
</div>
<div>
<button id="savesvg" onclick="downloadSVG()">Save SVG</button>
<button id="savepng" onclick="downloadPNG()">Save PNG</button>
</div>
</div>
<div class="info"><a href="https://twitter.com/Bleeptrack">By @bleeptrack</a> - <a href="https://github.com/bleeptrack/funkyfingers">Code on Github</a> - <a href="https://www.patreon.com/Bleeptrack">Support me</a>
</div>
</body>
</html>