[Alt] Add new methods; [Server] Slight improvements to example; [Build] Add full HTML build

This commit is contained in:
2025-03-09 00:54:55 +01:00
parent 5338c8aaf6
commit fedb597dda
16 changed files with 1310 additions and 84 deletions

View File

@ -1,10 +1,11 @@
window.addEventListener('load', function(){
var c = Object.assign(document.createElement('div'), { className: "particles" });
document.body.appendChild(c);
for (var i=0; i<(window.innerWidth * window.innerHeight / 6000); i++) (function(){
var v = (Math.random() * window.innerHeight), h = (100 * Math.random());
var n = document.createElement('span');
n.textContent = '✨️';
n.style.position = 'absolute';
document.body.appendChild(n);
c.appendChild(n);
var e = setInterval(function(){
var r = Math.random();
n.style.top = (v += 1).toString() + 'px';