Files
zeekayandHanzo Dev d05e5b8448 feat: drivable arcade racer template, one curve driving every system
Circuit: the track is a closed Catmull-Rom loop and the road ribbon, the
on-track test, the lap checkpoints and the autopilot racing line are all derived
from it. Moving a control point moves every system — no second copy of the track
to keep in sync.

Autopilot runs until the first key press so the demo is alive on load rather than
a parked car in an empty scene.

Why a second playable game: the catalog's differentiator versus static-SPA
builders is that hanzo.app can serve real engine and WASM workloads, and one
example reads as a fluke. This one is input-heavy (continuous steering, brake,
off-track grip loss) where the Godot entry is physics-heavy, so between them the
input and simulation paths are both covered.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-27 23:21:12 -07:00

25 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Circuit — an arcade racer</title>
<meta name="description" content="A drivable arcade racer where the track curve is the single source of truth: road mesh, collision, checkpoints and the autopilot racing line all derive from one Catmull-Rom loop.">
<style>
:root { color-scheme: dark }
html,body { margin:0; height:100%; background:#0d1526; overflow:hidden;
font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; color:#e2e8f0 }
canvas { display:block }
#hud { position:fixed; left:16px; top:14px; pointer-events:none; text-shadow:0 1px 4px #000 }
#tag { position:fixed; right:16px; bottom:12px; opacity:.5; pointer-events:none }
</style>
<script src="https://a.hanzo.ai/analytics.js" data-org="hanzo" crossorigin="anonymous" defer></script>
<script src="https://a.hanzo.ai/chat.js" data-org="hanzo" data-mode="site" crossorigin="anonymous" defer></script>
</head>
<body>
<div id="hud">building the circuit…</div>
<div id="tag">Circuit · three.js · hanzo.app</div>
<script type="module" src="./app.js"></script>
</body>
</html>