Get wave trace working in both directions
Change trace to use a scratch canvas to pre-render sine wave for better performance...maybe