pixel simulation