Trying to adjust this "Wave a flag" example

Examples from the collection:

ArtOfLathe
LineSegmentsCircle


perhaps a group? three.js docs