And last of all we have the secondary forms of crystals bursting in upon us, and sparkling in the rigidity of mathematical necessity and telling us, neither of harmony of design, usefulness or moral significance, — nothing but spherical trigonometry and Napier's analogies. It is because we have blindly excluded the lessons of these angular bodies from the domain of human knowledge that we are still in doubt about the great doctrine that the only laws of matter are those which our minds must fabricate, and the only laws of mind are fabricated for it by matter.
Essay "Analogies in Nature" (February 1856), reprinted in The Scientific Letters and Papers of James Clerk Maxwell: 1846-1862 edited by P.M. Harman, p. 376 (the quote appears on p. 383)