An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Linear Algebra</title>
<meta name="description" content="Linear algebra you can see and move, from the first equation up: change a number and the lines, planes and arrows move; move them and the numbers change. After MIT OCW 18.06.">
<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">
<link rel="stylesheet" href="../lib/books.css">
<script src="lib/units.js"></script>
<script src="lib/contents.js"></script>
<script src="unit-art.js"></script>
<!-- <script src="refs.js"></script> a book that cites works: its reference list, built by the skill's scripts/refs.py -->
<link rel="expect" href="#ch01" blocking="render">
<style>
.credit { max-width: 40rem; margin: 1.6rem auto 0; font-size: .82rem; line-height: 1.5; opacity: .62; text-align: center; }
.credit a { color: inherit; }
.seen .unit-art .ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-in-out 2s infinite; }
@keyframes ping { 50% { transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .seen .unit-art .ping { animation: none; } }
</style>
<!-- The book's own look, if it differs from the chalkboard: override the tokens of lib/contents.css here, e.g.
<style>
:root { --board: #fcfaf3; --chalk: #26241f; --top-bg: rgba(252, 250, 243, .9); --top-line: #ddd5c3; color-scheme: light; }
</style> -->
</head>
<body>
<section id="cover">
<div class="chalk" aria-hidden="true"><!-- a few faint formulas or phrases from the book, drawn in chalk -->
<span style="left:7%;top:13%;--d:1.6">2x − y = 0</span>
<span style="right:8%;top:17%;--d:1.9">−x + 2y = 3</span>
<span style="left:5%;bottom:20%;--d:2.2">Ax = b</span>
<span style="right:6%;bottom:15%;--d:2.5">x·col 1 + y·col 2 = b</span>
</div>
<svg class="mascot draw" id="guide" width="210" height="147" aria-hidden="true"></svg>
<h1>Linear Algebra</h1>
<p class="kicker">An animated book</p>
<p class="lede">Equations you can see and move. Change a number and the lines, planes and arrows move with it; drag the picture and the numbers follow.</p>
<div class="acts">
<a class="btn go" href="#contents" data-t="open">Open the book<svg viewBox="0 0 16 16" aria-hidden="true"><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>
</div>
<p class="meta" id="meta"></p>
<p class="credit">Based on <a href="https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/">MIT OpenCourseWare 18.06, Linear Algebra</a> by Gilbert Strang, used under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>. Retold, redrawn and animated by Papermorph; this book is shared under the same licence. Not affiliated with or endorsed by MIT.</p>
<a class="back-shelf cover-back" href="../">← Back to the bookshelf</a>
</section>
<main id="contents">
<header class="top">
<a class="home" href="#book" aria-label="Back to the cover" data-t-label="toCover"><svg class="mascot" id="guideSmall" width="52" height="36" aria-hidden="true"></svg><strong>Linear Algebra</strong></a>
<span class="prog" id="prog"></span>
<a class="back-shelf contents-back" href="../">← Bookshelf</a>
</header>
<div id="units"></div>
<p class="refs-more" id="refsMore" hidden><a href="#references"><b data-t="references">References</b><span id="refsCount"></span><i data-t="viewAll">View all →</i></a></p>
</main>
<main id="refpage" aria-labelledby="refsTitle">
<header class="top">
<a class="back" href="#contents" data-t="backToContents">← Contents</a>
<span class="rp-book" id="rpBook"></span>
</header>
<section class="refs" id="references">
<h1 id="refsTitle" tabindex="-1" data-t="references">References</h1>
<p class="lead" data-t="refsLead">Every work cited in the lessons.</p>
<ol id="refList"></ol>
</section>
</main>
<script>
// Units and chapters are numbered in order from start (a book whose scope starts mid-way, e.g. at unit 3, chapter 9,
// keeps the original numbers). Add a chapter here when its lesson is ready.
Contents.book({
start: { unit: 1, chapter: 1 },
units: [ // [unit title, [[chapter title, minutes], ...]]
['The Geometry of Linear Equations', [['One Equation, One Line', 10], ['Two Equations, One Point', 11], ['Crossing, Parallel or the Same Line', 10], ['Vectors: Arrows and Columns of Numbers', 9], ['Adding and Stretching Vectors', 10], ['Linear Combinations', 10], ['The Column Picture', 10], ['Matrices and Ax = b', 10], ['Matrix Times Vector, Two Ways', 10], ['A Matrix Moves the Whole Plane', 10], ['Three Unknowns: A Plane in Space', 12], ['Three Planes, One Point', 14], ['Three Columns in Space', 13], ['Can We Solve for Every b?', 10], ['More Numbers Than Axes', 9]]],
['Elimination with Matrices', [['Elimination: Two Equations', 12], ['Pivots and Multipliers', 10], ['Elimination: Three Equations', 11], ['Back Substitution', 11], ['When Elimination Breaks Down', 11], ['Elimination Matrices', 11], ['Row Exchanges as Matrices', 10]]],
['Multiplication and Inverse Matrices', [['Matrix Times Matrix', 10], ['Four Ways to Multiply', 10], ['Rules for Matrix Arithmetic', 10], ['The Inverse: Undoing a Matrix', 12], ['Finding the Inverse: Gauss–Jordan', 11], ['Matrices with No Inverse', 11]]],
['Factorization into A = LU', [['Undoing Elimination', 11], ['A = LU', 11], ['Why L Is Clean and E Is Not', 11], ['A = LDU', 11], ['How Much Work Is Elimination?', 10], ['PA = LU', 11]]],
['Transposes and Vector Spaces', [['The Transpose', 11], ['Symmetric Matrices', 11], ['What Is a Vector Space?', 13], ['Subspaces of the Plane', 11], ['Subspaces of Space', 11], ['The Column Space', 12]]],
],
hues: ['#f4a48c', '#86c9e8', '#f3c95c', '#e8a0c8', '#8fd6b0', '#bba8ee', '#f0b45a'], // one colour per unit, cycling
});
</script>
</body>
</html>