Open leodevbro opened 9 months ago
Hello @benjamminf, I want to achieve this but not only for texts but for any shape of SVG.
With only text, it is easy with textPath element, but instead of text, I have any SVG shape.
In this demo: https://codepen.io/benjamminf/pen/NpZLeb
This is the formula for wave warping (not for circular warping): warp.transform(([ x, y ]) => [ x, y + 4 * Math.sin(x / 16) ])
warp.transform(([ x, y ]) => [ x, y + 4 * Math.sin(x / 16) ])
Could you please provide a formula to bend any SVG circularly?
Hello @benjamminf, I want to achieve this but not only for texts but for any shape of SVG.
With only text, it is easy with textPath element, but instead of text, I have any SVG shape.
In this demo: https://codepen.io/benjamminf/pen/NpZLeb
This is the formula for wave warping (not for circular warping):
warp.transform(([ x, y ]) => [ x, y + 4 * Math.sin(x / 16) ])
Could you please provide a formula to bend any SVG circularly?