-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-debug.html
More file actions
29 lines (26 loc) · 840 Bytes
/
Copy pathtest-debug.html
File metadata and controls
29 lines (26 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
<title>Debug Test</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
</head>
<body>
<h1>Debug Test</h1>
<div id="sketch-container"></div>
<script>
// Test if our sketch loads without errors
console.log("Starting debug test...");
// Test basic syntax
try {
// Test if CONFIG is defined
console.log("Testing CONFIG...");
// Load the sketch
console.log("Loading sketch-3d.js...");
} catch (error) {
console.error("Error in sketch:", error);
}
</script>
<script src="sketch-3d.js"></script>
</body>
</html>