Skip to content

Instantly share code, notes, and snippets.

@Hri7566
Created January 15, 2025 02:52
Show Gist options
  • Save Hri7566/e345de41a98ed9226c90593b39938613 to your computer and use it in GitHub Desktop.
Save Hri7566/e345de41a98ed9226c90593b39938613 to your computer and use it in GitHub Desktop.
// ==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