-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrawings-panels.yml
More file actions
267 lines (255 loc) · 10.4 KB
/
Copy pathdrawings-panels.yml
File metadata and controls
267 lines (255 loc) · 10.4 KB
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
267
- weight: 1.0
value:
type: panels
generator:
- value: 'bsp'
weight: 2.0
- value: 'voronoi'
weight: 1.0
amount: # Number of panels to place in the image
- value: 1
weight: 1.0
- value: [2, 6]
weight: 10.0
- value: [2, 10]
weight: 4.0
bsp: # Only applied if generator is bsp
margin: # In relative of the image size
top:
- value: 0
weight: 1.0
- value: [-0.1, 0.1]
weight: 1.0
right:
- value: 0
weight: 1.0
- value: [-0.1, 0.1]
weight: 1.0
bottom:
- value: 0
weight: 1.0
- value: [-0.1, 0.1]
weight: 1.0
left:
- value: 0
weight: 1.0
- value: [-0.1, 0.1]
weight: 1.0
diagonal:
_prob: 0.2
percent:
- value:
min: -0.3
max: 0.3
weight: 2.0
- value:
min: -0.999
max: 0.999
weight: 1.0
split:
min: 0.3
max: 0.7
voronoi: # Only applied if generator is voronoi
lloydIterations:
min: 0
max: 4
separation:
- value: [0, 5]
weight: 3.0
- value: [2, 10]
weight: 3.0
- value: [5, 20]
weight: 1.0
- value: [5, 50]
weight: 1.0
- value:
min: 5
max: 50
weight: 1.0
joinPanels:
_prob: 0.2
max: [1, 5] # Max amount of panels to join together, Randomized
ignorePanels:
_prob: 0.1
max: [1, 3] # Max amount of panels to ignore to create empty space
list:
- type: panels-lineart
unclosedPanels:
_prob: 0.01 # Applied independently to each panel edge line
max: [1, 5] # Max number of lines to leave unclosed
fullUnclosedPanels:
_prob: 0.01
- type: colorize-mask # This is also used in black-white images to ad some gray areas
panels: true
- type: paint
prob: 0.99
panels: true
brush:
name: '' # Use group if name is empty (Random brush from group)
category:
- value: [ink, sketching]
weight: 3.0
- value: [airbrush, basic, bristles, dry, chalk, charcoal, wet, watercolor, rgba, shapes, texture, stamp]
weight: 3.0
- value: [pencil, ink, charcoal, sketching]
weight: 1.0
# amount: [1, 3]
amount:
- value: [0, 1]
weight: 1.0
- value: [1, 10]
weight: 5.0
- value: [1, 50]
weight: 1.0
size:
- value:
min: [1, 5]
max: [5, 10]
weight: 1.0
- value:
min: [20, 50]
max: [50, 150]
weight: 1.0
points:
min: [40, 80]
max: [80, 150]
colors:
gray:
- value:
min: 0
max: 0
weight: 3.0
- value:
min: 0
max: 127
weight: 3.0
- value:
min: 0
max: 255
weight: 1.0
alpha:
- value:
min: 255
max: 255
weight: 5.0
- value:
min: 100
max: 255
weight: 1.0
colorTone: # Only if colored is not active
active:
prob: 0.2
offset:
r: [-20, 20]
g: [-20, 20]
b: [-20, 20]
colored:
active:
prob: 0.2
paletteColors: [3, 20] # A new palette will be created with this amount of colors.
similarColors: # Agrupate colors in a range of similar colors, 0 disables similar colors
- value: [0, 3]
weight: 1.0
- value: [5, 9]
weight: 1.0
differentColors: # Use direfent colors inside same paint (By default similar colors are used inside same paint)
prob: 0.5
palette:
name: ['rand', 'Animation Color Set', 'Concept-cookie', 'Default', 'Swatches', 'PixelArt 32', 'Gradient', 'Markers']
- type: lineart
layer: lineart-2
# prob: 0.2
prob: 0.1
panels: true
fillBackground:
active:
prob: 0.5
erode: [1, 5]
blur: [0.5, 0.8]
erode: [5, 50]
amount: [1, 10] # number of drawings to composite, per layer (up, middle, down)
points: # number of points to place the drawing (the drawing will be randomly moved and rotated around the point)
min: [4, 8]
max: [8, 15]
- type: lineart-texture
prob: 0.5
panels: true
erode: [5, 50]
brush:
name: '' # Use group if name is empty (Random brush from group)
category: [texture, stamp]
# amount: [1]
size:
min: [50, 150]
max: [150, 500]
points: # number of points to place the drawing (the drawing will be randomly moved and rotated around the point)
min: [4, 8]
max: [8, 15]
- type: lineart-random
prob: 0.1
panels: true
erode: [5, 50]
brush:
name: '' # Use group if name is empty (Random brush from group)
category: [pencil, ink, charcoal, sketching]
disableBrushesWithPixelatedEdgesInSmallSize: true
amount: [2, 10]
size:
min: [0.1, 2.1]
max: [2.1, 4.1]
areaSize:
min: [20, 50]
max: [50, 150]
points: # number of points to place the drawing (the drawing will be randomly moved and rotated around the point)
min: [4, 20]
max: [20, 40]
# colors: # TODO: Not working currently, only in base color
# file: options/common/colors.yml
- type: parallel-lines # Add parallel lines to avoid descreen them
prob: 0.25
panels: true
amount: [1, 2]
lines: # number of lines to place
min: 1
max: 5
length: # length of the lines
min: 100
max: 500
brush:
name: '' # Use group if name is empty (Random brush from group)
category: [pencil, ink, charcoal, sketching]
disableBrushesWithPixelatedEdgesInSmallSize: true
size:
min: [0.1, 2.1]
max: [2.1, 4.1]
colors:
file: options/common/colors.yml
separation: # separation between the lines of the grid
min: 5
max: 50
verticalAndHorizontalChance: 0.25 # Probability of placing dots in vertical or horizontal lines, the rest will be placed in random lines
- type: grid # Add random grid to avoid descreen them
prob: 0.25
panels: true
amount: [1, 2]
lines: # number of lines to place the grid
min: 1
max: 5
length: # length of the lines
min: 100
max: 500
brush:
name: '' # Use group if name is empty (Random brush from group)
category: [pencil, ink, charcoal, sketching]
disableBrushesWithPixelatedEdgesInSmallSize: true
size:
min: [0.1, 2.1]
max: [2.1, 4.1]
colors:
file: options/common/colors.yml
separation: # separation between the lines of the grid
min: 5
max: 50
verticalAndHorizontalChance: 0.25 # Probability of placing dots in vertical or horizontal lines, the rest will be placed in random lines
# - file: 'options/common/dots-and-circles.yml'
# - file: 'options/common/parallel-lines-and-grid.yml'