How to Add a Flywheel Energy Storage Lab to Your Website
LK Forge · 4 min read · Updated September 2026
You can add a full flywheel energy storage lab to any website, blog, or classroom page with a single line of code — free, with no sign-up, no plugin, and no script to install. Visitors spin a rotor up to speed, draw it back down, and watch how quickly an idle flywheel bleeds energy away. That is the story it tells: a flywheel is built for a fast, high-power burst — kinetic energy scales with the square of spin speed — but self-discharge from bearing and windage drag drains the store during any long hold. This guide covers the fastest way to embed the Flywheel Energy Storage Lab, what it shows, and where it works.
The quickest way: paste one embed snippet
An embed is just an <iframe> that loads the lab from lkforge.com, plus a small credit line. Copy this into your page’s HTML where you want the widget to appear:
<iframe src="https://lkforge.com/embed/flywheel/"
width="100%" height="1840" loading="lazy"
style="border:0;max-width:720px"
title="Flywheel Energy Storage Lab by LK Forge"></iframe>
<p><a href="https://lkforge.com/tools/physics/flywheel/">Flywheel Energy Storage Lab</a>
by <a href="https://lkforge.com/">LK Forge</a></p> The <iframe> is the live lab; the <p> underneath is a plain credit link. Keep that line — the visible link is what keeps the widget free to embed. You can also copy this exact code straight from the LK Forge widget gallery.
What the widget shows
The lab opens as a spin-up / draw-down dashboard, so a visitor can press Run and then take control:
- Rotor sliders: rotor mass, rotor radius, top speed, rim-speed limit, standby loss and hold time set up the cycle before you press ▶ Run.
- Presets and reset: Fast burst, Long hold, Heavy rotor and Low-loss bearing jump to common designs; ↺ Reset clears the run.
- Live readouts: energy in, energy delivered, stored energy and round-trip efficiency update as the rotor spins up and draws down.
- Two plots: stored energy over the cycle, and the energy split of delivered versus lost, beside a spin-up / draw-down schematic showing where the energy goes.
Pick the right height
The snippet uses height="1840" and max-width:720px. This is a dashboard-style lab with sliders, readouts and two plots, so on a narrow phone the panels stack into a single column — the tall height keeps that stacked layout from clipping. On a wider page the widget simply centres within its max-width, so the one height works across screen sizes.
Where it works
Because it is a standard iframe, the embed works anywhere you can add HTML:
- WordPress: add a Custom HTML block and paste the snippet.
- Squarespace: use a Code / Embed block.
- Wix: add an Embed HTML / iframe element.
- Ghost: insert an HTML card.
- Notion: paste the
/embed/flywheel/URL and choose "Create embed". - Plain HTML, an intranet, or a lesson page: paste the snippet straight into the markup.
That’s the whole job. Copy the embed code from the widget gallery and paste it wherever an energy-storage, physics, or engineering lesson — or a blog post on grid frequency and fast storage — needs a rotor students can actually spin up and draw down.
Grab the embed code from the LK Forge widget gallery — free, no sign-up.
Open the Flywheel Energy Storage LabFrequently asked questions
- What can visitors do with the embedded Flywheel Energy Storage Lab?
- They set the rotor mass, rotor radius, top speed, rim-speed limit, standby loss and hold time, then press Run to spin the rotor up and draw it back down. One-click presets — Fast burst, Long hold, Heavy rotor and Low-loss bearing — jump to common designs, and Reset clears the run. Live readouts show energy in, energy delivered, stored energy and round-trip efficiency.
- What does the Flywheel Energy Storage Lab teach and show?
- It shows that a flywheel stores kinetic energy that scales with mass, the square of radius and the square of spin speed — so speed and radius dominate — while the rim-speed limit caps how fast it can safely turn. Its weakness is self-discharge: even idle the rotor loses energy to bearing and windage drag, so a stored-energy plot visibly droops during a long hold, and a decay plot shows how quickly the store fades. Flywheels win on fast, high-power bursts, not long storage.
- Is embedding the Flywheel Energy Storage Lab free?
- Yes. It is free to embed on any site, with no account, no API key and no usage limits. The whole simulation runs in your visitor’s own browser, so there is no server cost — we only ask that you keep the small "Flywheel Energy Storage Lab by LK Forge" credit line that comes with the embed code.
- What iframe height should I use, especially on mobile?
- The snippet ships with height="1840", which is tall enough that the schematic, sliders, readouts and both plots all fit without clipping. This is a dashboard-style lab, so on a narrow phone the panels stack into a single column — the tall height keeps that stacked layout from clipping. On a wider page the widget centres within its max-width of 720px.
- Where can I embed it — WordPress, Wix, Squarespace, Notion?
- Anywhere you can add HTML, because it is a standard iframe. In WordPress use a Custom HTML block; in Squarespace a Code/Embed block; in Wix an Embed HTML element; in Ghost an HTML card; in Notion paste the /embed/flywheel/ URL as an embed. On a plain HTML page or an intranet, paste the snippet straight into the markup.
- Does the embedded Flywheel Energy Storage Lab track visitors or set cookies?
- No. Everything runs locally in the visitor’s browser — nothing is uploaded. The embed sets no tracking cookies and sends no analytics, so it is safe to place on a privacy-sensitive site, an intranet, or a page for students.