Hi all! A little background: I've been working on natto.dev, a spatial environment for JavaScript. I'm really excited about new interfaces for code (leveraging metaphors we're good at, spatial reasoning, making state visible, design tools, etc). With all the buzz around PyScript, I discovered Pyodide and got it working inside natto. This Python version is a stripped down version of <a href="https://natto.dev" rel="nofollow">https://natto.dev</a> (eg interactive outputs, multiplayer) so please check that out if this interests you.<p>I'm excited to share this spatial environment for Python. Imagine Jupyter cells arranged on a 2D canvas.<p>Some key differences from traditional Python notebooks:<p>- By default, cells rerun whenever its code changes or an input reruns, like a spreadsheet!<p>- Dependencies are explicit. There is no parsing or global scope.<p>- Duplicate panes by option-dragging. This is a core interaction in design tools for exploring ideas.<p>- State panes add interactive elements. Check out this scikit demo <a href="https://python.natto.dev/example/de5cae3dfbcb43919981cc1420309756" rel="nofollow">https://python.natto.dev/example/de5cae3dfbcb43919981cc14203...</a><p>- Python execution happens in your browser as WASM via Pyodide (implementation detail, not design choice). This is currently a demo, not meant to replace your production ML notebooks.<p>I would love to hear your feedback on any of this and your thoughts on new programming interfaces!
> By default, cells rerun whenever its code changes or an input reruns, like a spreadsheet!<p>This is transformational — I’ve been using Pluto.jl a lot lately for prototyping library code and doing data analysis. Now when I work in python I find myself really missing that reactivity. The closest thing I’ve found is streamlit, which is cool but not quite as liberating IMO<p>Can’t wait to try it!
Can you give a brief background what "spatial" means in this context? I do not see a map, or projections. Is it pure spatial-"math" (e.g. geometries) etc.?
Nice tool !
IMO a self hosted option is mandatory for product adoption as python is often used to process data, which might be confidential enough to prevent the use of SaaS tooling from a not "Well Known" service provider...
> - Dependencies are explicit. There is no parsing or global scope.<p>I can't express how happy it makes me to read this! So many "modern" tools these days come with global state and force you to do lots of implicit dependency juggling. This makes it hard to test things, to read code, to re-use code… It's as if we have to keep re-learning the same lessons again, and again, and again…
Love the concept and design language! I had been thinking about making something like this for clojure for some time, but never got around to it. In my head I was thinking you would be able to drag in functions from libraries / other namespaces into the canvas. I'm gonna have to play around with this.
I love it, I am not sure yet what I am going to do with it but I definitely want to use it. I really love this kind of software and the execution focuses on the right spots.<p>This looks like the result of a lot of work, keep on !
A tangent: how hard would it be to integrate Elm into this? I think as a language it has a lot of teaching potential combined with natto.<p>One library that could be useful is elm-ta-interop maybe...
This is awesome, and I'd use it immediately if I could install it on a machine of mine.<p>One interesting thing to pursue may be memoization for block output (perhaps with limited slots or TTL).
Have you checked out "zooming" user interfaces?<p><a href="https://en.wikipedia.org/wiki/Zooming_user_interface" rel="nofollow">https://en.wikipedia.org/wiki/Zooming_user_interface</a>