Thaddeus

Three-Body Simulation Demo

An interactive demo of a three-body gravitational simulation in TypeScript and React.

Published on 6/1/2024

#physics#simulation#MDX#AG-UI

Interactive Writing is Coming

I recently came across this insightful writing on the transient period where we're currently building products with AI but mimicking the old ways of doing things, similar to how initial engine cars looked like horse carriages.

But I was also amazed at the usage of simple interactive apps within his blog post to drive his point. It made me aware of that with AI, interactive and customizable content (writing, podcasts, videos) is the future. Also, how the fuck did he do it?!

TLDR; MDX or Markdown-JSX

AI-Interactive Simulations

When it comes to writing, mixing media is not uncommon. We have:

  • Picture books
  • Audio books
  • Jupyter notebooks with interactive code
  • Online blogs with video or audio embeds

What if we could have simulations that one can speak and interact with? Here's an example:

Drag bodies to move them • Click empty space to pause/play • Adjust parameters above
Simulation Assistant

Need help with the simulation?