bolshoytoster / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
42 stars 34 forks source link

layer name can not contain DNA_DELIMITER (-), #4

Closed kingchenc closed 2 years ago

kingchenc commented 2 years ago

Checklist

Description

Hello,

Is there any way, i can do this with your Repo? "-" in the Name with a % Chance?

layer name can not contain DNA_DELIMITER (-), please fix: T-200 Ugly.png

thank you

Steps to reproduce

No response

Expected result

No response

Actual result

No response

Environment

OS Version (uname -a on unix, systeminfo on windows): Node.js version (node -v):

bolshoytoster commented 2 years ago

@kingchenc you can set DNA_DELIMITER to any string in src/config.js:

const DNA_DELIMITER = "Some string you don't have in any of your image names (this sentence will work but it means the program would use more memory)";
kingchenc commented 2 years ago

@kingchenc you can set DNA_DELIMITER to any string in src/config.js:

const DNA_DELIMITER = "Some string you don't have in any of your image names (this sentence will work but it means the program would use more memory)";

good to know that, thanks buddy :)