Circuit Generator

Creates a tech-style circuit board pattern with animated bolt effect.

Usage

app.executeGenerator('drawCircuit', {
  lineColor: '#60a5fa',
  nodeColor: '#3b82f6',
  bgColor: '#0f172a',
  density: 0.5
});

Parameters

Parameter Type Default Description
lineColor string '#60a5fa' Circuit line color
nodeColor string '#3b82f6' Node/junction color
bgColor string '#0f172a' Background color
density number 0.5 Circuit complexity (0-1)
animated boolean true Enable bolt animation
boltColor string '#fbbf24' Animated bolt color

Example

// Green matrix style
app.executeGenerator('drawCircuit', {
  lineColor: '#22c55e',
  nodeColor: '#16a34a',
  bgColor: '#052e16',
  boltColor: '#86efac'
});