The sample code for the different chapters in "3D Graphics with Scene Kit" (which I call "SCNBook" as a joke)