Smooth scene panning on mouse/touch drag
https://codepen.io/jackismissing/pen/vJmpWO
import ScenePan from 'scene-pan';
const scenePan = new ScenePan({
el: document.querySelector('.pan-wrapper'),
ease: .08
});
ease: default to 0.8;
Smooth scene panning on mouse/touch drag
https://codepen.io/jackismissing/pen/vJmpWO
import ScenePan from 'scene-pan';
const scenePan = new ScenePan({
el: document.querySelector('.pan-wrapper'),
ease: .08
});
ease: default to 0.8;