animated-art-engine icon indicating copy to clipboard operation
animated-art-engine copied to clipboard

Is it possible to configure the output to have multiple output types?

Open null-prophet opened this issue 2 years ago • 4 comments

Just looking through this amazing repo and had a thought.

Say you have a basic NFT you have generated using the NFT chef style code. This is a base NFT image (PNG or something). All the probabilities etc are all derived here for the base NFT/metadata.

Then you might want to also produce an animated equivalent (some elements on top animated like your examples). Is this possible or would the step1/step2 code need quite a bit of alterations?

so at the end you would have possibly several files

NFT-001.png
NFT-001.mp4
...
NFT-123.png
NFT-123.mp4
... so on until the end

and so on for each config/style you might like to create in terms of output etc. Otherwise I see no real solution but to somehow generate them as PNG, then somehow reuse all the metadata config then run it again to do the animation version. Sorry if I missing something very obvious here.

null-prophet avatar Sep 12 '22 03:09 null-prophet

Hi @null-prophet I believe what you are looking for is https://github.com/jalagar/animated-art-engine#extend-existing-collection-into-gifmp4

I also recorded a video https://www.youtube.com/watch?v=HvXOdGGspGo&t=2s

Let me know if this is not what you are looking for.

jalagar avatar Sep 13 '22 03:09 jalagar

Hey @jalagar I think that would do it, I'm gonna test out the nftchef aspects first and get all that working and then revisit this part, thank you so much!

null-prophet avatar Sep 13 '22 06:09 null-prophet

Great! Going to close the issue for now feel free to re-open if it doesn't work

jalagar avatar Sep 14 '22 05:09 jalagar

I've been attempting this now with a full collection generated on the nft-chef code but have issues with some of the files in folders (which are z ordered files for a specific trait) being seen as cells in a spritesheet v's single elements.

Is there a way to fix this or give the processor hints as to what to do here?

Or do I need to fix the structure of the folders?

My folders are like this:

basePerson
-- typeA#50
---- fur
------ fur1#50
-------- [z10,body.png,z20,ears.png,z30,head.png] <- this is all the elements that make up a layered fur1  

But this would come out as a 3 cell looped animation, not 3 1 cell looped animations.

I thought this zXX naming convention would be picked up as not being cells for animation or am I missing something?

Thank you for your help!

null-prophet avatar Nov 23 '22 06:11 null-prophet