The shape of a snowflake is largely determined by the temperature and saturation in the part of the atmosphere where snow forms.