Fireplace Screensaver_
A free virtual fireplace for your browser
Eight scenes
Keyboard & mouse
Guide — a cosy fire on any screen in a minute
Pick a scene, tend the fire, set a sleep timer if you like, then go fullscreen. Everything runs in your browser.Hearth, Stone mantel, Wood stove, Campfire, Fire pit, Candlelight, Embers or Bonfire, or press 1 to 8. A scene sets the room, the logs, the flame colour and the mood in one go.
Drag flame height, intensity, wind, logs (candles in Candlelight), embers and room glow. Choose a colour temperature, a log type and a background room, and switch heat shimmer on or off.
Press L to drop a new log on and make the fire flare, or K (or click or tap in fullscreen) to poke it and send sparks flying. Logs burn down, glow along their cracks and collapse, and a fresh one drops in by itself unless you turn that off.
Pick 15, 30, 60 or 120 minutes and the fire burns down to embers while the screen fades to black, handy for a bedroom TV. The crackling sound is generated in your browser, off by default and started only by you (W).
Press Enter fullscreen, click the fire or press F. Space pauses, T shows a clock, P saves a PNG and Copy link shares your exact setup. Esc leaves.
What is in here
- 1 Hearth
- Brick fireplace with logs
- 2 Stone mantel
- Dark stone and a soft clock
- 3 Wood stove
- Glass door, warm room light
- 4 Campfire
- Night, stones and stars
- 5 Fire pit
- Modern pit, lava stones
- 6 Candlelight
- Many small flames
- 7 Embers
- Dying fire, rare flare-ups
- 8 Bonfire
- Roaring, huge sparks
Choose 15, 30, 60 or 120 minutes. The flames shrink slowly, the logs settle into glowing embers and, in the last part, the picture fades to black. Press any key or tap the screen to relight it. The timer is optional, and the fade to black can be switched off if you prefer to keep the embers on.
- Add a log
- L drops a log, with a thud if sound is on
- Poke
- K or a tap in fullscreen sends sparks up
- Colours
- Warm, classic, bright, or mineral blue-green and violet for fun
- Clock
- T shows the time, G a greeting line
- Link
- Copy link keeps every setting
The fireplace screensaver, explained
What it is
It is a virtual fireplace that runs in a browser tab. There is no video behind it: the flames, the glowing logs, the sparks and the light on the surroundings are computed and drawn live on your device, so there is no loop to notice and nothing has to be downloaded. It is inspired by the fireplace screensavers and TV fireplace videos people have long put on for a cosy evening. The art and the code are original.
How the fire is drawn
On a computer or phone with WebGL the flames come from a small shader. Several flame tongues are stretched upward and eroded by layered noise that scrolls up the screen, a larger, redder layer sits behind them, and every pixel gets its colour from a temperature ramp: deep red at the edges, then orange and yellow, with a near-white core. Wind bends the tips, and the base can carry a faint blue zone, which is strongest in the gas flames of the fire pit. The flame is rendered at reduced resolution and scaled up, because flames are soft anyway, and that keeps it fast.
The surroundings are drawn once as flat artwork, and the fire lights them. A few lights flicker and breathe with the flame; the wall also gets a little relief from the brightness of the artwork, so the mortar lines of bricks and stones catch the light. Heat shimmer displaces that picture in a column above the fire. Logs are separate sprites with bark, a charred layer and glowing cracks that follow the heat. If WebGL is not available, or you add gl=0 to the link, the same scene is drawn on a plain 2D canvas, with the flames made of a few hundred soft, additive particles and the light painted as a low-resolution light map.
Why flames have those colours
The yellow and orange of a wood or candle flame come mostly from tiny soot particles that glow because they are hot. A flame that burns cleanly, such as a gas flame, shows more blue near its base. Colourful “mineral” flames come from metal salts: copper compounds colour a flame green or blue-green in a classic flame test. The Mineral and Violet settings here are only a colour effect for fun, nothing is burning anything.
Eight scenes
- Hearth: a brick fireplace with an arched opening, a stone slab and a stack of mixed logs.
- Stone mantel: dark stone, a wooden mantel and a small clock whose hands follow your local time.
- Wood stove: a cast-iron stove with a glass door; the window glows and lights the room.
- Campfire: stones, leaning logs, pines and stars at night, with sparks rising into the sky.
- Fire pit: a round corten-steel pit with flames over lava stones.
- Candlelight: up to twelve candles; every flame lights its own patch of the table.
- Embers: almost dead, with glowing coals and a rare flare-up.
- Bonfire: big, roaring, with large sparks and light that reaches the trees.
The background room setting swaps the wall material (brick, stone, dark plaster or a blurred living room built from gradients). In the outdoor scenes it replaces the night sky and trees.
Logs, fuel and the sleep timer
Each log burns down over roughly ten to fifteen minutes at the default intensity. It chars, its cracks glow, at some point it collapses with a burst of sparks and a flare, and then it is gone. With keep the fire fed on, a fresh log drops in by itself, so the fire runs for hours without growing or shrinking. Turn it off, or pick the Embers scene, to watch a fire die. L adds a log whenever you like.
The sleep timer works on top of that. Over the chosen time the heat is scaled down smoothly to embers; in the last part (a tenth of the time, but at least 20 seconds and at most 2 minutes) the screen fades to black, the page stops drawing and releases its wake lock so the device can go to sleep by itself. A web page cannot switch your TV off, so what you get is a black picture: on an OLED screen black pixels are off, while on other TVs the backlight stays on unless the TV’s own sleep timer ends it. Press any key or tap the screen to wake the fire; the timer is not remembered between visits.
Crackling sound
The sound is made with the Web Audio API, not recorded: a low rumble from filtered noise, a soft rustle, and short noise bursts for the crackles and pops, which match the sparks on screen. It is off by default, starts only when you switch it on (browsers do not allow sound before you interact with the page), has its own volume, and fades out with the sleep timer. In a background tab the crackles keep going while the picture rests.
Use it as a screensaver, on a TV or as a video-call background
Press Enter fullscreen or F. In fullscreen the controls and the cursor hide after a few seconds and the page asks the browser to keep the display awake, where the Screen Wake Lock feature is supported. A web page cannot register itself as your operating system’s screensaver, so open it when you want the fire, or leave it on a smart TV browser, a laptop connected by HDMI or a tablet on a stand. On iPhone, Safari does not offer fullscreen for web pages, so the page fills the browser window instead. For a still wallpaper, pause on a good moment and press Save PNG. For a video call, share the browser window or tab with the fire in it.
Performance, auto quality and reduced motion
The canvas follows your screen up to twice the CSS size and is capped at about 4 megapixels, because the scene is built from several layers. If the page measures fewer than about 38 frames per second for three seconds, auto quality steps down: fewer sparks, a lower flame resolution, then a lower canvas resolution. You can turn it off, or add aq=0 to the link. The fire pauses in a hidden tab, all particles live in fixed-size pools, and no memory grows over time, so it can run all night. If your system asks for reduced motion, the page starts in the calm Embers scene, with no heat shimmer or flying sparks.
Share a link
Copy link builds a web address with your settings, the scene and the greeting text included. Whether the sound is on and the sleep timer are not part of it; the volume is. You can also write the parameters yourself:
| Parameter | Values |
|---|---|
m | hearth, stone, stove, camp, pit, candle, embers, bonfire (or 1 to 8) |
hg it | flame height, intensity: 1 to 10 |
wd | wind: -5 to 5 |
lg | logs 0 to 6 (candles in Candlelight) |
em rg | embers, room glow: 0 to 10 |
lt | mixed, oak, birch, split |
ct | warm, classic, bright, mineral, violet |
rm | auto, brick, stone, dark, living |
sh fd sb ck gr | 1 or 0: heat shimmer, keep fed, fade to black, clock, greeting |
gt vo | greeting text (40 characters), sound volume 0 to 100 |
fs=1, aq=0, gl=0 | open in fullscreen, switch auto quality off, force the 2D canvas renderer |
Ideas
- Bedroom TV: Embers or Hearth, warm colour, volume low, sleep timer at 30 or 60 minutes.
- Party or dinner: Candlelight or Stone mantel with the clock on, or the greeting line for the occasion.
- Winter holidays: Hearth with the living room background and a greeting line.
- Garden evening: Fire pit or Campfire on a tablet at the window, sound on.
- Focus: Embers with sound at low volume makes a quiet backdrop.
Works everywhere, privately
It is plain web code and should run in any current desktop or mobile browser. The fire is computed and drawn on your device and the sound is generated there too. Your settings are kept in your browser’s local storage under the key fp2; the page sets no cookies. Besides the page itself it loads a font and the cookie-free page-view counter used on the whole site, and nothing you set or type is sent anywhere. Copy link puts your settings, including the greeting text, in the web address in plain text. No account, no ads, no watermark.