Giter Site home page Giter Site logo

Tying Symbols to colours about beadcolors HOT 9 CLOSED

maxcleme avatar maxcleme commented on July 20, 2024
Tying Symbols to colours

from beadcolors.

Comments (9)

jaymeh avatar jaymeh commented on July 20, 2024

symbols.log - Full list of symbols.
icon-list.txt - Symbols that are left.

I think the biggest issue we may have here is in the event we get a bunch of new colours released and we run out of symbols for them. Keen to hear peoples thoughts :).

from beadcolors.

jaymeh avatar jaymeh commented on July 20, 2024

Hey @maxcleme ,

Just looking through this and wondered if you would also like me to take a look into creating the V3 api work for this? Noticed from your README that we should only MR with CSV's though so thought I'd ask before making a start.

Cheers.

from beadcolors.

maxcleme avatar maxcleme commented on July 20, 2024

@jaymeh

Feel free to add new go files under generation folder.

Statements in the README are only to explain that all versions are generated based on the raw folder, so modifying gen folder doesn't make sense.

Of course here we want to create a new version, so it's ok :)

from beadcolors.

maxcleme avatar maxcleme commented on July 20, 2024

In fact, I think we can stick with the initial set of symbols, having a unique symbol per palette is enough. We could easily distinguish it later on by using prefix and/or colors based on the palette origin.

eg: White Hama and Blue Perler could have the same symbol, however it could be rendered with prefix and/or colors based on Hama or Perler palettes.

However, as state, we need to think about maximum number of entries in a palette in order to support this behaviors.

from beadcolors.

jaymeh avatar jaymeh commented on July 20, 2024

@maxcleme I see, yes that could work as a first phase. We should have enough symbols per palette, the biggest one I could see was the new diamond dotz addition with ~480 colours. We have a full symbols list of around 700 so we should be ok.

I had a think about the overall approach for this last night and the only way I can see it working is to generate an additional file (possibly csv) somewhere inside the generation folder. This is generated automatically by assigning symbols to their colour code. We would then be able to lookup these associations when any new palette is added and regenerate the csv before pushing it into the gen folder.

Keen to hear your thoughts on this? 😃

from beadcolors.

maxcleme avatar maxcleme commented on July 20, 2024

New version is up and running. You can get v3 files here :

https://beadcolors.eremes.xyz/gen/v3/[PALETTE_NAME].csv

Let's move on to beadifier repo for integration :)

from beadcolors.

jaymeh avatar jaymeh commented on July 20, 2024

from beadcolors.

maxcleme avatar maxcleme commented on July 20, 2024

If everything is fine, I guess we can close then :)

from beadcolors.

jamiesykescreode avatar jamiesykescreode commented on July 20, 2024

Yeah, lets close this. Thanks

from beadcolors.

Related Issues (19)

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.