rename .js files to .mjs

This commit is contained in:
josephsmendoza
2022-12-07 13:47:02 +00:00
parent cb408b9c21
commit e6aaf4cf4d
2 changed files with 0 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/**
* 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())
requestAnimationFrame(CSSRandom)
})()