Giter Club home page Giter Club logo

Comments (3)

oktak avatar oktak commented on June 27, 2024

Let me take this~
Do you mean there would be bold lined squares that enclose 100 small squares inside?

from image2pattern.

acrosman avatar acrosman commented on June 27, 2024

Sounds like you have the idea, so go for it.

from image2pattern.

acrosman avatar acrosman commented on June 27, 2024

#5 addresses this question using additional squares over the top of the existing grid to add the emphasis. This is a pretty straight forward approach similar to what I had envisioned. But those don't make it across the page jumps and the code to do so is likely to be a bit confusing to maintain.

#9 addresses this question by shifting the squares within the image a pixel so the borders for two squares show and give us the effect we want. This has the advantage of reducing extra elements in the image and ensuring that all boxes remain 10x10. But that means we need to redo the image size calculation because each 10 rows introduces an off-by-one error since the boxes don't overlap. That image size would ideally be based on the PDF page size and will add complexity to that calculation (which isn't currently correct #2).

So both are helpful but neither works quite right. I'm inclined to with fix #5 by using lines over the top of the grid instead of extra squares. The position of those should be easy to calculate. If there is a solution to the image size calculation that is more straight forward than what I'm thinking than I'd be happy with that approach since it will probably work better with the symbols needed for #7.

from image2pattern.

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.