Lately I've been transfixed with generating diagrams with LLMs. If you pipe generated JSON through a D3.js renderer, you can get pretty consistent SVG results with the smarter models.
This physics tutor prototype is an example of an application. For a couple premade scenes, you can ask it to make an FBD, decompose an angled force into components, run through the math of Newton's Second Law, or off-road and try and generate a FBD for a scene of your own description.
I previously made a similar example for electrical circuits: www.circuit-tutor.xyz
LLMs have been really fun for me to brush up on my favorite physics and engineering topics, but if they could diagram and even simulate systems while also being able to explain the math, I think it could be genuinely useful for learning concepts from scratch.
Would love any feedback on whether this, built out further with more diagram types and better UX, could be useful for people learning intro physics.
sriragvu•2h ago
andrewrn•2h ago
But for the most part, I’m trying to wait and gather feedback so I don’t make something useless (recurring problem lol).