A heightfield should be an array primitive, probably controlled by a 2D array of scalars, an origin and some axes. Alternatively, it could be a 2D array of absolute position vectors.
A good toy, but not needed for 1.0
A good toy, but not needed for 1.0