Skip to content

An AI skill that turns books into animated, narrated, interactive web experiences

feat(site): lighter bookshelf, readable on phones, one name for physics

yzre1f70859fe93
diff --git a/site/assets/bookshelf.png b/site/assets/bookshelf.png
deleted file mode 100644
index ada3ee8..0000000
Binary files a/site/assets/bookshelf.png and /dev/null differ
diff --git a/site/assets/bookshelf.webp b/site/assets/bookshelf.webp
new file mode 100644
index 0000000..842554a
Binary files /dev/null and b/site/assets/bookshelf.webp differ
diff --git a/site/elementary-algebra/index.html b/site/elementary-algebra/index.html
index c67ed51..9b0b095 100644
--- a/site/elementary-algebra/index.html
+++ b/site/elementary-algebra/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Elementary Algebra — Papermorph</title>
<meta name="description" content="Animated pre-algebra and algebra, with narrated lessons, interactive quick checks, and chapter practice.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/elementary-algebra/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Elementary Algebra — Papermorph">
+<meta property="og:description" content="Animated pre-algebra and algebra, with narrated lessons, interactive quick checks, and chapter practice.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/elementary-algebra/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d2b27'/%3E%3Ctext x='32' y='45' text-anchor='middle' font-size='48' fill='%23f0b45a'%3E∞%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="lib/units.css">
<link rel="stylesheet" href="lib/contents.css">
diff --git a/site/index.html b/site/index.html
index 5048710..9d70dbf 100644
--- a/site/index.html
+++ b/site/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Papermorph — The animated bookshelf</title>
<meta name="description" content="A little library of books brought to life. Watch animated lessons, explore the ideas, and try them yourself.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Papermorph — The animated bookshelf">
+<meta property="og:description" content="A little library of books brought to life. Watch animated lessons, explore the ideas, and try them yourself.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d2b27'/%3E%3Ctext x='32' y='45' text-anchor='middle' font-size='48' fill='%23f0b45a'%3E∞%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="lib/bookshelf.css">
<script src="lib/bookshelf.js" defer></script>
@@ -12,11 +21,11 @@
<body>
<main id="shelf" aria-labelledby="shelf-title">
<header class="shelf-top">
- <h1 id="shelf-title"><a class="shelf-brand" href="#"><span aria-hidden="true">∞</span> Papermorph</a></h1>
+ <h1 id="shelf-title"><a class="shelf-brand" href="./"><span aria-hidden="true">∞</span> Papermorph</a></h1>
<p>Animated books · A growing collection</p>
</header>
<figure class="photo-shelf" aria-label="Three shelves: STEM, picture books for children, and curious books">
- <img class="shelf-photo" src="assets/bookshelf.png" width="1086" height="1448" alt="A wooden bookshelf. Algebra, mathematics and physics books on the top shelf marked STEM; picture books on the middle shelf: The Three Little Pigs, Little Red Riding Hood and Joke Collection; philosophy and history books on the bottom shelf; a GitHub emblem on the drawer." fetchpriority="high">
+ <img class="shelf-photo" src="assets/bookshelf.webp" width="1086" height="1448" alt="A wooden bookshelf. Algebra, mathematics and physics books on the top shelf marked STEM; picture books on the middle shelf: The Three Little Pigs, Little Red Riding Hood and Joke Collection; philosophy and history books on the bottom shelf; a GitHub emblem on the drawer." fetchpriority="high">
<div id="shelf-books">
<section class="shelf-tier" aria-labelledby="stem-title">
<h2 class="visually-hidden" id="stem-title">STEM · Mathematics</h2>
@@ -59,7 +68,7 @@
<p class="about-kicker">A note from the bookshelf</p>
<h2 id="shelf-about-title">About Papermorph</h2>
<p>An independent, noncommercial educational project. Not affiliated with the authors or publishers of the reference books. Book titles and original materials belong to their respective owners.</p>
- <p>Lessons may contain errors; corrections are welcome. Reading progress stays in your browser. Books on the future shelves are previews, not available lessons.</p>
+ <p>Lessons may contain errors; corrections are welcome. Reading progress stays in your browser; the site counts visits anonymously (Cloudflare Web Analytics, no cookies). Books on the future shelves are previews, not available lessons.</p>
<p>Explore the source and book-making Skill on <a href="https://github.com/DozenTwelve/Papermorph" target="_blank" rel="noopener noreferrer">GitHub</a>.</p>
</dialog>
</main>
diff --git a/site/joke-collection/index.html b/site/joke-collection/index.html
index f62b72b..0e21483 100644
--- a/site/joke-collection/index.html
+++ b/site/joke-collection/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Joke Collection</title>
<meta name="description" content="Short animated jokes: painted sets from an image model, paper puppets moved by code. Seven episodes so far, and how they were made.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/joke-collection/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Joke Collection">
+<meta property="og:description" content="Short animated jokes: painted sets from an image model, paper puppets moved by code. Seven episodes so far, and how they were made.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/joke-collection/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<style>
:root { --ink: #2f2418; --soft: #6b5a46; --paper: #fbf5e8; --card: #fffaf0; --line: #e4d6bb; --accent: #2f5aa8; --ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "Iowan Old Style", Palatino, Georgia, serif; color-scheme: light; }
* { box-sizing: border-box; }
diff --git a/site/lib/bookshelf.css b/site/lib/bookshelf.css
index dbeb089..ff37847 100644
--- a/site/lib/bookshelf.css
+++ b/site/lib/bookshelf.css
@@ -52,6 +52,15 @@ a { color: inherit; }
.shelf-about p { font: 15px/1.7 var(--ui); }
.shelf-about .about-kicker { margin: 0; color: #826545; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.about-close { position: absolute; right: 16px; top: 12px; padding: 0 7px; background: transparent; border: 0; color: #675542; font: 26px var(--ui); cursor: pointer; }
+/* On a phone the labels scaled with the photo are too small to read: the book's name gets a floor, the line under it
+ (also in the link's label) goes, and the footer follows the photo instead of the bottom of a taller screen. */
+@media (max-width: 700px) {
+ #shelf { min-height: 0; }
+ .book-caption { font-size: max(10px, 1.4cqw); }
+ .book-caption small, .book-caption strong > span { display: none; }
+ .resume-label { font-size: max(10px, 1.03cqw); }
+ .shelf-footer { position: static; height: auto; padding: 14px 3% 22px; }
+}
@media (prefers-reduced-motion: reduce) {
.book-caption { transition: none; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
diff --git a/site/little-red-riding-hood/index.html b/site/little-red-riding-hood/index.html
index f184232..b8ace1c 100644
--- a/site/little-red-riding-hood/index.html
+++ b/site/little-red-riding-hood/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Little Red Riding Hood — how it was made</title>
<meta name="description" content="A second picture-book experiment: paper-cutout stop motion drawn entirely in code, with no image model. How it was made, and everything we built for it.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/little-red-riding-hood/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Little Red Riding Hood — how it was made">
+<meta property="og:description" content="A second picture-book experiment: paper-cutout stop motion drawn entirely in code, with no image model. How it was made, and everything we built for it.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/little-red-riding-hood/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<style>
:root { --ink: #2f2418; --soft: #6b5a46; --paper: #fbf5e8; --card: #fffaf0; --line: #e4d6bb; --accent: #a8322a; --ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "Iowan Old Style", Palatino, Georgia, serif; color-scheme: light; }
* { box-sizing: border-box; }
diff --git a/site/math-notebook/index.html b/site/math-notebook/index.html
index 74c9bbc..15b732a 100644
--- a/site/math-notebook/index.html
+++ b/site/math-notebook/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Elementary Mathematics — Papermorph</title>
<meta name="description" content="Animated middle-school mathematics, with narrated lessons, interactive quick checks, and chapter practice.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/math-notebook/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Elementary Mathematics — Papermorph">
+<meta property="og:description" content="Animated middle-school mathematics, with narrated lessons, interactive quick checks, and chapter practice.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/math-notebook/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d2b27'/%3E%3Ctext x='32' y='45' text-anchor='middle' font-size='48' fill='%23f0b45a'%3E∞%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="lib/units.css">
<link rel="stylesheet" href="lib/contents.css">
diff --git a/site/physics-notebook/index.html b/site/physics-notebook/index.html
index 7f37a04..43c47ae 100644
--- a/site/physics-notebook/index.html
+++ b/site/physics-notebook/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Energy &amp; Change</title>
<meta name="description" content="An animated notebook about energy: Blip, a little bundle of energy, changes form but never disappears.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/physics-notebook/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Energy &amp; Change">
+<meta property="og:description" content="An animated notebook about energy: Blip, a little bundle of energy, changes form but never disappears.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/physics-notebook/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d2b27'/%3E%3Ctext x='32' y='45' text-anchor='middle' font-size='48' fill='%23f0b45a'%3E∞%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="lib/units.css">
<link rel="stylesheet" href="lib/contents.css">
diff --git a/site/science/ch09/index.html b/site/science/ch09/index.html
index ad6e79b..1f440f0 100644
--- a/site/science/ch09/index.html
+++ b/site/science/ch09/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 1: Motion — Science</title>
+<title>Chapter 1: Motion — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch10/index.html b/site/science/ch10/index.html
index 4649794..4786017 100644
--- a/site/science/ch10/index.html
+++ b/site/science/ch10/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 2: Force and Newton's Laws of Motion — Science</title>
+<title>Chapter 2: Force and Newton's Laws of Motion — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch11/index.html b/site/science/ch11/index.html
index b72eb6d..a219076 100644
--- a/site/science/ch11/index.html
+++ b/site/science/ch11/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 3: Gravity, Friction, and More Forces in Everyday Life — Science</title>
+<title>Chapter 3: Gravity, Friction, and More Forces in Everyday Life — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch12/index.html b/site/science/ch12/index.html
index 0a4bdb9..3747e2d 100644
--- a/site/science/ch12/index.html
+++ b/site/science/ch12/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 4: Work and Machines — Science</title>
+<title>Chapter 4: Work and Machines — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch13/index.html b/site/science/ch13/index.html
index 48fb7bb..cb70176 100644
--- a/site/science/ch13/index.html
+++ b/site/science/ch13/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 5: Forms of Energy — Science</title>
+<title>Chapter 5: Forms of Energy — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch14/index.html b/site/science/ch14/index.html
index 9c08920..2044bc3 100644
--- a/site/science/ch14/index.html
+++ b/site/science/ch14/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 6: Thermal Energy — Science</title>
+<title>Chapter 6: Thermal Energy — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch15/index.html b/site/science/ch15/index.html
index da63c7b..a0e894a 100644
--- a/site/science/ch15/index.html
+++ b/site/science/ch15/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 7: Light and Sound Waves — Science</title>
+<title>Chapter 7: Light and Sound Waves — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch16/index.html b/site/science/ch16/index.html
index 9684a81..663682f 100644
--- a/site/science/ch16/index.html
+++ b/site/science/ch16/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 8: Electricity and Magnetism — Science</title>
+<title>Chapter 8: Electricity and Magnetism — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch17/index.html b/site/science/ch17/index.html
index 25f14b5..caec369 100644
--- a/site/science/ch17/index.html
+++ b/site/science/ch17/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Chapter 9: Electrical Energy Sources — Science</title>
+<title>Chapter 9: Electrical Energy Sources — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render">
</head>
diff --git a/site/science/ch19/index.html b/site/science/ch19/index.html
index 24c10e1..0a79a69 100644
--- a/site/science/ch19/index.html
+++ b/site/science/ch19/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>The Sun-Earth-Moon System</title>
+<title>The Sun-Earth-Moon System — Elementary Physics</title>
<link rel="stylesheet" href="../lib/engine.css">
<link rel="expect" href="#bar" blocking="render"><!-- hold the first frame until the player exists, so the page transition can run -->
</head>
diff --git a/site/science/index.html b/site/science/index.html
index 79e77cb..858731d 100644
--- a/site/science/index.html
+++ b/site/science/index.html
@@ -3,8 +3,17 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Ace Science · Physics</title>
-<meta name="description" content="The physics chapters of a middle-school science notebook — motion, forces, gravity and machines — as narrated animations with quick checks.">
+<title>Elementary Physics — Papermorph</title>
+<meta name="description" content="The physics chapters of a middle-school science notebook — motion and forces, machines, energy and heat, light and sound, electricity and magnetism — as narrated animations with quick checks.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/science/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="Elementary Physics — Papermorph">
+<meta property="og:description" content="The physics chapters of a middle-school science notebook — motion and forces, machines, energy and heat, light and sound, electricity and magnetism — as narrated animations with quick checks.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/science/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d2b27'/%3E%3Ctext x='32' y='45' text-anchor='middle' font-size='48' fill='%23f0b45a'%3E∞%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="lib/units.css">
<link rel="stylesheet" href="lib/contents.css">
@@ -24,8 +33,8 @@
</div>
<svg class="mascot draw" id="guide" width="210" height="147"></svg>
<p class="kicker">An animated science book · physics</p>
- <h1>Motion <i>&amp;</i> Forces</h1>
- <p class="lede">The physics chapters of a middle-school science notebook, as short narrated animations with quick checks. Chapters 1 to 9 are ready.</p>
+ <h1>Elementary <i>Physics</i></h1>
+ <p class="lede">The physics chapters of a middle-school science notebook, as short narrated animations with quick checks: nine chapters from motion to electrical energy, and two samples.</p>
<div class="acts">
<a class="btn go" href="#contents" data-t="open">Open the book<svg viewBox="0 0 16 16"><path d="M6 2.5 11.5 8 6 13.5 4.6 12.1 8.7 8 4.6 3.9z"/></svg></a>
<a class="btn quiet" id="resume" hidden></a>
diff --git a/site/three-little-pigs/index.html b/site/three-little-pigs/index.html
index 7dba685..d12722b 100644
--- a/site/three-little-pigs/index.html
+++ b/site/three-little-pigs/index.html
@@ -5,6 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Three Little Pigs — how it was made</title>
<meta name="description" content="An experiment: a picture book animated from a story alone, with an image model for the art and code for the motion. What we tried, what worked, and why it stayed out of the Skill.">
+<link rel="canonical" href="https://papermorph.diamonddoge.org/three-little-pigs/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="Papermorph">
+<meta property="og:title" content="The Three Little Pigs — how it was made">
+<meta property="og:description" content="An experiment: a picture book animated from a story alone, with an image model for the art and code for the motion. What we tried, what worked, and why it stayed out of the Skill.">
+<meta property="og:url" content="https://papermorph.diamonddoge.org/three-little-pigs/">
+<meta property="og:image" content="https://papermorph.diamonddoge.org/assets/bookshelf.webp">
+<meta property="og:image:alt" content="A wooden bookshelf of animated books">
+<meta name="twitter:card" content="summary_large_image">
<style>
:root { --ink: #2f2418; --soft: #6b5a46; --paper: #fbf5e8; --card: #fffaf0; --line: #e4d6bb; --accent: #b4532a; --ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "Iowan Old Style", Palatino, Georgia, serif; color-scheme: light; }
* { box-sizing: border-box; }