Show HN: A Gauss-Seidel solver visualization in a single HTML file https://ift.tt/62quvgL

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). https://ift.tt/ThN78Vo August 7, 2022 at 03:21AM

Komentar

Postingan populer dari blog ini

Show HN: Interactive exercises for GNU grep, sed and awk https://ift.tt/OxeFwah

Show HN: Create demos & guides just with a simple prompt https://ift.tt/HfWo3mz