You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I scanned through the documentation super quickly, and while I understood that in true canvas sense, drawing from coordinate to coordinate was possible, I wanted to ask if it's possible to draw lines between various DOM nodes.
I'm thinking like:
<div id="A">I want to draw a line from this</div>
<div id="B">to this</div>
Definitely possible - you'd want to look up the position of the two divs, translate their corners to the svg coordinate space, then pass those positions to swoopy.
Hi!
I scanned through the documentation super quickly, and while I understood that in true canvas sense, drawing from coordinate to coordinate was possible, I wanted to ask if it's possible to draw lines between various DOM nodes.
I'm thinking like:
Obviously this is really shitty shorthand, but I'm curious if this is possible, or could be made to be possible.
Thanks!
The text was updated successfully, but these errors were encountered: