AI Prompt to Turn Any Science Lab Into an Interactive Animation (Free HTML Simulation)
You can make a free, interactive lab simulation with an AI prompt in about two minutes โ no coding, no software. Describe the lab in one line, then paste the prompt below into any AI assistant (ChatGPT, Claude, Gemini). You get a single HTML file โ and the easiest way to get it in front of students is to upload it to Sleedu, where it becomes a page in your course that every student can open from any device.
Make an animated simulation of this lab for my students: [baking soda and vinegar in a bottle with a balloon on top, on a scale]. Build it as one self-contained HTML file that works offline and inside a web page. You decide everything else: what to show, what students can change, how it looks. Explain your choices in two or three sentences when you are done.
Why this AI prompt works for lab simulations
This is the only technical thing you need to say. It gives you a single file with no outside links, which is exactly what Sleedu needs: upload it once and it runs for every student, on any device, with nothing else to install.
This gets you a better animation than a long list of instructions. The AI adds what an experienced teacher would add โ a live readout, a before-and-after, one thing students can adjust โ without you having to think of it.
This tells you what it built and why, so your next message can be one plain request: “make the balloon bigger,” “slow down the gas escaping,” “let them pick how much baking soda.” One change per message.
Put it on Sleedu
Once the file looks right, add it to your Sleedu course as a page. That is the whole deployment. Students open it from the course on a laptop, Chromebook, or phone; you can put it next to the lab handout so they watch the animation, then do the lab, then come back to check their numbers. Sharing with another teacher is one link, and updating the animation next year means replacing one file.
Compared to emailing a file or pasting it on a website, Sleedu keeps the animation where the rest of the lesson already lives โ with the handout, the notes, and the practice โ so students find it without being told where to look.
Reuse the prompt for any science lab
Change the one line in brackets. Everything else stays the same. It works for chemistry, physics, and biology labs: conservation of mass, heat transfer, dissolving, density, pendulums, osmosis โ anything with a setup, a change, and a measurement.
Frequently asked questions
Do I need to know how to code?
No. The AI writes the whole file. You open it in a browser and ask for changes in plain English.
Which AI can I use?
Any assistant that can write code: ChatGPT, Claude, Gemini, or Copilot. The prompt is the same.
Will it work on school Chromebooks without internet?
Yes. “Self-contained” and “works offline” mean the file has no outside links, so it opens anywhere a browser does.
How do I put it on Sleedu?
Add the HTML file to your course as a page. It is a single file, so nothing else needs to be uploaded, and students open it from the course on any device.
What if the animation shows the wrong thing?
Tell the AI the step that is wrong in one sentence โ “the scale should not change while the balloon inflates” โ and it will fix that step.

