desousak / svg-pen-sketch Goto Github PK
View Code? Open in Web Editor NEWAn easy-to-use JavaScript library aimed at making it easier to draw on SVG elements.
License: BSD 3-Clause "New" or "Revised" License
An easy-to-use JavaScript library aimed at making it easier to draw on SVG elements.
License: BSD 3-Clause "New" or "Revised" License
Hi!
I came across your project today and found it perfect for my current situation.
Unfortunately, I had some issues after scaling the parent element. As it seemed quite easily fixable (had to locally overwrite the _getMousePos
for my current tests), I would like to provide you with a very simple fix.
Thank you in advance and keep up the good work.
Kind regards,
Hi!
Adding an import svgKetch from 'svg-pen-sketch';
raises this error:
/node_modules/svg-pen-sketch/dist/svg-pen-sketch.js:1:29655: Unexpected token (1:29655)
Is it possible the version uploaded to npm repository has some bug on it? (btw, thanks for creating this project :))
The relevant package.json
line is:
"svg-pen-sketch": "^1.0.8",
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.