Distributing posts, amongst multiple columns with PHP

Hey there,
Thanks for stopping in.

I'm coding a blog section in a page template. I made a static .html page before uploading it to the .php template but, I realised that I had to embed the HTML in the wordpress loop. My posts in .html page were distributed between multiple columns so that they would stack without gaps (excluding the margins). I'll upload an illustration, to show what I mean.

What I want to do is, use the wordpress loop to distribute the posts sequentially amongst the three columns.