Skip to main content

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

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/KCG58ls August 7, 2022 at 02:21AM

Comments

Popular posts from this blog

Show HN: Launch VM workloads securely and instantaneously, without VMs https://ift.tt/2QwJ1Kd

Show HN: Launch VM workloads securely and instantaneously, without VMs Hello HN! We've been working on a new hypervisor https://kwarantine.xyz that can run strongly isolated containers. This is still a WIP, but we wanted to give the community an idea about our approach, its benefits, and various use cases it unlocks. Today, VMs are used to host containers, and make up for the lack of strong security as well as kernel isolation in containers. This work adds this missing security piece in containers. We plan on launching a free private beta soon. Meanwhile, we'd deeply appreciate any feedback, and happy to answer any questions here or on our slack channel. Thanks! April 29, 2021 at 07:50AM

Show HN: Comment on live websites just like you comment on Google Docs/Figma https://ift.tt/GRhrjX0

Show HN: Comment on live websites just like you comment on Google Docs/Figma I'd love your feedback on this new JS plugin we launched. With this, you can comment on live websites just like you comment on Google Docs or Figma. You can use is to get Copy or UI feedback right on the website you are building. Feedback can be provided in rich formats like audio and video. You can get started by installing a JS tag in the footer of the website. You can then turn the review mode on or off on demand by adding “?review=true” to the URL. Demo video (43s): https://www.youtube.com/watch?v=cdnfBEw8TfI Demo video: https://www.youtube.com/watch?v=h6vxzXJuh8o https://ift.tt/ocLpdEu October 26, 2022 at 02:18AM