OthmanAdi

Casebound — Development skill for Claude Code

Development community

Lit 3D hardcover books for the browser with three.js: a shelf that scrolls with weight, books you turn in your hand, pages you pull over like paper, a magnifier and light effects on the print.

How to install Casebound

This entry records only its repository, not the path inside it, so there is no exact command to give. Open OthmanAdi/casebound and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Casebound does

Lit 3D hardcover books for the browser with three.js: a shelf that scrolls with weight, books you turn in your hand, pages you pull over like paper, a magnifier and light effects on the print. Every book is a few lines of data. Includes a coding-agent skill.

Alternatives in Development

  • Translate Book — Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents 542 ★
  • Write Teaching Chapter — Write bilingual (CN+EN) Claude Code source code teaching chapters 386 ★
  • SwiftUIShaders — 41 hand-curated drop-in SwiftUI Metal shader effects — holographic foil, kaleidoscope, magnetic fields, glitch 353 ★

README

Casebound

Casebound is a three.js toolkit and coding-agent skill for 3D books in the browser: lit hardcovers on a shelf you scroll, books you turn in your hand, a row of spines to choose from, books that open, pages you pull over like paper, a magnifier, and light effects that run over the print.

![An open hardcover in front of a painted landscape. A leaf lifts, curls over and lands, and the print on its other side shows through while it is in the air](docs/media/reader-demo.gif)

*Recorded from the demo: a book opens, three leaves turn, the book closes.*

[Live demo](https://othmanadi.github.io/casebound/) | [Install the skill](#install-the-skill) | [Add a book](#add-a-book) | [Extend it](#extend-it) | [How it was measured](#how-it-was-measured)

On the shelf Open At night
A closed hardcover with a rayed cover leans in front of a painted landscape and throws a soft shadow An open book with two full pages of justified text, a dark fold down the middle and stacked page edges at both sides A red cloth hardcover lit warmly from one side in front of a landscape at dusk

What it is

Casebound draws hardcover books with three.js and WebGL and puts an ordinary web page around them. You scroll through a shelf, one book per screen. Each book holds at the centre for a moment, tilts toward the pointer and catches a spot of light that follows it. Drag it and it turns in your hand and coasts on. Press Space and the cover swings open, the pages part, and you can read. The pages are real text, set line by line on real leaves, and a leaf turns the way paper does: you pull it over or let it fall back, it bows against the air, and the print on its far side shows through.

It loads no model files and no pictures. The case, the hinges, the page blocks and the turning leaves are generated from a handful of dimensions. The cover, with its cloth weave, embo