tried to do pointSpacing thing with unintended consequences.
wave drawing works now, updating still a work in progress