about summary refs log tree commit diff stats
path: root/js/pico-cam/index.html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-06-30 16:54:02 -0400
committerelioat <elioat@tilde.institute>2024-06-30 16:54:02 -0400
commitb89b4715200a404354c8ef8d2ad5b57827b964d4 (patch)
tree40587cf98b5c9a6b8c3f094f794b9136aef7780b /js/pico-cam/index.html
parentafdf31268d6be9264171dde6a6ebab745ec981fe (diff)
downloadtour-b89b4715200a404354c8ef8d2ad5b57827b964d4.tar.gz
*
Diffstat (limited to 'js/pico-cam/index.html')
-rw-r--r--js/pico-cam/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/pico-cam/index.html b/js/pico-cam/index.html
new file mode 100644
index 0000000..4e3a416
--- /dev/null
+++ b/js/pico-cam/index.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Webcam with Dithering</title>
+</head>
+<body>
+    <button id="toggleCamera">Turn On Camera</button>
+    <button id="captureFrame" disabled>Capture Frame</button>
+    <video id="webcam" autoplay playsinline style="display:none;"></video>
+    <canvas id="ditheredOutput"></canvas>
+    <script src="video.js"></script>
+</body>
+</html>