You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then optionally, update your `format` size, ie the outputted image size, and the `growEditionSizeTo` on each `layerConfigurations` object, which is the amount of variation outputted.
104
+
Update your `format` size, ie the outputted image size, and the `growEditionSizeTo` on each `layerConfigurations` object, which is the amount of variation outputted.
105
+
106
+
You can mix up the `layerConfigurations` order on how the images are saved by setting the variable `shuffleLayerConfigurations` in the `config.js` file to true. It is false by default and will save all images in numerical order.
107
+
108
+
If you want to have logs to debug and see what is happening when you generate images you can set the variable `debugLogs` in the `config.js` file to true. It is false by default, so you will only see general logs.
105
109
106
110
If you want to play around with different blending modes, you can add a `blend: MODE.colorBurn` field to the layersOrder object. If you need a layers to have a different opacity then you can add the `opacity: 0.7` field to the layersOrder object as well. Both the `blend: MODE.colorBurn` and `opacity: 0.7` can be addes on the same layer if you want to.
107
111
@@ -157,7 +161,7 @@ const MODE = {
157
161
};
158
162
```
159
163
160
-
When you are all ready, run the following command and your outputted art will be in the `build/images` directory and the json in the `build/json` directory:
164
+
When you are ready, run the following command and your outputted art will be in the `build/images` directory and the json in the `build/json` directory:
161
165
162
166
```sh
163
167
npm run build
@@ -192,6 +196,20 @@ The program will output all the images in the `build/images` directory along wit
192
196
}
193
197
```
194
198
199
+
You can also add extra metadata to each metadata file by adding your extra items, (key: value) pairs to the `extraMetadata` object variable in the `config.js` file.
200
+
201
+
```js
202
+
constextraMetadata= {
203
+
creator:"Daniel Eugene Botha",
204
+
};
205
+
```
206
+
207
+
If you don't need extra metadata, simply leave the object empty. It is empty by default.
208
+
209
+
```js
210
+
constextraMetadata= {};
211
+
```
212
+
195
213
That's it, you're done.
196
214
197
215
## Utils
@@ -232,14 +250,14 @@ The output will look something like this:
0 commit comments