Coder Social home page Coder Social logo

Comments (5)

PxlSyl avatar PxlSyl commented on August 22, 2024 1

Line 121 here in the config file :
https://github.com/nftchef/art-engine/blob/nested-folder-structure/src/config.js

from animated-art-engine.

jalagar avatar jalagar commented on August 22, 2024 1

Got it that makes sense! I think that seems almost like a separate tool that could parse the JSONs and then append a random rarity. I would ask in Hashlips discord, someone might have wrote it for you. You don't even need it to be a part of this tool because its not directly related to GIFs and can be something added afterwards

from animated-art-engine.

jalagar avatar jalagar commented on August 22, 2024

Hi I haven't seen the extra-attributes feature in NFTchef let me put it in the backlog and look into it later!

from animated-art-engine.

jalagar avatar jalagar commented on August 22, 2024

@PxlSyl extra-attributes works out of the box, you can find it in step2/config.js. I just tested it, it works. In terms of adding specific traits for specific rares/legendaries, you would probably want to use the replace legendary feature https://github.com/jalagar/Generative_Gif_Engine#randomly-insert-rare-items---replace-util and create the configs yourself, or you can generate just rares/legendaries first with extraAttributes with another Math.random or something. I can keep this open but there are a few workarounds

from animated-art-engine.

PxlSyl avatar PxlSyl commented on August 22, 2024

Yeah I know it works as it is :) For the replace feature, it's not sufficient. Of course I will use it for handmade legendaries, writing the json manually. But the point and the goal are not there, in fact in a normal collection there are several degrees of rarity (apart from the legendaries which have nothing to do ^^) and there the goal would therefore be a utility script which allows to look if layer "x" is present in "y" json, then such math.random function should apply to add a specific number trait . I think for this you would need a js script, and a configuration file for this script, let me know what do you think? I know some other people are looking for the same thing! And perhaps some devs I know will implement this but IDK for now

from animated-art-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.