Jump to content
Search Community

jdw2

Members
  • Posts

    1
  • Joined

  • Last visited

jdw2's Achievements

0

Reputation

  1. jdw2

    Path Intersection

    Does Greensock have any methods akin to the following in either it's core or in any of the plugins as I am currently having to use Snap svg and would rather not have to rely on additional libraries. Basically these methods in Snap allow you to identify the intersections between two paths even if they have been transformed. var domesticIntersection = Snap.path.intersection(domesticSupplyPath,worldSupplyPath); let matrixStuff = d3.select(".demand").node().transform.baseVal.consolidate().matrix; let matrixObject = Snap.matrix(matrixStuff); let pathString = Snap.path.map(demandPath,matrixObject);
×
×
  • Create New...