Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get Proper colors in my project #193

Open
UjjwalSaini07 opened this issue Sep 10, 2024 · 2 comments
Open

Can not get Proper colors in my project #193

UjjwalSaini07 opened this issue Sep 10, 2024 · 2 comments

Comments

@UjjwalSaini07
Copy link

I use this

useEffect(() => {
    const vantaEffect = BIRDS({
      el: vantaRef.current,
      THREE: THREE,
      mouseControls: true,
      touchControls: true,
      gyroControls: false,
      minHeight: 200.00,
      minWidth: 200.00,
      scale: 1.00,
      scaleMobile: 1.00,
      backgroundColor: 0x030321,
      colorMode: "variance",
      birdSize: 1.60,
      speedLimit: 4.00,
      separation: 87.00,
      alignment: 44.00,
      cohesion: 38.00
    });
  
    return () => {
      if (vantaEffect) vantaEffect.destroy();
    };
  }, []); 

But it show normal color to bird i try so many things

Image ref:

image

@HarshArora-1205
Copy link

Can you share your full code in a sandbox or something?

@UjjwalSaini07
Copy link
Author

Can you share your full code in a sandbox or something?

Check this Out - https://github.com/UjjwalSaini07/UjjwalS-Portfolio/blob/master/src/Pages/CompoPage/MobiVersion/HomeMobi.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants