about summary refs log tree commit diff stats
path: root/js/dither-video/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/dither-video/index.html')
-rw-r--r--js/dither-video/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/js/dither-video/index.html b/js/dither-video/index.html
new file mode 100644
index 0000000..f6918c7
--- /dev/null
+++ b/js/dither-video/index.html
@@ -0,0 +1,19 @@
+<!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>
+    <style>
+        body {
+            background-color: beige;
+        }
+    </style>
+</head>
+<body>
+    <button id="toggleCamera">Turn On Camera</button>
+    <video id="webcam" autoplay playsinline style="display:none;"></video>
+    <canvas id="ditheredOutput"></canvas>
+    <script src="video.js"></script>
+</body>
+</html>
\ No newline at end of file