An interactive reading experience of Herman Melville's Moby-Dick that generates Renaissance-style illustrations as you read.
- Open
moby-dick.htmlin your browser - Enter your Gemini API key when prompted
- Read the book — after you stop scrolling for ~1 second, an illustration matching the visible text fades in on the right
- Select specific text to generate an illustration for that passage
- Scroll again and the image fades out
The illustrations are generated using Google's Gemini 2.5 Flash Image model in a da Vinci sketchbook style — black ink engravings that blend with the page.
The text of Moby-Dick; or, The Whale by Herman Melville is in the public domain and was sourced from Project Gutenberg.
This eBook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever.
The code in this repository is released under the MIT License. The text of Moby-Dick is in the public domain.