Skip to content

Commit 2ee66f7

Browse files
committed
Adds bypassDNA to readme
1 parent 89eb28e commit 2ee66f7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ If you want to play around with different blending modes, you can add a `blend:
111111

112112
If you need a layers to have a different opacity then you can add the `opacity: 0.7` field to the layersOrder `options` object as well.
113113

114+
If you want to have a layer _ignored_ in the DNA uniqueness check, you can set `bypassDNA: true` in the `options` object. This has the effect of making sure the rest of the traits are unique while not considering the `Background` Layers as traits, for example. The layers _are_ included in the final image.
115+
114116
To use a different metadata attribute name you can add the `displayName: "Awesome Eye Color"` to the `options` object. All options are optional and can be addes on the same layer if you want to.
115117

116118
Here is an example on how you can play around with both filter fields:
@@ -120,7 +122,11 @@ const layerConfigurations = [
120122
{
121123
growEditionSizeTo: 5,
122124
layersOrder: [
123-
{ name: "Background" },
125+
{ name: "Background" , {
126+
options: {
127+
bypassDNA: false;
128+
}
129+
}},
124130
{ name: "Eyeball" },
125131
{
126132
name: "Eye color",

0 commit comments

Comments
 (0)