Take a Hooke's spring law simulator. Tie it every tile, every other tile, and then along diagonals. Texture correctly, and viola.
Download the Source Code
Here
Download the Windows Binary
Here
Source Code Dependencies
M_System3D
,
M_Math3D
,
M_Foundation