Code samples from Designing Web & Mobile Graphics