💝 Smooth animation

This commit is contained in:
ful1e5 2021-02-02 17:54:11 +05:30
parent e71b23738f
commit e4aa2ccbee
4 changed files with 17 additions and 13 deletions

View file

@ -108,7 +108,7 @@ const main = async () => {
const { data: imgNData } = PNG.sync.read(imgN);
const diff = Pixelmatch(img1Data, imgNData, null, width, height, {
threshold: 0.2,
threshold: 0.12,
});
if (diff <= 100) {