doc for wavefactory 2d and 3d