Joe is the artist, I am the dev. In a world of rugs, hacks and scams we want to be transparent from the outset about who we are, what we’re building, why and how. This is how we believe NFT projects should be built. We’ll post more about ourselves in the future; but first I want to focus on the art.
Each of the Possessed is made up of hand drawn traits, edited in Illustrator and animated in After Effects. Each trait has a human state and a possessed state.
Easy right? I thought so, but Lottie file formats are complicated and so like great devs do, I turned to Google: “how to merge Lottie files together”. Apparently we’re the first people to do this… or at least write about it.
Lottie files are not optimised for readability. Things like the animation timings are stored in very unhelpful variable names such as
ip… Although at least
layers were obvious enough and clearly what I needed to merge. Ok, so all I need to do is:
What the?! Where are the..? Argh, apparently 0 is the top layer… I need to reverse the order I loop through traits in.
WHY ISN’T THIS WORKING?!
*returns from walk*
Looks like assets and layers are linked by an ID, so that each layer knows what asset to animate, makes sense. Apparently when you export these files from After Effects the IDs for each trait are exactly the same. Makes less sense. Time to re-map the IDs. For a while I tried to be fancy and loop through the nested hellhole of incomprehensible variable names. But I was trying to be smart when the dumb approach was better:
Success! Right now have 32 traits across 8 categories which generates 40,320 unique characters. Math is cool. But this still isn’t enough variants for us to be happy. We want every single one of The Possessed to look different (not just be different) and, of course, some traits to be rarer than others.
And if you like this, share it and I’ll write more.