encapsulated webGL initiation methods
distance map as 2D texture on plane