Skip to content

How did you 'globalThis'ify Vanta Waves? #245

Answered by DustinBrett
rymix asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the interest. I did indeed convert from source using the vanta repo. I had PR'd (tengbao/vanta#118) one of my tweaks to the repo. I think I mostly just did a global search/replace for window to globalThis. I run it in a web worker so this was required. Attached is a diff of all the changes I've done to my local fork of vanta.

vanta-ea669eb-Various tweaks.zip

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DustinBrett
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #244 on December 10, 2022 01:09.