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
Go to the root of you folder and run this command if you have yarn installed.
27
+
Go to the root of your folder and run this command if you have yarn installed.
28
28
29
29
```sh
30
30
yarn add all
31
31
```
32
32
33
-
Alternativly you can run this command if you have node installed.
33
+
Alternatively you can run this command if you have node installed.
34
34
35
35
```sh
36
36
npm install
@@ -61,14 +61,14 @@ const layerConfigurations = [
61
61
62
62
The `name` of each layer object represents the name of the folder (in `/layers/`) that the images reside in.
63
63
64
-
Optionally you can now add multiple different `layerConfigurations` to you collection. Each confugiration can be uinque and have different layer order, use the same layers or intruduce new onces. This gives the artist flexibility when it comes to fine tuning their collections to their needs.
64
+
Optionally you can now add multiple different `layerConfigurations` to your collection. Each configuration can be unique and have different layer orders, use the same layers or introduce new ones. This gives the artist flexibility when it comes to fine tuning their collections to their needs.
65
65
66
-
_Example:_ If you were creating a portrait design, you might have a background, then a head, a mouth, eyes, eyewear, and then headwear and you want to create a new race or just simple re-order the layers or even introduce new layers, so your`layerConfigurations` and `layersOrder` would look something like this:
66
+
_Example:_ If you were creating a portrait design, you might have a background, then a head, a mouth, eyes, eyewear, and then headwear and you want to create a new race or just simple re-order the layers or even introduce new layers, then you're`layerConfigurations` and `layersOrder` would look something like this:
67
67
68
-
`````js
68
+
```js
69
69
constlayerConfigurations= [
70
70
{
71
-
// Creates upto 50 artworks
71
+
// Creates up to 50 artworks
72
72
growEditionSizeTo:50,
73
73
layersOrder: [
74
74
{ name:"Background" },
@@ -80,7 +80,7 @@ const layerConfigurations = [
80
80
],
81
81
},
82
82
{
83
-
// Creates an aditional 100 artworks
83
+
// Creates an additional 100 artworks
84
84
growEditionSizeTo:150,
85
85
layersOrder: [
86
86
{ name:"Background" },
@@ -109,13 +109,13 @@ or
109
109
node index.js
110
110
```
111
111
112
-
The program will output all the images in the `build` directory along with the metadata files. Each collection will have a `_metadata.json` file that consists of all the metadata in the collection inside the `build`folder. The`build` folder also will contain alll the images as well as single json files that represents each image file. The single json file of a image will look somthing like this:
112
+
The program will output all the images in the `build` directory along with the metadata files. Each collection will have a `_metadata.json` file that consists of all the metadata in the collection inside the `build` folder. The `build` folder also will contain all the images as well as single json files that represent each image file. The single json file of a image will look something like this:
0 commit comments