Show HN: A Spatial Environment for Python https://ift.tt/1Iqh7WX
Show HN: A Spatial Environment for Python 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 https://natto.dev (eg interactive outputs, multiplayer) so please check that out if this interests you. I'm excited to share this spatial environment for Python. Imagine Jupyter cells arranged on a 2D canvas. Some key differences from traditional Python notebooks: - By default, cells rerun whenever its code changes or an input reruns, like a spreadsheet! - Dependencies are explicit. There is no parsing or global scope. - Duplicate panes by option-dragging. This is a core interaction in design tools for exploring ideas. - State panes add interactive elements. Check out this scikit demo https://ift.tt/EBMLjCb... - 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. I would love to hear your feedback on any of this and your thoughts on new programming interfaces! https://ift.tt/Zr4m1fT May 9, 2022 at 10:57PM
No comments