Treatise on light