Giter Site home page Giter Site logo

Comments (4)

anthonydugois avatar anthonydugois commented on July 3, 2024

I'm working on a function to edit the path code manually, but I'm not sure this is what you mean by "import and export the paths". Could you be more specific? :)

from polynom.

davidhund avatar davidhund commented on July 3, 2024

Editing the path code manually (and thus being able to copy-paste) is partially what I meant.

Manual editing would allow us to 'load' and 'save' path data (by copy-pasting). This, however, does not handle the SVG 'canvas' dimensions, etc. Pasting path data based on different dimensions would result in in—or partially—visible path's.

It would be better to be able to save all settings: path-data and app-settings (canvas dimensions, etc).
Off the top of my head a simple svg-path-builder.json object would be great, but even better would be to (also) have the option to save only the image (your-paths.svg).

Absolutely brilliant would be to be able to import an SVG containing path's and make that editable :-)

from polynom.

anthonydugois avatar anthonydugois commented on July 3, 2024

Oh ok, I get it. Well this is an excellent idea. I think the JSON file would be redundant, because you already have all the data in the SVG file.

Export is easy, and I can load paths from an SVG image by parsing the file. I'll add these functions for sure. :)

from polynom.

davidhund avatar davidhund commented on July 3, 2024

👍 🚀

from polynom.

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.