A local interaction simulation approach to the analysis of thin-film growth