diff --git a/uwu_detector/index.html b/uwu_detector/index.html
index d903fa1..4cd7886 100644
--- a/uwu_detector/index.html
+++ b/uwu_detector/index.html
@@ -29,6 +29,8 @@
No uwu detected
+
diff --git a/uwu_detector/sketch.js b/uwu_detector/sketch.js
index 1027f96..8df2521 100644
--- a/uwu_detector/sketch.js
+++ b/uwu_detector/sketch.js
@@ -29,15 +29,18 @@ function draw() {
rightHand.index_finger_tip.x, rightHand.index_finger_tip.y
);
if (fDist < 50 && leftHand.thumb_tip.y < leftHand.index_finger_tip.y && rightHand.thumb_tip.y < rightHand.index_finger_tip.y) {
- detector.innerText = "uwu\nšš";
+ detector.innerHTML = "uwu\nšš";
+ meme.style.display = 'block';
} else {
- detector.innerText = "No uwu detected";
+ detector.innerHTML = "No uwu detected";
+ meme.style.display = 'none';
}
} else {
- detector.innerText = "No uwu detected";
+ detector.innerHTML = "No uwu detected";
+ meme.style.display = 'none';
}
- // debug.innerText = `Hands detected: ${hands.length}\ndistance: ${hands.length == 2 ? fDist : "N/A"}`;
+ // debug.innerHTML = `Hands detected: ${hands.length}\ndistance: ${hands.length == 2 ? fDist : "N/A"}`;
}
const clamp = (min, num, max) => Math.min(Math.max(num, min), max);
\ No newline at end of file