Create simple elements.
The elements interact with each other by creating an energy field around them.
The formula to determine the amount of energy that an element contributes to a point falls off acording to the square of the distance, there may also be a maximum extent for the energy.
To define a surface we need to set a threashold and everything below that value is considered to be outside the surface.