|
|
|
|
|
by rkoten
18 days ago
|
|
Very well written and presented, thank you! Reminds me of Bartosz Ciechanowski's works: https://ciechanow.ski If I may ask, what stack do you use for the inline interactive elements and would you choose anything different after having done it this way? |
|
I had no plans for inline interactive elements when I started out. It was just a plain static site using Astro, with my content in markdown files.
When I thought of including interactive elements, I saw that Astro supported MDX, which lets you embed custom JavaScript components. At the start I was just using plain JavaScript, SVG, and CSS transitions to do the animations, but as the simulations became more complex, I started using React to manage state better.