profilepic 0.1.1 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,231 @@
1
+ <p style="font-size: 80%;">
2
+ <a href="/">« Profile Pic(ture) As A Service</a>
3
+ </p>
4
+
5
+
6
+
7
+ <h1>Design Your Own Matt &amp; John's® Ye Olde' Punk (Anno 2017) (24×24) Wizard</h1>
8
+
9
+ <p>Yes, you can!
10
+ Generate your own originals that you
11
+ own 100% forever.
12
+ </p>
13
+
14
+
15
+
16
+ <form action="/generate_yeoldepunks" method="get" id="form1">
17
+
18
+
19
+ <%= radio_options_w_sprites( YEOLDEPUNK_ARCHETYPE,
20
+ name: 't',
21
+ legend: "Select a ye olde' punk base (archetype)" ) %>
22
+
23
+ Options:
24
+
25
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_HAIR,
26
+ name: 'hair',
27
+ legend: 'Select hair' ) %>
28
+
29
+ ¹: Note: Pink With Hat is a hair+headwear combo.
30
+
31
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_BEARD,
32
+ name: 'beard',
33
+ legend: 'Select beard' ) %>
34
+
35
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_EYES,
36
+ name: 'eyes',
37
+ legend: 'Select eyes (make-up)' ) %>
38
+
39
+
40
+
41
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_EYEWEAR,
42
+ name: 'eyewear',
43
+ legend: 'Select eyewear' ) %>
44
+
45
+
46
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_NOSE,
47
+ name: 'nose',
48
+ legend: 'Select nose accessory' ) %>
49
+
50
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_BLEMISH,
51
+ name: 'blemish',
52
+ legend: 'Select blemish' ) %>
53
+
54
+
55
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_MOUTH,
56
+ name: 'mouth',
57
+ legend: 'Select mouth expression / lipstick make-up' ) %>
58
+
59
+
60
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_MOUTH_PROP,
61
+ name: 'mouthprop',
62
+ legend: 'Select mouth prop' ) %>
63
+
64
+
65
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_EARRING,
66
+ name: 'earring',
67
+ legend: 'Select earring' ) %>
68
+
69
+
70
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_HEADWEAR,
71
+ name: 'headwear',
72
+ legend: 'Select headwear' ) %>
73
+
74
+ ¹: Note: Headband (f) is a (black) hair+headwear combo.
75
+
76
+
77
+ <%= radio_options_w_sprites( ['None']+YEOLDEPUNK_NECK,
78
+ name: 'neck',
79
+ legend: 'Select neck accessory' ) %>
80
+
81
+
82
+ <div>
83
+ <button type="submit" form="form1" value="Submit"
84
+ style="font-size: 400%; color: white; background-color: blue;">Generate Profile Pic(ture) in .PNG Format</button>
85
+ </div>
86
+
87
+
88
+
89
+ <%= erb :'shared/_more_options' %>
90
+
91
+ </form>
92
+
93
+
94
+
95
+ <script>
96
+ var sheet = Spritesheet.read( 'yeoldepunks-24x24.png',
97
+ `0, Male 1
98
+ 1, Male 2
99
+ 2, Male 3
100
+ 3, Male 4
101
+ 4, Female 1
102
+ 5, Female 2
103
+ 6, Female 3
104
+ 7, Female 4
105
+ 8, Zombie
106
+ 9, Ape
107
+ 10, Alien
108
+ 11, Rosy Cheeks (m)
109
+ 12, Luxurious Beard (m)
110
+ 13, Clown Hair Green (m)
111
+ 14, Mohawk Dark (m)
112
+ 15, Cowboy Hat (m)
113
+ 16, Mustache (m)
114
+ 17, Clown Nose (m)
115
+ 18, Cigarette (m)
116
+ 19, Nerd Glasses (m)
117
+ 20, Regular Shades (m)
118
+ 21, Knitted Cap (m)
119
+ 22, Shadow Beard (m)
120
+ 23, Frown (m)
121
+ 24, Cap Forward (m)
122
+ 25, Goat (m)
123
+ 26, Mole (m)
124
+ 27, Purple Hair (m)
125
+ 28, Small Shades (m)
126
+ 29, Shaved Head (m)
127
+ 30, Classic Shades (m)
128
+ 31, Vape (m)
129
+ 32, Silver Chain (m)
130
+ 33, Smile (m)
131
+ 34, Big Shades (m)
132
+ 35, Mohawk Thin (m)
133
+ 36, Beanie (m)
134
+ 37, Cap (m)
135
+ 38, Clown Eyes Green (m)
136
+ 39, Normal Beard Black (m)
137
+ 40, Medical Mask (m)
138
+ 41, Normal Beard (m)
139
+ 42, VR (m)
140
+ 43, Eye Patch (m)
141
+ 44, Wild Hair (m)
142
+ 45, Top Hat (m)
143
+ 46, Bandana (m)
144
+ 47, Handlebars (m)
145
+ 48, Frumpy Hair (m)
146
+ 49, Crazy Hair (m)
147
+ 50, Police Cap (m)
148
+ 51, Buck Teeth (m)
149
+ 52, Do-rag (m)
150
+ 53, Front Beard (m)
151
+ 54, Spots (m)
152
+ 55, Big Beard (m)
153
+ 56, Vampire Hair (m)
154
+ 57, Peak Spike (m)
155
+ 58, Chinstrap (m)
156
+ 59, Fedora (m)
157
+ 60, Earring (m)
158
+ 61, Horned Rim Glasses (m)
159
+ 62, Headband (m)
160
+ 63, Pipe (m)
161
+ 64, Messy Hair (m)
162
+ 65, Front Beard Dark (m)
163
+ 66, Hoodie (m)
164
+ 67, Gold Chain (m)
165
+ 68, Muttonchops (m)
166
+ 69, Stringy Hair (m)
167
+ 70, Eye Mask (m)
168
+ 71, 3D Glasses (m)
169
+ 72, Clown Eyes Blue (m)
170
+ 73, Mohawk (m)
171
+ 74, Pilot Helmet (f)
172
+ 75, Tassle Hat (f)
173
+ 76, Hot Lipstick (f)
174
+ 77, Blue Eye Shadow (f)
175
+ 78, Straight Hair Dark (f)
176
+ 79, Choker (f)
177
+ 80, Crazy Hair (f)
178
+ 81, Regular Shades (f)
179
+ 82, Wild Blonde (f)
180
+ 83, 3D Glasses (f)
181
+ 84, Mole (f)
182
+ 85, Wild White Hair (f)
183
+ 86, Spots (f)
184
+ 87, Frumpy Hair (f)
185
+ 88, Nerd Glasses (f)
186
+ 89, Tiara (f)
187
+ 90, Orange Side (f)
188
+ 91, Red Mohawk (f)
189
+ 92, Messy Hair (f)
190
+ 93, Clown Eyes Blue (f)
191
+ 94, Pipe (f)
192
+ 95, Wild Hair (f)
193
+ 96, Purple Eye Shadow (f)
194
+ 97, Stringy Hair (f)
195
+ 98, Dark Hair (f)
196
+ 99, Eye Patch (f)
197
+ 100, Blonde Short (f)
198
+ 101, Classic Shades (f)
199
+ 102, Eye Mask (f)
200
+ 103, Clown Hair Green (f)
201
+ 104, Cap (f)
202
+ 105, Medical Mask (f)
203
+ 106, Bandana (f)
204
+ 107, Purple Lipstick (f)
205
+ 108, Clown Nose (f)
206
+ 109, Headband (f)
207
+ 110, Pigtails (f)
208
+ 111, Straight Hair Blonde (f)
209
+ 112, Knitted Cap (f)
210
+ 113, Clown Eyes Green (f)
211
+ 114, Cigarette (f)
212
+ 115, Welding Goggles (f)
213
+ 116, Mohawk Thin (f)
214
+ 117, Gold Chain (f)
215
+ 118, VR (f)
216
+ 119, Vape (f)
217
+ 120, Pink With Hat (f)
218
+ 121, Blonde Bob (f)
219
+ 122, Mohawk (f)
220
+ 123, Big Shades (f)
221
+ 124, Earring (f)
222
+ 125, Green Eye Shadow (f)
223
+ 126, Straight Hair (f)
224
+ 127, Rosy Cheeks (f)
225
+ 128, Half Shaved (f)
226
+ 129, Mohawk Dark (f)
227
+ 130, Black Lipstick (f)
228
+ 131, Horned Rim Glasses (f)
229
+ 132, Silver Chain (f)` );
230
+ sheet.draw();
231
+ </script>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: profilepic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: originals
@@ -103,14 +103,23 @@ files:
103
103
  - bin/profilepic
104
104
  - lib/profilepic.rb
105
105
  - lib/profilepic/builder.rb
106
+ - lib/profilepic/public/doge-24x24.csv
107
+ - lib/profilepic/public/doge-24x24.png
108
+ - lib/profilepic/public/marcs-24x24.csv
109
+ - lib/profilepic/public/marcs-24x24.png
110
+ - lib/profilepic/public/spritesheet.js
106
111
  - lib/profilepic/public/style.css
112
+ - lib/profilepic/public/yeoldepunks-24x24.csv
113
+ - lib/profilepic/public/yeoldepunks-24x24.png
107
114
  - lib/profilepic/service.rb
108
115
  - lib/profilepic/version.rb
116
+ - lib/profilepic/views/doge.erb
109
117
  - lib/profilepic/views/index.erb
110
118
  - lib/profilepic/views/layout.erb
111
119
  - lib/profilepic/views/marcs.erb
112
120
  - lib/profilepic/views/shared/_more_options.erb
113
121
  - lib/profilepic/views/shared/_version.erb
122
+ - lib/profilepic/views/yeoldepunks.erb
114
123
  homepage: https://github.com/profilepic/profilepic
115
124
  licenses:
116
125
  - Public Domain