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

Show HN: rtrvr.ai – AI Web Agent for Automating Workflows and Data Extraction

Hey HN, I'm excited to share rtrvr.ai, a Chrome extension that brings the power of AI agents to your everyday web browsing. It's de...