Capture iPhone LiDAR and photos, reconstruct editable Three.js rooms, and explore them in a browser.
TypeScript
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Capture</title>
<style>
body { margin: 0; background: #000; }
#wrap { position: relative; display: inline-block; }
canvas { display: block; }
#grid { position: absolute; inset: 0; pointer-events: none; }
</style>
</head>
<body>
<div id="wrap">
<canvas id="scene"></canvas>
<canvas id="grid"></canvas>
</div>
<script type="module" src="./capture"></script>
</body>
</html>