Created
March 23, 2022 06:35
-
-
Save deepakgudi-pixel/3a44a6cdda02251fea9f60b33d5ca202 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rgbKineticSlider = new rgbKineticSlider({ | |
| slideImages: images, | |
| backgroundDisplacementSprite: "https://i.ibb.co/N246LxD/map-9.jpg", | |
| cursorDisplacementSprite: "https://i.ibb.co/KrVr51f/displace-circle.png", | |
| cursorImgEffect: true, | |
| cursorTextEffect: true, | |
| cursorScaleIntensity: 0.65, | |
| cursorMomentum: 0.14, | |
| swipe: true, | |
| swipeDistance: window.innerWidth * 0.4, | |
| swipeScaleIntensity: 2, | |
| slideTransitionDuration: 1, // transition duration | |
| transitionScaleIntensity: 30, // scale intensity during transition | |
| transitionScaleAmplitude: 160, // scale amplitude during transition | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rgbKineticSlider initialization