-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathangry.html
37 lines (31 loc) · 1.01 KB
/
angry.html
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
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>Virtual Quantum Field Simulator</title>
<script>
let virtualFields = [];
function generateField() {
let newField = Math.random().toString(36).substring(7);
virtualFields.push(newField);
document.getElementById("output").innerHTML += `Generated virtual quantum field: ${newField}<br>`;
}
function fuseFields() {
if (virtualFields.length >= 3) {
let fusedField = virtualFields.slice(0, 3).join('-');
document.getElementById("output").innerHTML += `Fused fields into: ${fusedField}<br>`;
virtualFields = virtualFields.slice(3);
} else {
document.getElementById("output").innerHTML += `Not enough fields to fuse.<br>`;
}
}
</script>
</head>
<body>
<header>
<h1>Virtual Quantum Field Simulator</h1>
</header>
<button onclick="generateField()">Generate Virtual Quantum Field</button>
<button onclick="fuseFields()">Fuse Virtual Quantum Fields</button>
<div id="output"></div>
</body>
</html>