Created
January 15, 2025 02:52
-
-
Save Hri7566/e345de41a98ed9226c90593b39938613 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name better snow | |
// @namespace Violentmonkey Scripts | |
// @match https://multiplayerpiano.net/* | |
// @grant none | |
// @version 1.0 | |
// @author Hri7566 | |
// @description 1/13/2025, 10:29:51 PM | |
// @require https://cdn.jsdelivr.net/npm/tsparticles-preset-snow@2/tsparticles.preset.snow.bundle.min.js | |
// ==/UserScript== | |
$(document.head).prepend(`<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-snow@2/tsparticles.preset.snow.bundle.min.js"></script>`); | |
$(document.body).prepend(`<div id="tsparticles"></div>`); | |
setTimeout(async () => { | |
await tsParticles.load("tsparticles", { | |
preset: "snow", | |
particles: { | |
size: { | |
random: true, | |
value: 3 | |
}, | |
number: { | |
value: 250 | |
} | |
}, | |
background: { | |
color: "transparent" | |
} | |
}); | |
}, 1500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment