-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (29 loc) · 1.22 KB
/
index.html
File metadata and controls
34 lines (29 loc) · 1.22 KB
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
30
31
32
33
34
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BatchedMesh and WebGPURenderer</title>
<meta name="description" content="Three.js demo using BatchedMesh for efficient mesh rendering and exploring the new post-processing pipeline with TSL." />
<meta name="keywords" content="three.js, BatchedMesh, WebGPURenderer" />
<script type="module" crossorigin src="./assets/index-BXbLwj_a.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BfkJ5lG9.css">
</head>
<body>
<div id="root"></div>
<script>
// Wait until the page is fully loaded
window.addEventListener('load', function() {
// Set an interval to repeatedly check for the element
const interval = setInterval(function() {
const slider = document.querySelector('.slider.round');
// If the element is found, simulate a click and stop checking
if (slider) {
slider.click();
clearInterval(interval); // Stop the interval
}
}, 100); // Check every 100ms
});
</script>
</body>
</html>