How Shapes Make Melodies
When a shape plays, a node traverses the perimeter of the shape at a constant speed, sounding a note at each vertex.
The first note of a shape is determined by the shape's y
position on the plane. The note for each subsequent edge is determined by the angle between that edge and the previous edge. This angle determines the musical interval between the two notes(edges). For example: A sharp right turn means that the next note is much lower than the previous, while a shallow left turn means that the next note is a little higher. When the last point is reached, the loop starts again.