Adding JavaScript via github zipfile to webflow page as background

Trying to implement this Js file from github: https://github.com/crnacura/AmbientCanvasBackgrounds/blob/master/js/swirl.js

into my Webflow website as a background. Currently I have downloaded it as a ZIP file and converted it to a .TXT file. I was able to get the .TXT file into the assets panel but I’m stuck from there. Any help would be greatly appreciated.

For file in public Github repos, you can use jsDelivr to serve them directly-

<script src="https://cdn.jsdelivr.net/gh/crnacura/AmbientCanvasBackgrounds/js/swirl.js"></script>

Thank you for the help! Do I input this into the Page settings under the tag or tag?

This page gives you info on how you can add code to a page:

You can paste the code from @memetican in the “before the ” area:

I haven’t unpacked how the code works, or what you need to do to utilize it.
That will determine when it needs to be loaded. Experiment if you’re not sure.