The mathematics of honeycomb