Pinpulse replaces complex, disconnected processes with a single AI-powered platform that delivers real-time insights and automation.
<link rel="stylesheet" href="https://unpkg.com/lenis@1.3.20/dist/lenis.css" />
<script src="https://unpkg.com/lenis@1.3.20/dist/lenis.min.js"></script>
<script>
gsap.registerPlugin(ScrollTrigger);
const lenis = new Lenis({
duration: 1.5,
easing: (t) => 1 - Math.pow(1 - t, 3),
smooth: true,
smoothTouch: false, // ✅ important
});
// sync
lenis.on('scroll', ScrollTrigger.update);
// raf loop
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
// ✅ correct scroller
ScrollTrigger.scrollerProxy(document.documentElement, {
scrollTop(value) {
return arguments.length ? lenis.scrollTo(value, { immediate: true }) : lenis.scroll;
},
getBoundingClientRect() {
return {
top: 0,
left: 0,
width: window.innerWidth,
height: window.innerHeight,
};
},
});
// ✅ important
ScrollTrigger.defaults({
scroller: document.documentElement,
});
// refresh fix
ScrollTrigger.addEventListener('refresh', () => lenis.resize());
ScrollTrigger.refresh();
</script>PinPulse operates as an EMD Agent of The Currency Cloud Limited. Payment and e-money services are provided by The Currency Cloud Limited, a company registered in England and Wales (Company No. 06323311) with its registered office at Stewardship Building, 1st Floor, 2 Steward Street, London E1 6FQ. The Currency Cloud Limited is authorized by the Financial Conduct Authority under the Electronic Money Regulations 2011 to issue electronic money (FRN: 900199).
PinPulse Europe acts as an EMD Agent of Currencycloud B.V. Non-card payment services are provided by Currencycloud B.V., a company registered in The Netherlands (Company No. 72186178) with its registered office at Nieuwezijds Voorburgwal 296-298, 1012 RT Amsterdam, Netherlands.
