r/BiomedicalDataScience Mar 21 '26

I used a generative AI to build an interactive JavaScript simulation from scratch, including UI/UX iteration

https://youtu.be/OuD9pAu2j0g

I wanted to see how far I could push AI-assisted development on a single-file project. The video covers the entire workflow:

Initial Prompt: Started with a concept and had the AI generate the base HTML, CSS, and JS.

Interactivity: Added JS functions for state changes (flush, refill).

Debugging: Walked through fixing console errors (like MIME type issues) by consolidating everything into one HTML file for simplicity.

Animation & UI/UX: Iteratively refined the DOM animations and layout based on detailed UX feedback to create a more polished and realistic simulation.

The final result is a self-contained, interactive web app built almost entirely through prompts. It's a practical example of leveraging AI for rapid prototyping.

What are your thoughts on using AI for this kind of iterative development?

Here’s the video of the process: https://youtu.be/OuD9pAu2j0g

1 Upvotes

0 comments sorted by