Skip to content

How to change the wallpaper from vanta waves to vanta net #254

Closed

Description

@Mindtrip-Inno

Nice twist. Job well done firstly,

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 ?

Activity

  1. DustinBrett commented on Jan 7, 2023

    @DustinBrett
    Owner

    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.

  2. Mindtrip-Inno commented on Jan 7, 2023

    @Mindtrip-Inno
    Author

    No error when running server. Just black screen. Min js is from vanta github.

    image

  3. DustinBrett commented on Jan 7, 2023

    @DustinBrett
    Owner

    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.

    image

    image

    image

    image

  4. 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
  5. Repository owner locked and limited conversation to collaborators on Jan 9, 2023
  6. converted this issue into a discussion #255 on Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions