I dream of writing a book on 2D graphics, but it’s probably unrealistic. In the meantime, here are some resources that might be useful.
The content of this book is licensed under CC BY 4.0. Feel free to quote and adapt freely, as long as you give attribution. All source code, including example code, code to generate figures, and any interactive demos, is licensed under Apache 2.0.
The github repo for this book is open source and welcomes pull requests and issues.