SandGame/index.html

34 lines
1,010 B
HTML
Raw Permalink Normal View History

2026-10-22 14:05:51 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Falling Sand Simulation</title>
2026-10-22 14:05:51 +00:00
<link rel="stylesheet" href="index.css">
</head>
<body>
<canvas id="gameCanvas"></canvas>
<!-- Elements Drawer (Left) -->
2026-10-22 14:05:51 +00:00
<div id="elementDrawer">
<button id="toggleElements">Elements 🧱</button>
<div id="elementContent"></div>
</div>
<!-- Settings Drawer (Right) -->
2026-10-22 14:05:51 +00:00
<div id="settingsDrawer">
<div id="quickControls">
<button id="togglePause" title="Pause / Play (Space)">⏸</button>
<button id="btnStep" title="Step 1 Frame (S or .)">⏭</button>
</div>
2026-10-22 14:05:51 +00:00
<button id="toggleDrawer">Settings ⚙️</button>
<div id="settingsContent"></div>
</div>
2026-10-22 14:05:51 +00:00
<script type="module" src="index.js"></script>
</body>
</html>