added lissajous render function