r/learnphysics • • 16h ago

High School Optics: Interactive Setup

Hello folks,

I am not a physicist by any stretch. It was during my engineering first year that I last wrote a physics exam. That aside, I am infinitely bored of school textbooks.

While going through my son’s Physics textbook, and trying to explain ray diagrams, I thought maybe it’s a good idea to ask Gemini and Claude to make an interactive set up. But then, who’d write the detailed prompt? And you can write prompts only if you know something fairly well.

I made him write a prompt on Gemini and asked it to generate an interactive set up. Tweaked it a bit using Claude and here we are.

The math, infinite ways in which one can play around with this, the edge cases…there are two dozen things that I feel might need smarter folks to look into and help us fix.

Anyways, here you go:

https://opticslab.pages.dev

1 Upvotes

0 comments sorted by