Create Lissajous curve with Three.js/