Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Image moving when scroll

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #249196
    ThemePackNet
    Participant

    Please see the image at first – http://prntscr.com/dmigw4.

    I need, when I’ll scroll the plane should go – girl to boy slowly (something like as parallax).

    How to I can do it?

    #249200
    Shikkediel
    Participant

    If it has to be a curved trajectory, I can only think of using an SVG path and getPointAtLength. As is used here in a different way:

    http://codepen.io/Shikkediel/pen/myJNaQ

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.