Comments (4)
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.
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.
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.
👍 🚀
from polynom.
Related Issues (20)
- Keyboard shortcut for adding new path does not work
- CMD+Q keyboard shortcut conflicts with system shortcut to close browser
- [enhancement] Add support for zooming canvas HOT 1
- Closing a path does not close all shapes. HOT 1
- add background image so we can draw something on top of it
- Add rx and ry dragging
- Add visual helper to create arcs more easily
- Add the possibility to group paths
- Add the possibility to clone paths
- Add the possibility to select and drag multiple objects
- Highlight the matching code when a point is hovered
- Add coordinates helper
- Add horizontal and vertical locking system when dragging something
- Add a visible/hidden option
- Add a favicon
- Add some explanations on how to use the app
- Add a locked/unlocked option
- Add basic transformations on paths (scale, rotate)
- Ctrl causes right click menu to open on macos HOT 1
- website is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polynom.