AI template

Make a science or math simulation with AI

Say what to simulate and for which grade, and the AI makes a page where students move sliders and watch what changes.

science-simulation.html
A simulation of a ball thrown at an angle, with its flight path drawn on a height and distance chart
An example Convika made with this template

Example: Science or math simulation

Convika made this page with the template. It works, so try it.

Make your own

Convika's AI makes your own tool in the example's format, fitted to what you write. Try it on your phone right away, no account needed.

Leave it empty and you get the same format on a new theme.

You don't need an account to try it. What you make is a preview that works for a few minutes.

Making it here is free and uses no AI credits. Once you sign up, each page the AI makes in your dashboard uses 1 credit, and new accounts start with 10.

A page where students change the conditions with sliders, such as a pendulum's length, a ball's launch angle, or a wave's frequency, and see the motion and the numbers change at once. Project it in class, or let students try it on their own devices.

It comes with a few questions so students can predict before they try. It uses no logins, and values set with the sliders are never sent. On a page published on Convika, the text of each button pressed, such as "Start" or "Moon", is recorded as a click.

How it works

  1. 1

    Say what you want

    Write what to change from the example: the subject, how many, the colors. Tap an idea to start from it.

  2. 2

    The AI makes the page

    Convika's AI writes the page in a few minutes, and you see a preview. Ask for changes in plain words until it's right.

  3. 3

    Publish and share the link

    Publish the page to get its own address, then share it on X, LINE, or in class.

What it costs

Making a page uses 1 AI credit, and each change you ask for uses 1. A new account starts with 10 credits, so you can try a template without paying. Publishing on the Free plan is free.

Don't use the names, images, or text of existing shows, games, characters, or brands. The AI makes an original page on the same theme.

Use these instructions with ChatGPT or Claude

This is the template's description of its example, as Convika's AI gets it. Write what you want on the last line, paste it into ChatGPT, Claude, or another AI, and it writes the page as one HTML file.

Make a science or math simulation page where students can explore "a ball thrown at an angle: launch speed, angle, and how far it goes".

- For: Grade 10 physics (if not given, explain it in words a 13-year-old can follow)
- Wording: plain English
- On the first screen, a canvas (or SVG) that draws the motion, and 2 to 4 sliders for the conditions. Each slider shows its name, its current value, and the unit; moving it changes the motion and the numbers right away.
- "Start", "Pause", and "Reset" buttons. Draw the motion with requestAnimationFrame, and stop it while paused.
- Show the result as numbers, and a graph too where it helps (canvas or SVG), with each axis named and its unit.
- Use only correct formulas and laws. Under the simulation, show the formula used and what it simplifies (for example, no air resistance).
- 2 or 3 questions that let students predict before they try, such as "What happens if you make the length 4 times longer?"
- On a phone held upright, the drawing goes on top, with the sliders and buttons under it. The canvas fits the screen width, with no sideways scrolling.
- Every slider and button is at least 44px tall (min-height: 44px; with Tailwind, min-h-[44px]).
- No logins, and the values students try are never sent anywhere.

Write it as one HTML file with the CSS and JavaScript inside. Don't send anything people type anywhere, and don't use image files. Make it work on a phone held upright. Keep the bottom right of the screen clear: a Support button may show there.

That is the example. Keep how it works, its screens, and its feel, and change the content to fit what I want.
What I want: ___

Questions

What can I simulate?

Anything where changing a condition changes the result: a pendulum, a thrown ball, waves, a spring, a lever, light bending through water, or the graph of a function. One idea per page keeps it easy to use.

Are the formulas and results right?

The AI is asked to use only correct formulas and to say on the page what it simplifies. It can still make mistakes, so try a few values and check the results before you use it in class.

Can I change the page after it's made?

Yes. Ask the AI for changes while you look at the preview, such as "add a slider for the mass". Each change uses 1 AI credit.

Other templates

  • Class team quiz

    Enter a subject and topic, and the AI makes a team quiz page you can project in class.

  • Personality test

    Pick a theme, and the AI makes a personality test page: a few questions, a result type, and a link to share it.

  • Flashcards and quiz

    List the words as front / back, and the AI makes flashcards you can flip plus a multiple-choice quiz.

  • Memory match

    List the pairs, and you get a memory game page where players flip cards to find matching pairs.

  • Reaction time test

    You get a game page that measures how fast people tap when the screen changes, in milliseconds.

  • Catch game

    Choose what to catch and what to dodge, and you get a game page where things fall from the top of the screen.

  • Timer, calculator, or tracker

    Pick a timer, a calculator, or a tracker and say what it's for, and the AI makes a tool page that's ready to use as soon as it opens.

  • Event page and sign-up

    Write the event's name, date, and place, and the AI makes a page that announces it and takes sign-ups.

  • Shop menu and info

    Write your shop's name and menu, and the AI makes a page that shows the menu, prices, and hours clearly on a phone.

  • 1 in how many? roll

    List some traits and their options, and you get a page that rolls a random combination, works out how rare it is, and lets players share it.

  • 10-second score attack

    Pick the emoji to tap and the time limit, and you get a game page where players tap pop-up targets for the highest score.

  • Quiz battle

    Write the questions or name a theme, and you get a timed four-choice quiz page where fast answers score more and players share their score to challenge friends.

  • Stack tower

    Pick the emoji that rides on top and the difficulty, and you get a game page where players tap to stack moving blocks as high as they can.