feat: some stuff
All checks were successful
Deploy to SFTP Server / build (push) Successful in 21m14s

This commit is contained in:
2024-04-08 01:06:23 +02:00
parent 187fd302fb
commit 146c8d5279
13 changed files with 85 additions and 46 deletions

View File

@ -45,18 +45,17 @@
render && fishCanvasBack.update(t, timeOffset);
}
loaded = true;
// @ts-ignore
window["updateBackgroundColor"] = updateBackgroundColor;
});
</script>
<svelte:body on:transitionend={updateBackgroundColor} />
<svelte:window
on:resize={handleResize}
on:scroll={() => {
speed = Math.min(speed + 0.001, 0.15);
timeOffset += speed;
}}
/>
}} />
<canvas id="bottom" bind:this={canvasBottom} class:loaded />