Add local p5.min.js
This commit is contained in:
27 files changed
+212
-840
No files matched your search
@@ -5,6 +5,15 @@
|
||||
const href = globalThis.location.href;
|
||||
const path = href.length >= 45 ? href.substring(0, 45) : href;
|
||||
|
||||
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
pathEl.textContent = path;
|
||||
return;
|
||||
}
|
||||
|
||||
pathEl.textContent = '';
|
||||
responseEl.style.opacity = '0';
|
||||
hintEl.style.opacity = '0';
|
||||
|
||||
let i = 0;
|
||||
const interval = setInterval(() => {
|
||||
if (i < path.length) {
|
||||
|
||||
Reference in new issue
Block a user