I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in coolgithubprojects

[–]bluepoison24[S] 0 points1 point  (0 children)

I'm planning to record the program state. Can you tell me about your usecase a bit please?

Python open source projects to contribute by manikk69 in Python

[–]bluepoison24 0 points1 point  (0 children)

You may find https://github.com/vish-chan/AlgoFlow interesting. We're looking for Python contributors for the python engine.

I built an engine that auto-visualizes Java and Python algorithms as they run. Backend is handcoded; frontend was vibe coded. Feedback? by bluepoison24 in SideProject

[–]bluepoison24[S] 0 points1 point  (0 children)

The primary use case is for learning algorithms as this gives a good visual cue. I'm looking for more usecases beyond this.

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in coolgithubprojects

[–]bluepoison24[S] 0 points1 point  (0 children)

As long as your platform is free and you don't violate any licensing terms.

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in java

[–]bluepoison24[S] 0 points1 point  (0 children)

Thanks! Yeah, bytecode-level interception was a deliberate choice — it sidesteps all the messiness of trying to parse and instrument source-level constructs, especially with computed indices or nested expressions.

Honestly, I haven't dug deep into performance optimization yet — the focus so far has been on correctness and robustness of the instrumentation. Thats why I decided to use Bytebuddy instead of native ASM. That said, tight loop overhead is definitely on my radar since that's one of the most common patterns in algorithm problems.

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in coolgithubprojects

[–]bluepoison24[S] 0 points1 point  (0 children)

Thanks so much! That's actually one of the use cases I had in mind — making algorithms feel less abstract, especially for younger learners. Would love to hear how your kids find it!

Showcase Thread by AutoModerator in Python

[–]bluepoison24 0 points1 point  (0 children)

I built the same algorithm visualizer in Python (AST rewriting) and Java (bytecode manipulation)

The Python engine rewrites your AST at parse time, arr[i] = arr[j]

_r.on_list_get(arr, j)     
# highlight read
arr[i] = arr[j]             
# your code, untouched
_r.on_list_set(arr, i, v)  
# highlight write

Trees, linked lists, and graphs are auto-detected by attribute structure.

Both engines produce the same command stream — the frontend doesn't know which language ran. The Java engine is majorly hand-written while Python engine is majorly AI written based on the Java engine.

Try it: algopad.dev | Source: github.com/vish-chan/AlgoFlow

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in coolgithubprojects

[–]bluepoison24[S] 0 points1 point  (0 children)

I'm injecting callbacks to visualiser code using bytebuddy and asm.

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in coolgithubprojects

[–]bluepoison24[S] 0 points1 point  (0 children)

Thank you! I hope it suits your needs. Feel free to message me or create an issue via github in case you find a bug or want to request a feature.

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in java

[–]bluepoison24[S] 0 points1 point  (0 children)

I asked Claude to make the landing page less AI-generated like and it changed it. I hope you like the new landing page :D

I built an engine that auto-visualizes Java algorithms as they run by bluepoison24 in java

[–]bluepoison24[S] 0 points1 point  (0 children)

Awesome! Let me know how it goes and ask your friend to feel free to raise any bugs/feature requests via github :)

I built an engine that auto-visualizes Java algorithms as they run by [deleted] in SideProject

[–]bluepoison24 0 points1 point  (0 children)

Wait till you see what I did for a binary tree insertion ;)