ageControl function

Set attributes of vertices based on their age