sine wave graphic constructor | ScratchStats