A Brooklyn production studio is building film dreams.

The Boerum Hill-based company Paganomation turns Legos into movies using stop-motion animation.

It's a patience-demanding process. Photos are taken of each Lego figure from different angles and then rendered as computer graphic frames to form one cohesive movie.

David Pagano, the company's founder and a Queens native, co-authored "The Lego Animation Book," which teaches LEGO fans how to bring the toys to life.

"We wrote this book with the intention of allowing anyone out there to make a Lego-animated film. So it's for the 8-year-old Youtuber to the 45-year-old AFOL, Adult Fan of Lego, and beyond," says Pagano. "We tried to make it as accessible as possible and just invite people into our strange little pocket of the Lego fan community."

Lego fans looking to check out the "Lego Animation Book" can log on to setbump.com/book