You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to change the wallpaper from vanta waves to vanta net #254
I have tried to change wallpaper to vanta waves to vanta net. But copying dist vanta.net.min.js ( in vanta github) to the vanta.waves.min.js gives black wallpaper. I believe the problem is some waves variables doesn't return valid with dist net.min.js code. Should i have to change everything in config related to waves or is there much easy way to do it ?
Is there any errors in the console? With Vanta I had to upgrade it to work with the latest Three.js. Also the waves config settings might need changing.
Now that I think of it, ya you would need to change quite a bit to have it run in a worker which is what it's trying to do. I got it working by removing VANTA from the WALLPAPER_WORKERS constant so it never runs in a worker. Also in vantaWaves/index.ts you need to change references of WAVES to NET. Finally I had to replace my three.min.js which is very slimed down, with a full version of r148. It could probably look nicer if I also tweaked the config, but I left it untouched as it runs.
changed the title [-]Changing default wallpaper to vanta waves to vanta net[/-][+]How to change the wallpaper from vanta waves to vanta net[/+]on Jan 9, 2023
Repository owner locked and limited conversation to collaborators on Jan 9, 2023
Activity
DustinBrett commentedon Jan 7, 2023
Is there any errors in the console? With Vanta I had to upgrade it to work with the latest Three.js. Also the waves config settings might need changing.
Mindtrip-Inno commentedon Jan 7, 2023
No error when running server. Just black screen. Min js is from vanta github.
DustinBrett commentedon Jan 7, 2023
Now that I think of it, ya you would need to change quite a bit to have it run in a worker which is what it's trying to do. I got it working by removing
VANTAfrom theWALLPAPER_WORKERSconstant so it never runs in a worker. Also invantaWaves/index.tsyou need to change references ofWAVEStoNET. Finally I had to replace mythree.min.jswhich is very slimed down, with a full version of r148. It could probably look nicer if I also tweaked the config, but I left it untouched as it runs.[-]Changing default wallpaper to vanta waves to vanta net[/-][+]How to change the wallpaper from vanta waves to vanta net[/+]