Coder Social home page Coder Social logo

Comments (3)

mdkess avatar mdkess commented on June 29, 2024

I think I found a good solution - got the tool branch up and running to debug. It seems the Voronoi generation in these cases failed at 16, but then 64 was too noisy.

So I did two things:

  1. Changed the approximation to for (let approximation of [16, 24, 32, 40, 48, 56, 64]) {
  2. Increased the tolerance to simplify to 15 pixels from 4.

The next thing I'm trying to figure out is how to get rid of the little hook at the top of the 人 characters and others - I think it's just because of guessing where the stroke starts.

Screen Shot 2021-01-02 at 12 25 48 AM

Screen Shot 2021-01-02 at 12 26 47 AM

from makemeahanzi.

mdkess avatar mdkess commented on June 29, 2024

@skishore - any thoughts on this change? I have exported the graphics.txt for my own purposes, but would you like a PR with these changes too? I've spot checked a bunch of characters, and I don't see any errors. It does loose some fidelity but it might make the data easier to work with.

from makemeahanzi.

QAbot-zh avatar QAbot-zh commented on June 29, 2024

@skishore - any thoughts on this change? I have exported the graphics.txt for my own purposes, but would you like a PR with these changes too? I've spot checked a bunch of characters, and I don't see any errors. It does loose some fidelity but it might make the data easier to work with.

@mdkess I think your idea is very good. Could you provide the modified graphics.txt file?

from makemeahanzi.

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.