Giter VIP home page Giter VIP logo

Comments (4)

derhuerst avatar derhuerst commented on May 31, 2024

I'd vote for keeping format-specific exporters & importers out of this lib, to keep its footprint small. What about creating a points-to-svg package?

from points.

paulo-raca avatar paulo-raca commented on May 31, 2024

That works too

from points.

colinmeinke avatar colinmeinke commented on May 31, 2024

Thanks for the request, it's a good idea, that's why I've already made this over at svg-points 😄

It converts points to and from an svg object. The toPath function converts a set of points to a path d string. There's currently no function to turn a target dom node into an svg object, but it's worth thinking about (I'll open an issue for discussion).

I'll also definitely add a note to the points readme to point people towards svg-points.

Good to know other people are finding this useful!

from points.

paulo-raca avatar paulo-raca commented on May 31, 2024

Awesome, thanks!

from points.

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.