Git Product home page Git Product logo

Comments (4)

debkbanerji avatar debkbanerji commented on June 19, 2024

It's built around hex codes so this shouldn't be too tricky to implement (what country the colors are from doesn't matter). It's a little work to implement but it should be doable maybe through a URL parameter with the extra colors.

from lego-art-remix.

debkbanerji avatar debkbanerji commented on June 19, 2024

I've added in this feature in v2021.2.28. It's implemented using a url parameter with hex codes for your available colors. For example:

https://lego-art-remix.debkbanerji.com/?availableColors=#FF00FF,#333366

Just replace the hex codes with a comma separated list of your available colors.

from lego-art-remix.

douglasblash avatar douglasblash commented on June 19, 2024

Hi,

Yes, I tried this method with 3 nice new unique flesh-tone colors I got from a manufacturer in China. It recognizes the custom colors added, but it just paints the whole image with only those 3 colors, and no others. Is there an easy way to include all of the other standard Lego colors, or do I need to specify ALL of their hex values in the URL?

To double check, I also tried the test URL text you typed above. The result is essentially the same, it just paints the whole thing with only those 2 new specified colors, and nothing else...!

Can you fix it? Thanks! =)

Doug

from lego-art-remix.

debkbanerji avatar debkbanerji commented on June 19, 2024

Good call - fixed in v2022.4.23. It still defaults to only using selected colors, but you can still mix in bricklink colors. Let me know if something looks off.

from lego-art-remix.

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.