Streaming live at 10am (PST)

Need help adding custom js to render Lissajous figures

Newbie to webflow, but I have some (very) basic JS skills.

I’m trying to render a Lissajous figure on my website with JS. Example of a Lissajous figure created with JS code below.

Having trouble wrapping my head around how to do this in Webflow. Can any webflow JS experts help out?