Observable Playground
beta.observablehq.com
beta.observablehq.com
There have been many times in the past I wish I could preview the results of a computation when tuning parameters or data, and this allows me to do it and without restricting my expressiveness or domain. Note: I am predominately thinking of graphical and data exploration use cases.
An example where I think observablehq has allowed me to go beyond the status quo is my port of Wave Function Collapse https://beta.observablehq.com/@tomlarkworthy/wave-function-c... (early stages). I added the ability to mask individual tiles in the tilesets dynamically and the effect on the generated images is non-intuitive but very satisfying. Manually editing the tilesets in XML which is what the original requires would be too laborious, so its a domain where observablehq really shines. I have more work to make it truly idiomatic of observablehq but the sign that its a genuine force multiplier is there.
Is there any plan to adopt Language Server Protocol so at least users could get auto completions? But with the custom syntaxes to JS I guess Observable can't just use plain TypeScript Language Server.
But, of course we have a long way to go, especially relative to the VSCode/TypeScript ecosystem.
Here's the introductory post, explaining how you can download or link Observable notebooks as ES modules, and use the open-source runtime to evaluate notebooks or just render specific cells: https://beta.observablehq.com/@jashkenas/downloading-and-emb...
Here's an example of a toy notebook being embedded on another domain: http://ashkenas.com/breakout/
Finally, because Observable notebooks are of course, themselves, web pages, here's an example of a notebook embedding itself: https://beta.observablehq.com/@jashkenas/ouroboros-a-noteboo...
Word processors? Spreadsheets? PowerPoint? I see a shift towards interactive notebooks. So weird to me that this innovation of Mathematica took twenty-five years to gain traction, but yes please!
https://beta.observablehq.com/collection/@observablehq/libra...