use new quadwave8 function for sine effect