I second Steve's suggestion of http://www.pinhole.cz/en/pinholedesigner/]. A user constant of about 1.4 or 1.5 provides maximim central sharpness. http://www.f295.org/ is another source with much information on pinhole photography.