I try to render svg but have an error when rendering Shape.
js/app.js:2271 Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "[object Object]".
I've made a fork of one project to show the issue:
https://github.com/rtkhanas/hex-demo
All I did is - I added a single line to render on svg instead of canvas in src/js/index.js:
require('art/modes/current').setCurrent(require('art/modes/svg'));
I suspect that the problem is not with react-art but with art project, but not sure yet.
I try to render svg but have an error when rendering Shape.
I've made a fork of one project to show the issue:
https://github.com/rtkhanas/hex-demo
All I did is - I added a single line to render on svg instead of canvas in
src/js/index.js:I suspect that the problem is not with
react-artbut withartproject, but not sure yet.