60 fps animation
This commit is contained in:
parent
8717dae916
commit
96e21dfcb4
@ -2,7 +2,7 @@
|
|||||||
// @name Spotify Background Changer
|
// @name Spotify Background Changer
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @source https://github.com/Glaceon575/SpotifyBackgroundSwitcher
|
// @source https://github.com/Glaceon575/SpotifyBackgroundSwitcher
|
||||||
// @version 0.1.2
|
// @version 0.1.3
|
||||||
// @description Changes the background of Spotify playlists and albums in a rainbow pattern
|
// @description Changes the background of Spotify playlists and albums in a rainbow pattern
|
||||||
// @author Isaac Shoebottom
|
// @author Isaac Shoebottom
|
||||||
// @updateURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js
|
// @updateURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js
|
||||||
@ -17,7 +17,7 @@ let background;
|
|||||||
let colorInterval;
|
let colorInterval;
|
||||||
|
|
||||||
const selector = ".gHImFiUWOg93pvTefeAD.xYgjMpAjE5XT05aRIezb";
|
const selector = ".gHImFiUWOg93pvTefeAD.xYgjMpAjE5XT05aRIezb";
|
||||||
const timer = 33; //in milliseconds
|
const timer = 16; //in milliseconds
|
||||||
const probeTimer = 500 //in milliseconds, timer for checking for selector
|
const probeTimer = 500 //in milliseconds, timer for checking for selector
|
||||||
const difference = 60; //delta between the top and bottom
|
const difference = 60; //delta between the top and bottom
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user