Sunset Generator

Creates an animated sunset scene with gradient sky and clouds.

Usage

app.executeGenerator('drawSunsetScene', {
  sunColor: '#fbbf24',
  skyColors: ['#1e3a5f', '#ff7e5f', '#feb47b'],
  cloudCount: 5
});

Parameters

Parameter Type Default Description
sunColor string '#fbbf24' Sun fill color
skyColors array gradient Sky gradient colors
cloudCount number 5 Number of clouds
animated boolean true Animate clouds

Example

// Dramatic sunset
app.executeGenerator('drawSunsetScene', {
  sunColor: '#ef4444',
  skyColors: ['#0f172a', '#dc2626', '#f97316'],
  cloudCount: 8
});