Comments (5)
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>3D</title>
<script type="text/javascript" src="./js/three.r92.min.js"></script>
<script type="text/javascript" src="./js/vanta.wave.min.js"></script>
</head>
<body>
<div id="layer"></div>
<div style="height:3000px;"></div>
<script>
VANTA.WAVES({
el: "#layer",
});
</script>
</body>
</html>
from vanta.
Use section instead of div
from vanta.
I tried, but still no luck.
from vanta.
@LovageIO Ah I see the problem. This issue will be fixed if you set a height or add some inner content on your <div id="layer"></div>
element! Meanwhile, I'll fix the code.
from vanta.
@LovageIO The above solution will work for the old code, or you can update to the new version, which makes the height/width logic clearer. Either way, you'll probably want to explicitly set a height on the #layer
element.
Fixed in b769f2e
from vanta.
Related Issues (20)
- Colors of the VANTA.FOG from official Vanta's website dont look same on my website HOT 1
- about its use in combination with Next.js HOT 3
- When I use the Vue 3 Composition API, I find that the generated instance cannot be destroyed. However, in Vue 2, this is normal. HOT 5
- How to align the horizon in the clouds example?
- Site is down - Cert SSL Expired HOT 1
- Can we stop the animation in TOPOLOGY?
- hey. Https sertificate doesnt work:) HOT 1
- toplogy effect not working when used in react js HOT 1
- Breaks in `[email protected]` HOT 2
- three.min.js:2 THREE.WebGLProgram: shader error: 0 35715 false gl.getProgramInfoLog THREE.WebGLShader: gl.getShaderInfoLog() vertex
- How do I give an element rounded corners?
- How to customize color for waves?
- Feature Request: Lower resolution
- Typescript support HOT 1
- Limit fps
- Animation don't work on iOS devices
- Feature request: support with TypeScript
- Cloud2 performance
- es6 modules
- how to import halo effect i tried HALO from dist/// but its not worky tell me how to do it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanta.