Richard Feynman, a physicist at the California Institute of Technology, was the scientist as he might have been imagined by Jack Kerouac.