Ported over the spring grid functionality from my separate prototype project.