added sine wave drawing, got mvp of scrub constant to work