Saturday, August 6, 2022

Show HN: A Gauss-Seidel solver visualization in a single HTML file

Recently I was reading about fluid simulation and stumbled upon the Gauss Seidel method. I got interested in how it works and made a program that visualizes the method in action.

I had the idea of making an interactive book-like thing for a while, so took this as a chance to do just that.

Note that touch input doesn't work and the layout is targeted towards bigger screens, so it doesn't function properly on mobile.

It was fun to make and I wanted to share it. Maybe someone will find it useful. Corrections and feedback are welcome.

Technical Stuff - A single 1.7MB HTML file with embedded JavaScript and WebAssembly. You can save this single file and double click it to run. - A math typesetter from scratch in C that compiles/renders the equations in real-time (uses KaTex fonts and STB true type to rasterize the fonts). - Platform code is done using Sokol (tested on windows and web). - The UI is done using Dear ImGui (Most of the code is done in C++ to use ImGui without a wrapper except for the equations compiler).


Comments URL: https://news.ycombinator.com/item?id=32371246

Points: 2

# Comments: 0



from Hacker News: Newest https://ift.tt/dE6jkZW
via IFTTT

No comments:

Post a Comment

Multimodal embeddings for interleaved text and images

Article URL: https://docs.voyageai.com/docs/multimodal-embeddings Comments URL: https://news.ycombinator.com/item?id=42020484 Points: 3 #...