First time using Greensock and I'm trying to animate 2 kids rolling down a hill using ScrollMagic as a trigger. I'm not really much of a coder, so there are gaps in my knowledge and things not very obvious to me.
I made some rough paths in Inkscape (they are kind of junky, will tweak later), but they are not scaling as expected. I want each kid to land approx at the bottom of the hill, but they are all over the place depending on browser width.
I see in the docs, you can use a matrix to transform the path (example below), but I'm not sure how to have it scale responsively?
Also, the paths used in the animation seem to be mirrored?
//transform the path using a matrix (rotate 45 degrees and move to right by 200px)
MorphSVGPlugin.pathDataToBezier(myPath, {matrix:[0.7071, 0.7071, -0.7071, 0.7071, 200, 0]});