Scalar field generation