This is pretty simple question I think for those who knows javascript/jquery good. I am pretty new to all this and couldn't make it. I found code that is calculating the offset of navbar that looks like this:   var offset = 50;  $('.navbar li...
I'm creating a side-scrolling endless space themed game using canvas and JavaScript. I'm controlling a spaceship just by using the up and down arrows and I want to implement some kind of movement easing so that the ship doesn't just stop...
I am aware of OrbitControls.js having a damping feature, which adds a smooth dragging of panorama, also known as easing. I want to implement the same functionality but without using this library. The reason is that I need to reduce amount of code use...
I need to reproduce the same effect as here: http://www.chanel.com/fr_FR/mode/haute-couture.html = a swipe effect on mouse move event.  I just need some help on the animation part.      function frame() {       $('.images-gallery').css({...
I'm trying to simulate gravitational pull/acceleration in the following animation. earth's angular velocity should increase as it gets closer to sol and decrease as it gets far. I think I'll need an easing function to modify the earth.ang...
I need to count up from 1 to 60 but i want to count up with an easing, so for example it would go from 1 to 30 with a 100ms delay, after that i need to increase the delay so the counting will gradually slow down when it reaches 60. This is what i got...
I writing a plugin that does some toggling and I need a way to check what easing methods are available. I want to support the jQuery UI easing methods when available. It looks like those are in the effects package in the custom builder but, since tha...
I have a count up code here:  HTML:  <div id="value">700</div> <div id="value2">1000</div>   JavaScript:  function animateValue(id, start, end, duration) {     var start= 0 ;     var end = parseInt(document.get...
I am trying to create a custom easing function and I am experiencing a few difficulties. In other words, the maths is confusing me...  I would like my function to increment the width of a some elements within my page, and the increment value needs to...
I’m trying to combine ScrollMagic pins (and other coll features) with a plain JavaScript “scroll easing” like in this site: http://www.boy-coy.com/  ("Scroll easing" is achieved by placing all the content in a fixed container, and anima...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.