Git Product home page Git Product logo

Comments (5)

13rac1 avatar 13rac1 commented on August 17, 2024

The fork referenced in twitter/twemoji#299 is just committed versions of my generated traces. IMO the traces are acceptable, but not that good compared to what an artist would create. Many of the images cannot be directly converted to one color. I spent a long time adjusting/massaging the settings on the generation process to create something reasonable looking to have anything/something to fall back to. It's just a total hack though 😆

You should try out the generation process: https://github.com/eosrei/twemoji-color-font#building Maybe you can adjust it to make them better?

https://github.com/eosrei/twemoji-color-font/blob/e933150f17257649984f75017a13984376406cc8/Makefile#L100-L113

from twemoji-color-font.

timdmackey avatar timdmackey commented on August 17, 2024

Thanks for your response! Now that I see what you're doing (and have taken a closer look at the fallback traces), it doesn't make a ton of sense to be using them as a standalone font. It's great that you created this fallback option though!

from twemoji-color-font.

speeditor avatar speeditor commented on August 17, 2024

There's one key reason an artist could improve on these line traces - the geometry of the emoji is lost to a degree. Compare the line-traced emoji with the originals at 24px, for example.

I can try post images of a "better" alternative I tried, if that'd be helpful. But I tried to generate monochrome icons by:

  1. Desaturating a more complex SVG - I picked U+1F6A4 as a personal favourite ;)
    At this stage, a perfect, grayscale emoji is made (but with multiple fill colors).
  2. Converting desaturated fill colors to black (with fill-opacity used to convey lighter color)
    Now we have either 1️⃣ a great black & white emoji or 2️⃣ a horrid mess of overlapping paths.

Unfortunately, this is highly destructive for icons with overlapping paths. But if an artist was willing to do this, only complex icons would need manual tweaking so that paths don't overlap.

from twemoji-color-font.

speeditor avatar speeditor commented on August 17, 2024

Hold on, what if you just:

  • desaturate the images
  • convert them to raster
  • then trace them back to vector (in such a manner that paths do not overlap)
  • convert desaturated fill colors to shades of black (fill-opacity!)

Anyone willing to give this a go? 😃

from twemoji-color-font.

13rac1 avatar 13rac1 commented on August 17, 2024

I'm all for making these better. I spent a significant amount of time inventing the current process. As far as I can tell actual humans, not 🤖 will have to parse each to make them graphically correct. Want to be proven wrong though!

from twemoji-color-font.

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.