Creates set of star elements based on given value