Lightning Bolts


Lightning Bolts

Lightning Bolts is a Fractal Generator that creates electrical patterns (Lichtenberg figures) from different fractal formulas.

You can zoom in fractals like The Mandelbrot Set and generate lightning-like structures from the fractal.

The program can export the patterns in three formats:

  • PNG images.
  • Images sequences for animations.
  • SVG files.

The Lightning Bolts main page includes information for the latest releases of the program.

For an example of the output of this program, check the Lightning Bolts Gallery.

Contents




  1. Progam Panels
  2. Main Panel
    1. Fractal Tab
    2. Color Tab
    3. Engine Tab
    4. Animation Tab
    5. SVG Tab
    6. About Tab
  3. Render Panel
    1. Preview Panel
    2. Controls

Program Panels



Lightning Bolts Panels

Lightning Bolts is divided in two working panels:

  1. Main Panel
  2. Render Panel


Main Panel


This Panel is divided in six tabs:
  • Fractal - Fractal and Rendering Options.
  • Color - Gradient and color controls.
  • Engine - Rendering Engine and related parameters.
  • Animation - Animation controls.
  • SVG - The SVG generator and its options.
  • About Tab - The About Panel.

Fractal Tab



Lightning Fractal Tab
This panel is for control the fractal and its properties.



Formula Browser


Lightning Fractal Browser

This browser is used for selecting the formula type. As for version v2.1, there are 22 possible fractal formulas.


Fractal Options


Fractal Options

This control enables or disables several features of the fractals:
  • Exterior DE - Renders the Exterior Distance Estimator as a gray gradient.
  • Interior DE - Renders the Interior Distance Estimator as a gray gradient.
  • Strong Convergence - Forces the ray to converge over the fractal shape.
  • Lightning - Increases the ray brightness and constrast, creating a lightning effect.
  • Connect Points - Uses lines to connect the points in the rays.
  • Low Contrast - Reduces the ray contrast.
  • Glow - Renders a soft glow around the rays.


Ray Shapes


Ray Shapes

This control is used for selecting the overal shape of the generated rays.

Point Controls


Point Controls

This control defines the actual separation of the points in a ray.


Color Tab


Lightning Color Tab
This panel is for control the colors assigned to the fractal.


Gradient Operation Controls


Gradient Buttons

This group of buttons controls various aspect of the rays color gradient.
The Controls are:

  • Random - Generates a random gradient.
  • Append - Appends the current gradient to the gradient browser.
  • Save - Saves the current gradient to a .map file.
  • Load - Loads a gradient from a file.
  • Undo - Cancels the current gradient operation and restores the previous gradient.
  • Invert - Reverses the gradient order (including the control points).
  • Clear - Deletes the control points and turns the gradient into a grayscale ramp.
  • Auto Update - Enables or Disables the automatic color interpolation between the control points.

The Gradient Control


Gradient Control

This control show the actual gradient used by the rays. You can add or remove a control point by pressing left or right mouse buttons over the gradient.

The the selected control point is highlighted.

The Gradient Browser


Gradient Browser

This control allow to choose an stored gradient. Use the mouse wheel or the arrow buttons for scrolling and the left mouse button for selecting a gradient.

The Color Control


Color Control

This control changes the selected control point in the gradient.

The Image Controls


Image Adjusment Controls

These sliders controls the render Brightness and Contrast.

The Glow Controls


Glow Parameters Controls

These sliders are visible is the Glow shader is enabled. They control the number of Glow Iterations and the glow brigthness.


Engine Tab



Lightning Engine Tab
This panel changes the render engine.


Render Resolution


Render Resolution

This control sets the actual rendering resolution.

Render Engine


Render Engine

This control is for choosing the rendering engine.

Render Style


Render Style

This control is for selecting the render stype. Currently only works for CPU renders.

CPU Cores


CPU Cores

This is used for setting the number of CPU cores to be used in the render process.

Distance Estimator Filtering


Distance Estimator Filtering

When Enabled, areas of DE generate rays. If it's disabled, the entire fractal generate rays.
Only works for GPU based renders.

Sub-Pixel Ray Sampling


SubPixel Ray sampling

Sets the number of rays at a sub-pixel resolution.


Animation Tab



Lightning Animation Tab
This tab panel is for animation related settings.


Animation Resolution


Animation Resolution

Sets the rendering resolution for animations.

Animation Frames


Animation Frames

This control is for setting the number of frames between the start and end position.

Animation Controls


Animation Controls

These buttons sets the starting and ending positions of the animations.
The recall button that appears below them changes returns to the selected position.
Use the Animation Button to start the actual animation rendering process.


SVG Tab



Lightning SVG Tab
This panel is for generating SVG files.


Step Interval


SVG step interval

This parameter is used to prevent the generation of overly big svg files by skipping an amount of points in the ray.
For example, if the ray has 1000 points and the interval is 10, only 100 SVG points are used for the rays.


Sampling Resolution


SVG Sampling

Set the fractal resolution for the ray generation.


SVG Stroke


SVG Stroke

Defines the stroke of the rays in the SVG file.


SVG Colors


SVG Colors

Set the colors of the rays.


SVG Canvas


SVG Canvas

Defines the size of the SVG Canvas.

About Tab



Lightning Engine Tab
This panel shows the About information and a small help guide about the controls.


Render Panel


The render panel is divided in two sections:

  1. Preview Panel
  2. Controls


Preview Panel



This panel has to modes:

  • Navigator - Used for navigating in the fractal.
  • Preview - Show a preview of the resulting render.

Preview Panel Modes
Lightning Navigator Lightning Preview
Navigator Mode Preview Mode



The Navigator panel shows the fractal using a grayscale distance estimator coloring. In this panel, the Mouse control are:

  • Mouse Wheel - Used for zooming the fractal.
  • Left Mouse Button - Used for panning the fractal.
  • Right Mouse Button - If the fractal type is a Mandelbrot, it changes to the Julia Set related to the mouse pointer coordinates.


Preview Mode


The Preview panel shows the resulting render of the fractal. It can be the fast preview or the final result.


Controls



Lightning Controls

This panel shows the following controls:

  • Save - Saves the fractal parameters to a file.
  • Load - Loads parameters from a file.
  • Render - Renders the fractal.
  • Save Image - Saves the resulting render to a PNG formated file.
  • Preview - Render a low resolution fast preview of the fractal.
  • Show Help - When enabled, it shows the help of the control under the mouse pointer.
  • Quit - Exits the program.