A hands-on little world

Lightning Generator

Aim branching lightning across a storm-dark sky, then shape its energy, branches, and automatic storm.

Opening the studio…

A sky that answers your touch.

Aim branching lightning across a storm-dark sky, then shape its energy, branches, and automatic storm.

How to play

Drag or tap to choose where the next bolt lands. Each strike has a newly fractured main channel and smaller branches, with a fast flash that fades into the cloud layers. Auto storm brings occasional strikes without holding the pointer.

Shape the experience

Energy changes the main channel width and flash strength. Branching changes how many offshoots develop. Storm frequency controls the wait between automatic strikes; Thunder distance softens the generated rumble. Strike now makes a fresh bolt, Auto storm switches unattended strikes, and Change glow alternates cool blue and violet.

Sound, pause and a little more room

Sound is enabled by default. Your browser may require the first click, tap or key interaction before allowing audio. The Sound button lets you mute or unmute it. Short interaction sounds are generated locally; there are no audio downloads. Pause stops the simulation and silences its sound. If your device requests reduced motion, the studio starts paused.

Fullscreen expands the playground while keeping its controls available. Photo saves a JPEG of the scene without the interface. Fresh start restores the objects while keeping your chosen control values and sound preference. With the playground focused, Space pauses or resumes, and Escape cancels an active gesture. The scene also suspends animation when hidden or scrolled out of view.

What the simulation models

The storm keeps no more than five short-lived bolts, each with a bounded path resolution. Thunder uses short synthesized noise envelopes with a shared eight-voice cap. This is a visual storm toy, not an electrical safety or weather model.

The scene is drawn locally with Canvas 2D, without external graphics libraries or generated scenery. Rendering resolution is capped at about 1.8 million pixels, and each object pool or mesh has a fixed limit. Controls work with mouse or touch. If the playground cannot start, reload in a current browser with JavaScript and Canvas support.

Use Hide controls to minimize the settings and give the scene more room. The Show controls button remains available to restore them. Hiding controls keeps the current scene and settings; it does not reset or pause the simulation.