Add local p5.min.js

This commit is contained in:
John Gatward committed 2026-10-08 12:44:23 +01:00
1 parent c744979818
commit 68e773d77b
27 files changed
+212 -840

No files matched your search

+9
View File
@@ -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) {