-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathalgComp_params.js
More file actions
160 lines (140 loc) · 2.36 KB
/
Copy pathalgComp_params.js
File metadata and controls
160 lines (140 loc) · 2.36 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
algComp.speed = 10;
algComp.framesPerMovement = 10;
// size
algComp.numOfRows = 8;
algComp.numOfCols = 10;
// line
algComp.lengthProb = 0.7;
algComp.lengthMaxProb = 0.9;
algComp.lineColor = "black";
algComp.lineWidth = 7;
// line forming strategy
algComp.strictGrid = true;
algComp.reachToBorder = false;
algComp.diffLineSameGroup = true;
algComp.onlyLines = false;
// offset
algComp.createOffset = false;
algComp.offsetProb = 0.8;
algComp.offsetSize = 50;
algComp.minOffsetSize = 20;
// white space
algComp.biggerWhiteSpace = true;
algComp.whiteSpaceProb = 0.4;
algComp.whiteSpaceMaxProb = 0.6;
// coloring
algComp.colorByPixel = false;
algComp.add2B2Rect = true;
algComp.showGrid = false;
algComp.lessWhite = true;
algComp.lessWhiteProb = 0.4;
algComp.usePalette = true;
// prob
algComp.sigRate = 10;
// color palettes
algComp.palette1 = [
"#fac901",
"#225095",
"#dd0100",
"#fff"
];
algComp.palette2 = [
"#03045e",
"#0077b6",
"#00b4d8",
"#90e0ef",
"#caf0f8",
"#fff"
];
algComp.palette3 = [
"#780000",
"#c1121f",
"#fdf0d5",
"#003049",
"#669bbc",
"#fff"
];
algComp.palette4 = [
"#0081a7",
"#00afb9",
"#fdfcdc",
"#fed9b7",
"#f07167",
"#fff"
];
algComp.palette5 = [
"#ff9f1c",
"#ffbf69",
"#cbf3f0",
"#2ec4b6",
"#fff"
];
algComp.palette6 = [
"#c23726",
"#e8bf4d",
"#0e0e08",
"#c3c6d0",
"#1d336c",
"#dfdfe2",
"#fff",
];
algComp.palette7 = [
"#220901",
"#621708",
"#941b0c",
"#bc3908",
"#f6aa1c",
"#fff",
];
algComp.palette8 = [
"#cdb4db",
"#ffc8dd",
"#ffafcc",
"#bde0fe",
"#a2d2ff",
"#fff",
];
algComp.palette9 = [
"#590d22",
"#800f2f",
"#a4133c",
"#c9184a",
"#ff4d6d",
"#ff758f",
"#ff8fa3",
"#ffb3c1",
"#ffccd5",
"#fff0f3",
"#fff",
];
algComp.palette10 = [
"#9c6644",
"#7f5539",
"#b08968",
"#ddb892",
"#e6ccb2",
"#ede0d4",
"#fff",
];
algComp.palette11 = [
"#ffd6ff",
"#e7c6ff",
"#c8b6ff",
"#b8c0ff",
"#bbd0ff",
"#fff",
];
algComp.ranColorPalette = [];
algComp.palettes = [
algComp.palette1,
algComp.palette2,
algComp.palette3,
algComp.palette4,
algComp.palette5,
algComp.palette6,
algComp.palette7,
algComp.palette8,
algComp.palette9,
algComp.palette10,
algComp.palette11
];