Component · Animated backgrounds

Flashlight effect with cave torch beams

by Informeek Studio 11 November 2026
Live Move to aim your torch, click to flood the chamber

The prompt

Create a flashlight effect background for guided cave walks, written as one WebGL fragment shader on near black (#070504). Build a limestone wall from domain warped noise stretched into vertical flowstone, with normals from three height samples and warm grey to cream albedo (#c7ab87). Paint three hand stencils on the wall in ochre (#ae3d1a): each hand is a palm plus five capsules, and the ochre is a sprayed halo around it with the hand itself left as bare rock. Light the scene only with three torches held below the bottom edge. Yours aims at the pointer with a warm white spot (#fff0d0); two companions in cool white and amber sweep slowly on their own. Each spot has a soft edge and hot centre, rakes the rock from its origin, and shows a visible beam in the air from origin to spot, textured by drifting dust with a few sparkling motes. A click or tap floods your torch to three times its size and brightens the whole chamber for 1.6s. After 2.5s idle your torch wanders across the stencils. Copy on the left: an amber label "Underdale Caves, guided walks", an 86px serif headline "Some art is best seen by torchlight" with the last two words in amber, one line and two pills. Render at 75% resolution and freeze for reduced motion.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by swapping the hand stencils for your own hidden detail.

About this flashlight effect

This flashlight effect puts you in a cave with two companions, and it is about beams as much as spots. Three torches are held just below the screen. Yours follows the cursor, and the other two drift slowly on their own, each throwing a visible shaft of light through dusty air before landing on the rock. Where the light falls, the limestone appears with all its folds and pits, lit from below so every ridge throws a shadow.

Hidden on the wall are three ochre hand stencils, the kind left in real caves thousands of years ago, which only appear when a beam crosses them. Click and your torch floods the chamber for a moment. The wall, the stencils, the beams and the dust are all one shader, with the rock relief from warped noise and the light raking from each torch position.

Why the prompt works

  • It lights the scene only with torches, so darkness does the design work.
  • It draws a beam in the air, not just a spot on the wall.
  • It rakes light from below, which brings out the rock relief.
  • It hides a reward in the dark, the stencils.

Where to use it

Caves and heritage sites, museums, escape rooms, outdoor gear, mystery games and night tours.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Animated backgrounds

Glitch background on a faulty terminal

Live
Component · Animated backgrounds

Glowing background of light pillars

Live
Component · Animated backgrounds

Ripple grid animation in a room