added rock paper scissors detector

This commit is contained in:
PotatoGamo
2025-10-06 20:21:05 -07:00
parent 70006a6ebd
commit 1c92aa8e7b
2 changed files with 300 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>handtracking</title>
<style>
body {
background-color: #1d1d1d;
width: 100%;
height: 100%;
overflow: scroll;
margin: 0;
padding: 0;
}
canvas {
padding: 0;
margin: 0;
border-color: #f00;
border-width: 1px;
}
</style>
<script src="../libraries/p5.min.js"></script>
<script src="../libraries/ml5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lil-gui@0.20"></script>
</head>
<body>
<h2 id="debug"></h2>
<script src="sketch.js"></script>
</body>
</html>