Waves Generator

Creates layered wave patterns.

Usage

app.executeGenerator('drawWaves', {
  waveCount: 5,
  colors: ['#3b82f6', '#60a5fa', '#93c5fd'],
  amplitude: 50,
  bgColor: '#0f172a'
});

Parameters

Parameter Type Default Description
waveCount number 5 Number of wave layers
colors array blues Wave colors
amplitude number 50 Wave height
frequency number 2 Wave frequency
bgColor string '#0f172a' Background color
animated boolean true Animate waves

Example

// Ocean waves
app.executeGenerator('drawWaves', {
  waveCount: 6,
  colors: ['#0369a1', '#0284c7', '#0ea5e9', '#38bdf8'],
  amplitude: 60,
  frequency: 3
});