RandomSimulation - Text to Simulation
RandomSimulation generates fully self-contained, runnable web simulations on demand. Simulate anything from simple particle systems to games and demos. It returns a complete HTML/CSS/JS page that renders in real time.
The web version uses an API LLM; the offline app requires Ollama installed and is fully local and private.
How it works
- Type a prompt describing the simulation you want. Press enter. Be detailed for better results.
- The simulation is automatically rendered in real time.
- Code is streamed, highlighted, and can be copied.
- The Random button will generate a Random Simulation.
- Each simulation costs money for RandomSimulation to make. If you enjoy RandomSimulation please consider donating to support it using the donate button below.
Safety & Responsibility
Acceptable Use: RandomSimulation is a creative tool. You must not use it to generate content that is illegal, dangerous, sexually explicit, hateful, or abusive. Any misuse of the API to generate such content is strictly prohibited.
Liability: You are solely responsible for the prompts you enter and the simulations you generate. The creator of RandomSimulation.com assumes no liability for user-generated content.
FAQs
- What can I simulate? Anything (within legal/safety limits). Examples:
- Neon Particle simulation.
- Matrix rain effect with random green characters streaming down the screen.
- An aquarium simulator with add fish button, reset button, click to feed the fish. Beautiful graphics. - Can I save simulations? — Yes, click the copy button and paste it into an editor or notepad. Run the file in a browser by opening it or dragging and dropping.
- Why didn't my simulation work?? It fails a lot, LLMs make mistakes. They are getting better all the time.
- What do you do with my simulations and data? I don't see or collect any code or simulations you generate. The code is generated by a LLM provider on their servers and they send it to your browser to render on your computer. See cookie and privacy policy for details.
Download Offline App
Windows installer. Runs fully offline, only dependency is Ollama. Best for privacy.
Linux user or want to see the source code? Get installers on GitHub Releases or visit the repo: github.com/Random-Simulation/RandomSimulation.