Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

AndrisJefimovs/dynamic-wave-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

waves

Animated wave lines/mesh.

In Action

demonstration

Usage

<!-- Noise library -->
<script src="https://assets.codepen.io/127738/perlin.js"></script>
<!-- Waves file -->
<script src="path/to/file/script.js"></script>

Parameters

bgColor

Specifies the background color behind wave lines.

lineColor

Specifies the color of wave lines.

lineWeight

Specifies the width of lines.

lineHeight

Specifies the height between lines.

noiseHeight

Specifies how much the line can be adjusted vertically.

speedX

Specifies how fast the waves are changing in horizontally.

speedY

Specifies how fast the waves are changing in vertically.

noiseMultiplier

Specifies the zoom into the noise.