Hacker News new | ask | show | jobs
by the__alchemist 16 days ago
What format do you have it build? PNG? Svg? Open document drawing? I am interested.
1 comments

I mostly use HTML, but it is much more flexible than what you would assume if you leverage some standard formats instead of building everything from scratch.

Mermaid, Graphviz and friends but in HTML pages.

Sometimes it is turning other things into perfetto.dev format for multi-machine tracking (like turn a build process into the same format as Chrome traces).

If you need more flexibility, you end up reaching for p5.js and three js (rather, tell the model to use it).

Once you're touching distance from WebGL, the equivalent of something you make can start looking like something from ciechanow.ski over a single weekend.

Ty v much! I gill give those a shot. I just yoloed one using D2 after brief research. Will keep exploring those.

What is your thought on D2 compared to those? GIven the WebGL mention (The one I'm familiar with), I suspect this is a matter of interactive vs static/diagrams. I assume the latter due to my own project which falls in that category!