Jump to content
Search Community

lixelart

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by lixelart

  1. Forgot to clarify in title -- been using TweenMax

     

    Hi Guys 

     

    If you take a look at my codepen, you can see there are multiple 'dashes' animating on the left side of the screen. I have been slowly stripping down

    See the Pen uhKIy by GreenSock (@GreenSock) on CodePen

    . But these dashes are added as part of the bezier animation, and I'd like to add them without that... 

     

    My goal is add multiple 'dashes' on page load, without delay. And add these at specific positions, without motion. 

     

    Breaking down the task as I can understand it:

    1. Load the first SVG all objects are based on, as a variable
    2. Multiples of the SVG variable
      1. Add 10x more of that variable instantaneously
      2. Place these variables at specific x & y positions in the window
    3. Looping fade animation (currently applies to all not individual)
    4. Stretch goal! Add a nice fade in / fade out on all of it when you land / leave the page.

    2.1 & 2.2 is where I feel stuck.

     

    Pointers in the right direction? I think one of my biggest issues is that I don't know the correct vocabulary to use while searching...

     

    Ultimately, I'd like to get the dashes spaced evenly on the x-axis, and randomly within a range on the y-axis, but animate a fade. That specific Math function is something I think I can work out later. 

     

    Full disclosure -- I'm totally new to all of this (both GSAP and JS), so I'm in over my head a bit. But trying to get there by doing something challenging!  Also apologies for the junk list of links at the end of the codepen JS section, it's the easiest place for me to stash links while I'm tinkering.

     

    Thanks!!

    See the Pen BNJOOG by lixelart (@lixelart) on CodePen

×
×
  • Create New...