switch to typescript

This commit is contained in:
2025-12-28 18:08:57 -08:00
parent a032019f33
commit 98c2dac434
11 changed files with 230 additions and 186 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* On import, sets the global css variable `--random` to `Math.random()` before each draw
* @module CSSRandom
*/
(function CSSRandom() {
document.documentElement.style.setProperty('--random', Math.random().toString())
requestAnimationFrame(CSSRandom)
})()
export {}