Show HN: I made a Zero-config tool to visualize your code
111 lezhu 42 5/29/2025, 10:29:31 AM staying.fun ↗
I built Staying – a tool that instantly turns your code into interactive animations with no setup required. Just write or paste your code and hit "Visualize". No installs, no accounts, no configuration.
*Supports*: Python, JavaScript & experimental C++
Is there a way to run it locally? Maybe with docker?
—
If there is any way to make a small donation, buy you a coffee, I would.
It’s just a maybe, but what a fun maybe that would be.
:D
One small improvement, show the return values, not just the result, and somehow visualize if the function has not yet returned.
Maybe it's just because I'm used to debuggeres, but the vertical arrangement of variables and their values seems weird.
```python
```Maybe LSP integration for greater compatibility with languages would make this even more cool and useful!
Imagine visualizing a whole codebase with a tool like this.
This is a really cool tool.
In the Configuration box, for the Core Language selection, when I switched to c/c++, the example code didn't automatically update to a C/C++ example. At least not for me in Firefox.
However, if you want to visualize the codebase structure and reason about how coupling and design choices impact performance, static analysis becomes your friend.
If you're on .NET, you might consider joining our early testing campaign at Noesis.vision (https://noesis.vision). There are also a bunch of other tools—some more AI-based (like GitDiagram, DeepWiki), and others less or not AI-based and more language-specific (often IDE plugins). Let me know if you'd like to chat more.
This is what is really hard to figure out because you need to know 1) what is the business logic you actually need (and what tradeoffs can you make that would be acceptable given the product), 2) algorithm design, 3) how web apps scale things horizontally, 3) which things get performed on the cpu / memory versus a database, and more.
Instead of hoping for a tool that can do all of that at once, it would be nice if a tool could at least visualize (2) within an existing project to help a human who can keep those things in their head at one time to spot problem areas with code design / system architecture that wouldn't necessarily be revealed by simply looking at logging/APM tools.
BTW it might be an interesting feature for Noesis if it needs to be done during regular scans. Thanks for a tip ;)
Also, while cursor is now able to scan terminal server logs to see errors, it doesn't come "out of the box" hooked up to app performance profiling tools -- even just running locally. There probably are some MCP servers or something to do that but I haven't set that up. Really you would want the IDE agent to have a feedback loop that goes like "optimize {speed, resource usage} subject to the constraint of {unit/integration test}" and let it run asynchronously or overnight etc. (Of course, there are tons of times that LLMs will work themselves into a dead end loop, and it would be bad to indefinitely generate LLM API calls on a dead end overnight).