HashLips / hashlips_art_engine

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

Change edition count #308

Open jdev101a opened 2 years ago

jdev101a commented 2 years ago

Hi really appreciate your work on this, just query is there a way to change the start edition count to a different number i.e. 2000 instead of 1

Thanks

rosekolodny commented 2 years ago

I just ran upon this roadblock as well. I require the ability to start the edition from a particular number...I believe this was a feature in the past but I'm unable to locate it in any of the code. Bummer :/ I'll have to put my project on the backburner until I can find a way to do this.

baringji commented 2 years ago

I had similar issue. However mine is that we generated the image more than our target. Then we handpicked them, deleting unwanted images, resulting to images won't be serialize. So I created a script that does serialize the images back to 1 then preserving the meta it has from the original generation. This is similar to the generate_metadata but based from the images and json files generated.

https://gist.github.com/baringji/5a5a0fc90a6629e67047b1d5c029e923

jdev101a commented 2 years ago

@rosekolodny Thanks, if your issue is introducing another species with the same trait name i.e. body for the metadata. I suggest you make layer1 folder for body species 1 and layer2 folder for body species 2. Then in the main config change the display name to 'body'. By completing this way I did not have to manually change the edition count.

jdev101a commented 2 years ago

@baringji thanks for sharing the script :) I was able to solve as per above.