-
Notifications
You must be signed in to change notification settings - Fork 0
/
wolfcolor.go
266 lines (264 loc) · 9.42 KB
/
wolfcolor.go
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
package wolfcolor
import (
"image/color"
)
// Wolf3d hold the 256 colors uses for Wolfenstein 3d with RGB values scaled to
// between 0 and 255.
var Wolf3d = []color.Color{
color.RGBA{0x00, 0x00, 0x00, 0xff},
color.RGBA{0x00, 0x00, 0xaa, 0xff},
color.RGBA{0x00, 0xaa, 0x00, 0xff},
color.RGBA{0x00, 0xaa, 0xaa, 0xff},
color.RGBA{0xaa, 0x00, 0x00, 0xff},
color.RGBA{0xaa, 0x00, 0xaa, 0xff},
color.RGBA{0xaa, 0x55, 0x00, 0xff},
color.RGBA{0xaa, 0xaa, 0xaa, 0xff},
color.RGBA{0x55, 0x55, 0x55, 0xff},
color.RGBA{0x55, 0x55, 0xff, 0xff},
color.RGBA{0x55, 0xff, 0x55, 0xff},
color.RGBA{0x55, 0xff, 0xff, 0xff},
color.RGBA{0xff, 0x55, 0x55, 0xff},
color.RGBA{0xff, 0x55, 0xff, 0xff},
color.RGBA{0xff, 0xff, 0x55, 0xff},
color.RGBA{0xff, 0xff, 0xff, 0xff},
color.RGBA{0xee, 0xee, 0xee, 0xff},
color.RGBA{0xde, 0xde, 0xde, 0xff},
color.RGBA{0xd2, 0xd2, 0xd2, 0xff},
color.RGBA{0xc2, 0xc2, 0xc2, 0xff},
color.RGBA{0xb6, 0xb6, 0xb6, 0xff},
color.RGBA{0xaa, 0xaa, 0xaa, 0xff},
color.RGBA{0x99, 0x99, 0x99, 0xff},
color.RGBA{0x8d, 0x8d, 0x8d, 0xff},
color.RGBA{0x7d, 0x7d, 0x7d, 0xff},
color.RGBA{0x71, 0x71, 0x71, 0xff},
color.RGBA{0x65, 0x65, 0x65, 0xff},
color.RGBA{0x55, 0x55, 0x55, 0xff},
color.RGBA{0x48, 0x48, 0x48, 0xff},
color.RGBA{0x38, 0x38, 0x38, 0xff},
color.RGBA{0x2c, 0x2c, 0x2c, 0xff},
color.RGBA{0x20, 0x20, 0x20, 0xff},
color.RGBA{0xff, 0x00, 0x00, 0xff},
color.RGBA{0xee, 0x00, 0x00, 0xff},
color.RGBA{0xe2, 0x00, 0x00, 0xff},
color.RGBA{0xd6, 0x00, 0x00, 0xff},
color.RGBA{0xca, 0x00, 0x00, 0xff},
color.RGBA{0xbe, 0x00, 0x00, 0xff},
color.RGBA{0xb2, 0x00, 0x00, 0xff},
color.RGBA{0xa5, 0x00, 0x00, 0xff},
color.RGBA{0x99, 0x00, 0x00, 0xff},
color.RGBA{0x89, 0x00, 0x00, 0xff},
color.RGBA{0x7d, 0x00, 0x00, 0xff},
color.RGBA{0x71, 0x00, 0x00, 0xff},
color.RGBA{0x65, 0x00, 0x00, 0xff},
color.RGBA{0x59, 0x00, 0x00, 0xff},
color.RGBA{0x4c, 0x00, 0x00, 0xff},
color.RGBA{0x40, 0x00, 0x00, 0xff},
color.RGBA{0xff, 0xda, 0xda, 0xff},
color.RGBA{0xff, 0xba, 0xba, 0xff},
color.RGBA{0xff, 0x9d, 0x9d, 0xff},
color.RGBA{0xff, 0x7d, 0x7d, 0xff},
color.RGBA{0xff, 0x5d, 0x5d, 0xff},
color.RGBA{0xff, 0x40, 0x40, 0xff},
color.RGBA{0xff, 0x20, 0x20, 0xff},
color.RGBA{0xff, 0x00, 0x00, 0xff},
color.RGBA{0xff, 0xaa, 0x5d, 0xff},
color.RGBA{0xff, 0x99, 0x40, 0xff},
color.RGBA{0xff, 0x89, 0x20, 0xff},
color.RGBA{0xff, 0x79, 0x00, 0xff},
color.RGBA{0xe6, 0x6d, 0x00, 0xff},
color.RGBA{0xce, 0x61, 0x00, 0xff},
color.RGBA{0xb6, 0x55, 0x00, 0xff},
color.RGBA{0x9d, 0x4c, 0x00, 0xff},
color.RGBA{0xff, 0xff, 0xda, 0xff},
color.RGBA{0xff, 0xff, 0xba, 0xff},
color.RGBA{0xff, 0xff, 0x9d, 0xff},
color.RGBA{0xff, 0xff, 0x7d, 0xff},
color.RGBA{0xff, 0xfa, 0x5d, 0xff},
color.RGBA{0xff, 0xf6, 0x40, 0xff},
color.RGBA{0xff, 0xf6, 0x20, 0xff},
color.RGBA{0xff, 0xf6, 0x00, 0xff},
color.RGBA{0xe6, 0xda, 0x00, 0xff},
color.RGBA{0xce, 0xc6, 0x00, 0xff},
color.RGBA{0xb6, 0xae, 0x00, 0xff},
color.RGBA{0x9d, 0x9d, 0x00, 0xff},
color.RGBA{0x85, 0x85, 0x00, 0xff},
color.RGBA{0x71, 0x6d, 0x00, 0xff},
color.RGBA{0x59, 0x55, 0x00, 0xff},
color.RGBA{0x40, 0x40, 0x00, 0xff},
color.RGBA{0xd2, 0xff, 0x5d, 0xff},
color.RGBA{0xc6, 0xff, 0x40, 0xff},
color.RGBA{0xb6, 0xff, 0x20, 0xff},
color.RGBA{0xa1, 0xff, 0x00, 0xff},
color.RGBA{0x91, 0xe6, 0x00, 0xff},
color.RGBA{0x81, 0xce, 0x00, 0xff},
color.RGBA{0x75, 0xb6, 0x00, 0xff},
color.RGBA{0x61, 0x9d, 0x00, 0xff},
color.RGBA{0xda, 0xff, 0xda, 0xff},
color.RGBA{0xbe, 0xff, 0xba, 0xff},
color.RGBA{0x9d, 0xff, 0x9d, 0xff},
color.RGBA{0x81, 0xff, 0x7d, 0xff},
color.RGBA{0x61, 0xff, 0x5d, 0xff},
color.RGBA{0x40, 0xff, 0x40, 0xff},
color.RGBA{0x20, 0xff, 0x20, 0xff},
color.RGBA{0x00, 0xff, 0x00, 0xff},
color.RGBA{0x00, 0xff, 0x00, 0xff},
color.RGBA{0x00, 0xee, 0x00, 0xff},
color.RGBA{0x00, 0xe2, 0x00, 0xff},
color.RGBA{0x00, 0xd6, 0x00, 0xff},
color.RGBA{0x04, 0xca, 0x00, 0xff},
color.RGBA{0x04, 0xbe, 0x00, 0xff},
color.RGBA{0x04, 0xb2, 0x00, 0xff},
color.RGBA{0x04, 0xa5, 0x00, 0xff},
color.RGBA{0x04, 0x99, 0x00, 0xff},
color.RGBA{0x04, 0x89, 0x00, 0xff},
color.RGBA{0x04, 0x7d, 0x00, 0xff},
color.RGBA{0x04, 0x71, 0x00, 0xff},
color.RGBA{0x04, 0x65, 0x00, 0xff},
color.RGBA{0x04, 0x59, 0x00, 0xff},
color.RGBA{0x04, 0x4c, 0x00, 0xff},
color.RGBA{0x04, 0x40, 0x00, 0xff},
color.RGBA{0xda, 0xff, 0xff, 0xff},
color.RGBA{0xba, 0xff, 0xff, 0xff},
color.RGBA{0x9d, 0xff, 0xff, 0xff},
color.RGBA{0x7d, 0xff, 0xfa, 0xff},
color.RGBA{0x5d, 0xff, 0xff, 0xff},
color.RGBA{0x40, 0xff, 0xff, 0xff},
color.RGBA{0x20, 0xff, 0xff, 0xff},
color.RGBA{0x00, 0xff, 0xff, 0xff},
color.RGBA{0x00, 0xe6, 0xe6, 0xff},
color.RGBA{0x00, 0xce, 0xce, 0xff},
color.RGBA{0x00, 0xb6, 0xb6, 0xff},
color.RGBA{0x00, 0x9d, 0x9d, 0xff},
color.RGBA{0x00, 0x85, 0x85, 0xff},
color.RGBA{0x00, 0x71, 0x71, 0xff},
color.RGBA{0x00, 0x59, 0x59, 0xff},
color.RGBA{0x00, 0x40, 0x40, 0xff},
color.RGBA{0x5d, 0xbe, 0xff, 0xff},
color.RGBA{0x40, 0xb2, 0xff, 0xff},
color.RGBA{0x20, 0xaa, 0xff, 0xff},
color.RGBA{0x00, 0x9d, 0xff, 0xff},
color.RGBA{0x00, 0x8d, 0xe6, 0xff},
color.RGBA{0x00, 0x7d, 0xce, 0xff},
color.RGBA{0x00, 0x6d, 0xb6, 0xff},
color.RGBA{0x00, 0x5d, 0x9d, 0xff},
color.RGBA{0xda, 0xda, 0xff, 0xff},
color.RGBA{0xba, 0xbe, 0xff, 0xff},
color.RGBA{0x9d, 0x9d, 0xff, 0xff},
color.RGBA{0x7d, 0x81, 0xff, 0xff},
color.RGBA{0x5d, 0x61, 0xff, 0xff},
color.RGBA{0x40, 0x40, 0xff, 0xff},
color.RGBA{0x20, 0x24, 0xff, 0xff},
color.RGBA{0x00, 0x04, 0xff, 0xff},
color.RGBA{0x00, 0x00, 0xff, 0xff},
color.RGBA{0x00, 0x00, 0xee, 0xff},
color.RGBA{0x00, 0x00, 0xe2, 0xff},
color.RGBA{0x00, 0x00, 0xd6, 0xff},
color.RGBA{0x00, 0x00, 0xca, 0xff},
color.RGBA{0x00, 0x00, 0xbe, 0xff},
color.RGBA{0x00, 0x00, 0xb2, 0xff},
color.RGBA{0x00, 0x00, 0xa5, 0xff},
color.RGBA{0x00, 0x00, 0x99, 0xff},
color.RGBA{0x00, 0x00, 0x89, 0xff},
color.RGBA{0x00, 0x00, 0x7d, 0xff},
color.RGBA{0x00, 0x00, 0x71, 0xff},
color.RGBA{0x00, 0x00, 0x65, 0xff},
color.RGBA{0x00, 0x00, 0x59, 0xff},
color.RGBA{0x00, 0x00, 0x4c, 0xff},
color.RGBA{0x00, 0x00, 0x40, 0xff},
color.RGBA{0x28, 0x28, 0x28, 0xff},
color.RGBA{0xff, 0xe2, 0x34, 0xff},
color.RGBA{0xff, 0xd6, 0x24, 0xff},
color.RGBA{0xff, 0xce, 0x18, 0xff},
color.RGBA{0xff, 0xc2, 0x08, 0xff},
color.RGBA{0xff, 0xb6, 0x00, 0xff},
color.RGBA{0xb6, 0x20, 0xff, 0xff},
color.RGBA{0xaa, 0x00, 0xff, 0xff},
color.RGBA{0x99, 0x00, 0xe6, 0xff},
color.RGBA{0x81, 0x00, 0xce, 0xff},
color.RGBA{0x75, 0x00, 0xb6, 0xff},
color.RGBA{0x61, 0x00, 0x9d, 0xff},
color.RGBA{0x50, 0x00, 0x85, 0xff},
color.RGBA{0x44, 0x00, 0x71, 0xff},
color.RGBA{0x34, 0x00, 0x59, 0xff},
color.RGBA{0x28, 0x00, 0x40, 0xff},
color.RGBA{0xff, 0xda, 0xff, 0xff},
color.RGBA{0xff, 0xba, 0xff, 0xff},
color.RGBA{0xff, 0x9d, 0xff, 0xff},
color.RGBA{0xff, 0x7d, 0xff, 0xff},
color.RGBA{0xff, 0x5d, 0xff, 0xff},
color.RGBA{0xff, 0x40, 0xff, 0xff},
color.RGBA{0xff, 0x20, 0xff, 0xff},
color.RGBA{0xff, 0x00, 0xff, 0xff},
color.RGBA{0xe2, 0x00, 0xe6, 0xff},
color.RGBA{0xca, 0x00, 0xce, 0xff},
color.RGBA{0xb6, 0x00, 0xb6, 0xff},
color.RGBA{0x9d, 0x00, 0x9d, 0xff},
color.RGBA{0x85, 0x00, 0x85, 0xff},
color.RGBA{0x6d, 0x00, 0x71, 0xff},
color.RGBA{0x59, 0x00, 0x59, 0xff},
color.RGBA{0x40, 0x00, 0x40, 0xff},
color.RGBA{0xff, 0xea, 0xde, 0xff},
color.RGBA{0xff, 0xe2, 0xd2, 0xff},
color.RGBA{0xff, 0xda, 0xc6, 0xff},
color.RGBA{0xff, 0xd6, 0xbe, 0xff},
color.RGBA{0xff, 0xce, 0xb2, 0xff},
color.RGBA{0xff, 0xc6, 0xa5, 0xff},
color.RGBA{0xff, 0xbe, 0x9d, 0xff},
color.RGBA{0xff, 0xba, 0x91, 0xff},
color.RGBA{0xff, 0xb2, 0x81, 0xff},
color.RGBA{0xff, 0xa5, 0x71, 0xff},
color.RGBA{0xff, 0x9d, 0x61, 0xff},
color.RGBA{0xf2, 0x95, 0x5d, 0xff},
color.RGBA{0xea, 0x8d, 0x59, 0xff},
color.RGBA{0xde, 0x89, 0x55, 0xff},
color.RGBA{0xd2, 0x81, 0x50, 0xff},
color.RGBA{0xca, 0x7d, 0x4c, 0xff},
color.RGBA{0xbe, 0x79, 0x48, 0xff},
color.RGBA{0xb6, 0x71, 0x44, 0xff},
color.RGBA{0xaa, 0x69, 0x40, 0xff},
color.RGBA{0xa1, 0x65, 0x3c, 0xff},
color.RGBA{0x9d, 0x61, 0x38, 0xff},
color.RGBA{0x91, 0x5d, 0x34, 0xff},
color.RGBA{0x89, 0x59, 0x30, 0xff},
color.RGBA{0x81, 0x50, 0x2c, 0xff},
color.RGBA{0x75, 0x4c, 0x28, 0xff},
color.RGBA{0x6d, 0x48, 0x24, 0xff},
color.RGBA{0x5d, 0x40, 0x20, 0xff},
color.RGBA{0x55, 0x3c, 0x1c, 0xff},
color.RGBA{0x48, 0x38, 0x18, 0xff},
color.RGBA{0x40, 0x30, 0x18, 0xff},
color.RGBA{0x38, 0x2c, 0x14, 0xff},
color.RGBA{0x28, 0x20, 0x0c, 0xff},
color.RGBA{0x61, 0x00, 0x65, 0xff},
color.RGBA{0x00, 0x65, 0x65, 0xff},
color.RGBA{0x00, 0x61, 0x61, 0xff},
color.RGBA{0x00, 0x00, 0x1c, 0xff},
color.RGBA{0x00, 0x00, 0x2c, 0xff},
color.RGBA{0x30, 0x24, 0x10, 0xff},
color.RGBA{0x48, 0x00, 0x48, 0xff},
color.RGBA{0x50, 0x00, 0x50, 0xff},
color.RGBA{0x00, 0x00, 0x34, 0xff},
color.RGBA{0x1c, 0x1c, 0x1c, 0xff},
color.RGBA{0x4c, 0x4c, 0x4c, 0xff},
color.RGBA{0x5d, 0x5d, 0x5d, 0xff},
color.RGBA{0x40, 0x40, 0x40, 0xff},
color.RGBA{0x30, 0x30, 0x30, 0xff},
color.RGBA{0x34, 0x34, 0x34, 0xff},
color.RGBA{0xda, 0xf6, 0xf6, 0xff},
color.RGBA{0xba, 0xea, 0xea, 0xff},
color.RGBA{0x9d, 0xde, 0xde, 0xff},
color.RGBA{0x75, 0xca, 0xca, 0xff},
color.RGBA{0x48, 0xc2, 0xc2, 0xff},
color.RGBA{0x20, 0xb6, 0xb6, 0xff},
color.RGBA{0x20, 0xb2, 0xb2, 0xff},
color.RGBA{0x00, 0xa5, 0xa5, 0xff},
color.RGBA{0x00, 0x99, 0x99, 0xff},
color.RGBA{0x00, 0x8d, 0x8d, 0xff},
color.RGBA{0x00, 0x85, 0x85, 0xff},
color.RGBA{0x00, 0x7d, 0x7d, 0xff},
color.RGBA{0x00, 0x79, 0x79, 0xff},
color.RGBA{0x00, 0x75, 0x75, 0xff},
color.RGBA{0x00, 0x71, 0x71, 0xff},
color.RGBA{0x00, 0x6d, 0x6d, 0xff},
color.RGBA{0x99, 0x00, 0x89, 0xff},
}