How quickly can you arrange the four puzzle pieces into a T shape?

I made this for Alex Bellos' puzzle column in the guardian. The article can be found here.

Made with the p5.js library. Source code can be found on my GitHub.