Jump to content
Search Community

jp_uk81

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by jp_uk81

  1. Hi Guys,

    I'm trying to animate this hamburger menu. The hover works but only once and the click doesn't work so it's not a pretty picture :(

    Basically on click I need to draw #x_right and #x_left to 100% to form the X to close the menu and draw all the rest of the paths to 0% 

    What am I doing wrong?

    Thank you!

    See the Pen xxKdZyK by gianpiero-di-lullo (@gianpiero-di-lullo) on CodePen

  2. Thank you pointC,

    I've improved the svg and the animation now it's smoother.

    Now I'm trying to make the text follows the animation on hover the but I'm stuck here.

    I'm pretty sure the way I set the elements of the button it's a bit messy but not sure how to improve it

    Shall I animate the position of the text or there's a better way to approach this?

     

    See the Pen pozeKMy by gianpiero-di-lullo (@gianpiero-di-lullo) on CodePen

     

    Thank you!

  3. On 8/16/2019 at 7:30 PM, OSUblake said:

    Are you seeing this on a HiDPI monitor, like a 4k, 5k, Retina, mobile, etc? It might be because you are using a background image, which doesn't adjust for the resolution of the display. 

    Thank you @OSUblake, yes now it's much better with transform x

    See the Pen yLBJYrB by gianpiero-di-lullo (@gianpiero-di-lullo) on CodePen

     

    On 8/17/2019 at 3:28 PM, mikel said:

    I would have bet you would recommend a little canvas and three.js.

    Thanks Mikel, I tried but I cannot replicate this with any 3d software so I didn't even try three.js. The first frame of the sprite is a logo, which at first glance seems a 2d shape until you hover it. The perspective is so distorted that I couldn't recreate it with 3d apps

    • Like 2
  4. Hey guys, 

    I was playing with this 

    See the Pen yLBJYrB by gianpiero-di-lullo (@gianpiero-di-lullo) on CodePen

     

    In some steps the svg looks like it's pixelated on chrome (I know, I have no idea how I managed to do that)

    The animation is a bit clanky because I had to draw each individual step for the sprite.  Any advice on how to tackle this animation in a different/better way? Also, how performant is it this way? Am I going to break people's computers?

     

    Thank you!

    Jp

  5. Hi Guys, 

    the above work well on the codepen but on my site the animation is really jerky, in particular when you click the down arrow to scroll down to the section with the animate V. While the window is scrolling it stops for a moment and then carries on to the bottom. 

    What could cause this?

    Thank you

     

  6. Hi Guys, 

    I'm working on an animation that has the same structure as this pen.

    The effect I'm trying to achieve is Items flowing across the bottom right part of the screen at different speed.

    I've got 2 questions: 

     

    1) I can't understand why at the start of the animation the cats are sitting on the bottom of the container having given them a "top" of 100vh and they don't start from below that container.

    2) I'm sure this is not a very performant way to animate this. Is there a better way to do it? Basically I don't care the order of the animations as long as they travel at 45degrees from bottom to the top right of the screen. Animations can occur randomly and they should be continuous.

     

    Hope that's clear,

    Thank you,

    Jp

     

    See the Pen JmgBKg by Jp_uk (@Jp_uk) on CodePen

  7. Hi guys,

    I'm trying to animate this svg to give the effect as it lifted off the background. In this pen I tried to animate the scale and the drop shadow and the animation is triggered with scrollmagic. 

     

    I have set the initial drop shadow in the CSS as advised by Dipscom here but the drop shadow doesn't animate.

     

    What am I doing wrong?

     

    If this effect can't be achieved this way is there another way to approach it?

     

    thank you

     

    See the Pen gByBvR by Jp_uk (@Jp_uk) on CodePen

  8. Hi Guys,

    I have 4 fullscreen sections on a page (using fullpage.js). I'm trying to animate the background gradient of the body every time users scroll through each section. Animation duration should be tied to the scrollbar position. I have pre-set colors to use for each section that I have put into an array. 

     

    My idea is to get the id of the section currently in view and pass this into the colorize function to get the corresponding colors for the gradient. I'm stuck here. 

     

    Thanks in advance

    See the Pen QVeQvP by Jp_uk (@Jp_uk) on CodePen

×
×
  • Create New...