Create photo mosaics with your webcam

With the help of your webcam and a few photographs, it's easy to create striking photographic mosaic representations of what is displayed through the webcam.

In this tutorial I'll show you how to import your photographs via XML, and get an average colour and brightness for each photograph. Then, using this information, we will work out the average colour and brightness of the pixels from the webcam, and place the correct colour image in its place. To achieve a movie with more depth, you just need to use more photos; the wider the range of colours and brightness, the better. You'll find the screen grabs for each step of this tutorial in the support files.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.