Interactive Box2D demo inside a Medium-style blog

1 pointsposted 7 hours ago
by trungld

1 Comments

trungld

7 hours ago

Hi HN

We've been working on Notebook.link( https://notebook.link), a Medium-style blogging platform that lets posts include live, interactive code.

The demo linked here is a Box2D physics simulation running entirely in the browser. Everything executes via WebAssembly, so there’s no installation or backend required.

Posts are authored in Jupyter notebooks, which means authors can seamlessly mix narrative text, plots, widgets, and executable code. Authors can write in Python, C++, R, and Octave, and manage packages and dependencies directly in the browser for each post.

It’s designed to be free to write and share your content, while letting technical articles retain the “live” aspect that usually gets lost in screenshots or static code snippets.

The source code of this blog: https://notebook.link/@DerThorsten/jupyter-games

I’d love feedback on usability, security concerns, and ways to make the experience smoother for readers and authors alike.