For dynamic changes of the geometry, the vertices must have an update.
.attributes.position.needsUpdate = true;