Jello with GR waves
by Chantal Roth
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wave Propagation Simulator</title>
<script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.150.1/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.150.1/examples/jsm/"
}
}
</script>
<style>
body {
margin: 0;
overflow: hidden;
background-color: #050505;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
#container {
width: 100%;
height: 100vh;
}
.label {
position: absolute;
top: 20px;
width: 100%;
text-align: center;
color: #888;
pointer-events: none;
font-size: 16px;
letter-spacing: 2px;
font-weight: bold;
}
/* --- Info Modal Styles --- */
#info-btn {
position: absolute;
top: 20px;
left: 20px; /* MOVED TO LEFT SIDE */
background: rgba(255,255,255,0.1);
color: #ccc;
border: 1px solid #444;
padding: 8px 15px;
cursor: pointer;
border-radius: 4px;
font-size: 14px;
transition: background 0.3s;
z-index: 10;
}
#info-btn:hover {
background: rgba(255,255,255,0.2);
}
#modal-overlay {
display: none;
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.7);
z-index: 100;
justify-content: center;
align-items: center;
}
#modal-content {
background: #1a1a1a;
color: #ddd;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
padding: 25px;
border-radius: 8px;
...