Skip to content

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

feat(linear-algebra): contents list chapters 1-7

yzra2f2894c3699
diff --git a/site/linear-algebra/ch03/index.html b/site/linear-algebra/ch03/index.html
index 50822b2..57ab2b9 100644
--- a/site/linear-algebra/ch03/index.html
+++ b/site/linear-algebra/ch03/index.html
@@ -15,7 +15,7 @@
<script src="audio/en/timings.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 3, title: 'Crossing, Parallel or the Same Line', minutes: 10, language: 'en' };
+const CHAPTER = { number: 3, title: 'Crossing, Parallel or the Same Line', minutes: 10, language: 'en', next: '../ch04/' };
/* ---------- chapter drawing helpers (chapter 2's, plus the same-line dash and the off-grid marker) ---------- */
const BLUE = LS_ROW[0], CORAL = LS_ROW[1];
diff --git a/site/linear-algebra/ch04/index.html b/site/linear-algebra/ch04/index.html
index 8d3dc3b..b162e95 100644
--- a/site/linear-algebra/ch04/index.html
+++ b/site/linear-algebra/ch04/index.html
@@ -16,7 +16,7 @@
<script src="audio/en/timings.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 4, title: 'Vectors: Arrows and Columns of Numbers', minutes: 9, language: 'en' };
+const CHAPTER = { number: 4, title: 'Vectors: Arrows and Columns of Numbers', minutes: 9, language: 'en', next: '../ch05/' };
/* ---------- chapter drawing helpers ---------- */
const [GREEN, VIOLET, PINK] = VS_COL; // v, w, u: their colours everywhere in the book
diff --git a/site/linear-algebra/ch05/index.html b/site/linear-algebra/ch05/index.html
index 7ba9ae7..eed914e 100644
--- a/site/linear-algebra/ch05/index.html
+++ b/site/linear-algebra/ch05/index.html
@@ -16,7 +16,7 @@
<script src="audio/en/timings.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 5, title: 'Adding and Stretching Vectors', minutes: 10, language: 'en' };
+const CHAPTER = { number: 5, title: 'Adding and Stretching Vectors', minutes: 10, language: 'en', next: '../ch06/' };
/* ---------- chapter drawing helpers ---------- */
const [GREEN, VIOLET] = VS_COL; // v green, w violet (chapter 4); sums amber
diff --git a/site/linear-algebra/ch06/index.html b/site/linear-algebra/ch06/index.html
index 90dd48e..626d897 100644
--- a/site/linear-algebra/ch06/index.html
+++ b/site/linear-algebra/ch06/index.html
@@ -16,7 +16,7 @@
<script src="audio/en/timings.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 6, title: 'Linear Combinations', minutes: 10, language: 'en' };
+const CHAPTER = { number: 6, title: 'Linear Combinations', minutes: 10, language: 'en', next: '../ch07/' };
/* ---------- chapter drawing helpers ---------- */
const [GREEN, VIOLET] = VS_COL; // v green, w violet; the combination amber (it will be b)
diff --git a/site/linear-algebra/index.html b/site/linear-algebra/index.html
index 15dc213..2e8d52a 100644
--- a/site/linear-algebra/index.html
+++ b/site/linear-algebra/index.html
@@ -72,7 +72,7 @@
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]]],
+ ['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]]],
],
hues: ['#f4a48c', '#86c9e8', '#f3c95c', '#e8a0c8', '#8fd6b0', '#bba8ee', '#f0b45a'], // one colour per unit, cycling
});