Math for Programming / Keep going

Where these ideas came from

The lessons use original explanations and examples. These references identify the books and public documentation behind the concepts so a reader can go deeper.

The books

Paul Orland’s Math for Programmers: 3D Graphics, Machine Learning, and Simulations develops math by writing programs. Part 1 of this path draws most directly on chapter 2 for 2D vectors, chapters 4 and 5 for transformations and matrices, chapter 8 for rates of change, and chapter 9 for motion. The examples on this site are new teaching examples; they are not copied from the book.

Oleksandr Kaleniuk’s Geometry for Programmers supplies a geometric vocabulary for programming. The most relevant parts here are chapter 2, section 2.1 on points and vectors; chapter 4, sections 4.1–4.2 on translation, scaling, rotation, and affine transformations; chapter 5, section 5.1 on derivatives; and chapter 9, section 9.1 on vector operations. Later chapters go far beyond this introductory path.

Public references

How to read the lessons

A worked example demonstrates a mathematical rule under the assumptions stated beside it. It is not a claim that every graphics tool uses identical units or screen directions. Code samples are written for Godot 4 and kept short for clarity; check the engine’s current documentation when you apply an idea in a project.