Thousands of people were out with their cameras on Sunday night snapping pictures and videos as fireworks exploded from the CN Tower and the city lit up with colour.

But one spectator put together a timelapse that is catching the attention of people around the city.

Fireworks blasted off the CN Tower during the closing ceremony of the Pan Am Games.

Tharanga Ramanyake posted this video to YouTube Sunday night of the fascinating show.

Click here if you are viewing this on our mobile app.