Files
coucou/windows/mochi.html
Claude b52bbe354a Desktop Mochi: the page that draws him
mochi.html draws him with the island's engine, dressed in his outfit: 30 fps
awake like the Mac, 4 fps asleep, nothing at all while he is not out. Click to
poke, double-click to send him home, right-click for the wardrobe, drag to
move him. He dozes off after two minutes without agent activity once the
pointer is away, and wakes on activity or when the pointer comes over him.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:59:17 +02:00

34 lines
746 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Mochi</title>
<style>
html,
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: transparent;
user-select: none;
-webkit-user-select: none;
cursor: default;
}
#mochi {
position: absolute;
left: 0;
top: 0;
width: 120px;
height: 120px;
transition: opacity 0.45s ease-in-out;
}
</style>
</head>
<body>
<canvas id="mochi"></canvas>
<script type="module" src="/src/desktop/main.ts"></script>
</body>
</html>