1,index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ripples</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jquery.ripples/0.5.3/jquery.ripples.min.js"></script>
</head>
<body>
<div class="full-landing-image"></div>
<script>
$('.full-landing-image').ripples({
resolution:200,
perturbance:0.04
})
</script>
</body>
</html>
2,style.css
body{
margin: 0;
padding: 0;
}
.full-landing-image{
100%;
height: 100vh;
background: url(./hb.jpg) no-repeat;
background-size: cover;
}