-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path unknown error. #30
Comments
I just checked your codepen and it works. What exactly is happening? |
The shapes are not morphing flawlessly? they should've transform one to another right? Like the examples you have "triangle to star", etc |
You mean the information you get in your console? That is a feature to help you find the best |
@thednp no mate, im aware of that. Its not an issue with the plugin I guess. However the shapes are not morphing, they are flipping or something |
Are you a MAC? |
@thednp Yes I am |
Please update your browser or get yourself a shiny new PC. |
OR: you can try to use polyfills, check out my minifill.js |
@thednp Mate, I've tried the same code with your paths and it worked just fine. Im not sure what you're seeing, but I experience the same "flipping" motion both on windows, osx and chrome for android. |
Check this on your machine and let me know how it goes. |
I just tested with Safari 5.3.1 for Windows and it works, it's not perfect, but the script works. SO I don't know exactly what kind of a machine you have. |
Seems to be the same. |
@thednp http://codepen.io/RUIFERNANDE5/pen/AXzbEN Tell me, exactly how is it a morphing motion? Now you have both paths to compare |
I think your first shape might have a problem, not sure about it, I will have a look at it later. |
I've removed the last point for each path, as long as they have http://codepen.io/thednp/pen/QEPmLa For some reason, the first path has some render issue, I cannot say. Keep in mind that this involves morphing polygon type of paths, something that is kind of beta feature for the SVG plugin. It's something that still needs some fine tuning and documenting. The reasons for this is that the current HTML working draft does not have any API for SVG, I would recommend using only absolute values for your points (for instance |
Thanks a lot for your time, I'll definitely give a read on that. For now I think I can get along from here. |
Just one more thing, can you explain why the pen u created works from #n2 to #n1 but not the contrary? |
I cannot explain but I know a workaround: edit the Update: also try edit your shapes to only have |
Would you please give an example on that? |
See updated commend. |
@thednp do you recommend any svg relative to absolute convertor? can't find any (working). Edit: I've tried your workaround and converted all paths to absolute, correct me if I'm wrong: Seems not to work. |
Try this and let me know. |
I just tried this one. The paths I posted were converted from there |
Yes, I tested myself http://codepen.io/thednp/pen/qNwoAE Look I will reopen this and will try to find a fix asap, right now I am working on an update for bootstrap.native. |
@thednp appreciated. |
I have some Javascript from Snap.SVG to do |
Problem solved. Demo http://codepen.io/thednp/pen/YWbpJo |
works like a charm, thanks buddy! +1 |
No problemo. |
Hey friends,
Sorry if this is not the place for coding doubts or something, but I've wasted to many time already with this issue.
Here is a codepen i made.
I've already jumped to the conclusion the problem is within the svg itself, they are not morphing.
What could it be the problem? The shapes are quite simple, all have the same size and anchors and, as you guys say on your documentation, "closed shapes (their d attribute ends with z)."
The text was updated successfully, but these errors were encountered: