Learn how to draw pixels, lines, rectangles, circles, triangles and curves with C++17. Save and load PPM files. Visualizing data for presentation, collaboration and investigation.
We have all been there when you want to present some data nicely and graphically. You start by implementing a GUI library so that you can set up a canvas to draw on… but then what? Or you download and build a library that can handle reading and writing PNG images, as you need lossless images. Or you do the same to find out a file’s entropy. Or you’re coding on a game and want to test the look of animation sprites in a parallax setting. Whatever the reason is… it’s too complicated to do and takes more time than you would consider doing.
The book is about drawing with C++17 and not how to code in C++. This book is intentionally heavy on the code side. Learning by code examples.