Jump to content
Search Community

Lynx

Members
  • Posts

    139
  • Joined

  • Last visited

Posts posted by Lynx

  1. I have a question about what GSAP can and cannot do with SVG.  This is a SVG file with a mask.

     

    Can GSAP make the colors in the shape transparent and reveal only when the mask begins to come within the SVG graphic region.  In other words, the SVG file is transparent, the mask is position above the graphic, as the mask begins to literally overlap the SVG graphic, the SVG graphic begins to reveal its self, until the complete graphic is revealed ?

    • Like 1
  2. I have a SVG file which has a linear gradient, I want to animate the gradient fading in, this is strictly for experimentation at this point, but can one group some of the colors from a radial gradient while leaving the other colors; the result would be a fading in while blending with the other color that remains static ?

    <radialGradient id="SVGID_1_" cx="160.6982" cy="160.3057" r="129.5064" gradientUnits="userSpaceOnUse">
                <stop  offset="0" style="stop-color:#00AEEF"/>
                <stop  offset="0.0608" style="stop-color:#00A2E4"/>
                <stop  offset="0.1969" style="stop-color:#008DCF"/>
                <stop  offset="0.3346" style="stop-color:#3D78BD"/>
                <stop  offset="0.4714" style="stop-color:#5D67B0"/>
                <stop  offset="0.607" style="stop-color:#6E58A5"/>
                <stop  offset="0.741" style="stop-color:#784B9E"/>
                <stop  offset="0.8728" style="stop-color:#7D429A"/>
                <stop  offset="1" style="stop-color:#7F3F98"/>
            </radialGradient>
  3. Blake, the image must be tilable, just so the image does not stretche ?

     

    The SVG image I have is not tilible friendly as it's all designed in Illustrator, I could claw back the amount of design I do to the image, but I can't make it tilable without destroying the design.

     

    Seeing your other example Blake it appears the SVG graphic doesn't need to be tilable, if there are enough control points, you can miniuplate the control points to animate how you want it via either CodePen / JSFiddle (I know everyone on this forum from what I see adores CodePen :)) then spit out those coordinates to most likely JS put that in a script file and it will simply animate as it was set out to animate, then it would be how I envisioned. :)

  4. That is working but causing my menu other problems, any others suggestions before, if I have to, give a JS Fiddle example ? :)

     

    > is directly ignoring any class within parenthesis, hrm.

×
×
  • Create New...