Stiffness vs Density
by Chantal Roth
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Stiffness of Space</title>
<script>
window.MathJax = {
tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] },
svg: { fontCache: 'global' }
};
</script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
background: #050611;
font-family: system-ui, -apple-system, sans-serif;
color: #e5ecff;
user-select: none;
}
#canvasContainer {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
/* Cursor handled by JS now */
}
#plotCanvas {
display: block;
width: 100%;
height: 100%;
}
/* --- INFO PANEL (Top Left) --- */
#panel {
position: absolute;
top: 20px;
left: 20px;
width: 320px;
background: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(10px);
border: 1px solid rgba(148, 163, 255, 0.2);
border-radius: 8px;
padding: 16px;
box-shadow: 0 10px 40px rgba(0,0,0,0.6);
transition: opacity 0.3s, transform 0.3s;
z-index: 10;
pointer-events: auto;
}
#panel.hidden {
opacity: 0;
pointer-events: none;
transform: translateY(-10px);
}
h1 {
font-size: 15px;
margin: 0 0 8px 0;
color: #f9fafb;
letter-spacing: 0.02em;
}
p {
font-size: 12px;
line-height: 1.4;
color: #cbd5e1;
margin-bottom: 12px;
}
.formula {
font-family: 'Courier New', monospace;
background: rgba(0,0,0,0.3);
padding: 6px;
border-radius: 4px;
margin: 8px 0;
border: 1px solid rgba(255,255,255,0.1);
text-align: center;
font-size:...