Comments (5)
it doesn't throw any errors
from svgpath.
No idea. Could you provide full code sample and browser/os info?
from svgpath.
d = "M786.0224 469.4016a49.7664 49.7664 0 0 1 0 85.1968L289.1776 852.5824a49.5616 49.5616 0 0 1-75.1616-42.5984v-595.968a49.5616 49.5616 0 0 1 75.1616-42.5984l496.8448 297.984z"
This is a triangular svg path
const d = svgpath.rotate(-90).scale(0.04).rel().toString()
when i console d , i get the following results,
M18.776064-31.440896a1.990656 1.990656 0 0 1 3.407872 2.0867197683519443e-16l11.91936 19.873791999999998a1.982464 1.982464 0 0 1-1.7039360000000001 3.0064640000000002l-23.83872-1.4597006071884995e-15a1.982464 1.982464 0 0 1-1.7039359999999997-3.0064640000000002l11.919360000000001-19.873792z
Browser crash is my problem, but I found that there was no separator between 18.776064 and -31.440896.
from svgpath.
Separators are not needed when end of sequence can be understood (when next character makes previous content invalid => effect the same as with space)
from svgpath.
All right, thank you.
from svgpath.
Related Issues (20)
- For in-browser use, do we have a bundled JS file served anywhere? HOT 5
- feature request: non-scaling-stroke HOT 4
- Shorthand notation ends up in missing parameters HOT 8
- Is is possible to split segments HOT 1
- Support for calculating bounding boxes HOT 1
- Support for reversing the path HOT 23
- Support for open/closed path HOT 1
- Support for more modular structure using ES6 modules HOT 2
- [QUESTION] apply 3d transform to svg path commands possible? HOT 1
- Update index.d.ts to include export SvgPath interface and type declarations for from() HOT 1
- Differentiate between relative chained and isolated command in parser HOT 1
- rel method Supports Typescript HOT 1
- Instructions for running locally HOT 5
- How I can create path for mltline text? HOT 1
- Transform origin and transform box are not centered HOT 1
- very high cpu usage HOT 2
- Run in Browser. No Node HOT 2
- Support for setting the origin of the transformation HOT 1
- Support transformation units HOT 1
- Is it possible to have the pair of transformed coordinates returned as a dataset HOT 2
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 svgpath.