paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
paulshen's comments
paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
For art browser, I assume you're referring to the JavaScript example https://natto.dev/example/f33b7f5924634fb687a90d85ed03f289
paulshen | 3 years ago | on: Show HN: A Spatial Environment for Python
This is a tech demo of what a Python spatial notebook could look like. It's a stripped down version of natto (eg interactive outputs, multiplayer) so please check that out if this interests you!
paulshen | 3 years ago | on: Prototyping a Logo programming environment inside natto.dev [video]
paulshen | 4 years ago | on: Infinite Mac – Mac OS 8 emulator
paulshen | 4 years ago | on: Infinite Mac – Mac OS 8 emulator
paulshen | 4 years ago | on: Dendron: A personal knowledge management solution built on VS Code
paulshen | 4 years ago | on: Egui: An easy-to-use immediate mode GUI
https://gist.github.com/paulshen/b04db68c754f73e693cd29a481c...
`update` is similar to React's render function except here it's being called on every interaction (eg mousemove tick) and redrawing the entire screen from scratch! The code runs so fast that this is fine from a perf standpoint. Note that egui has a reactive or continuous mode. You can rerender everything from scratch 60fps (continuous mode) and it'd be fine in most cases.
paulshen | 4 years ago | on: Egui: An easy-to-use immediate mode GUI
Couple things I built with egui: https://artifacts.bypaulshen.com/rust-gui/code-render/ https://artifacts.bypaulshen.com/rust-gui/tictactoe/
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
Agree about undo/redo! on the todo list.
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
I've seen https://reactflow.dev/ but haven't used it myself. The core drag interaction is not much code but feel free to reach out on twitter. happy to share more!
paulshen | 5 years ago | on: Natto.dev – A Canvas for JavaScript
Mousewheel should pan! You can hold down spacebar to pan anywhere (also dragging). Clicking the 100% in the toolbar lets you zoom. Some more shortcuts here https://twitter.com/_paulshen/status/1381744260945379331
Which example isn't working for you? and I plan to add more examples (maybe community?) and interactive tutorial in the future!