mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-23 03:27:08 -04:00
💝 Smooth animation
This commit is contained in:
parent
e71b23738f
commit
e4aa2ccbee
4 changed files with 17 additions and 13 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue