Day 1, Overdoing it
The first proper day of Devember is here. Of course I overdid it and spent all day coding, instead of just that one hour.
I had intended to finish the first chapter, with arithmetic operations on vectors, and points, all being represented by that single Tuple
class I made yesterday. A large part of that was refactoring the test infrastructure, which is to be expected this early, I guess.
Then I got carried away, and finished the second chapter too, implementing colors, represented by the same Tuple
class, and a drawable canvas, that can export itself in PPM format.
Next related
Day 2, Matrices, matrices, matrices. Oh, and more matrices
Today was spent on a heavy chunk of linear algebra, matrices. This is the foundation for everything else, so time well spent reimplementing what’s already in the stdlib, just to refresh my math skills. If there are still days left of Devember when I’m finished, I’ll come back and replace all this with the stdlib implementation instead, hoping I’m somewhat close to the same API.
Previous related
Day 0, Tuple Basics
Oops, I started a day early.
Devember is Coming
It’s that time of the year again.
Momentum Lost
All the setbacks and distractions made me lose the momentum I needed to keep going at this thing, despite everything else that exhausts my energy.