KGraph, a GPU-accelerated graph plotter
Have you ever lost your mind at Desmos or Geogebra for occasionally being so god-damn slow and laggy? I have and, as a result, decided to make my own, GPU-accelerated (webgl2) graph plotter that renders equations, shaded plots, etc. with butter-smooth framerates. Equations we are used to think as unplottable (with usable real-time performance), like for example `e ^ (sin(x) * x ^ 2 * cos(y)) = cos(e ^ (x * y))`, will render just as smoothly [0] as something simple, like `y = x ^ 2`. Goals: * Rendering (almost) any equation without performance problems * Enabling acquiring new insights from…
What it does
In the maker’s words, at launch
Have you ever lost your mind at Desmos or Geogebra for occasionally being so god-damn slow and laggy? I have and, as a result, decided to make my own, GPU-accelerated (webgl2) graph plotter that renders equations, shaded plots, etc. with butter-smooth framerates. Equations we are used to think as unplottable (with usable real-time performance), like for example `e ^ (sin(x) * x ^ 2 * cos(y)) = cos(e ^ (x * y))`, will render just as smoothly [0] as something simple, like `y = x ^ 2`. Goals: * Rendering (almost) any equation without performance problems * Enabling acquiring new insights from being able to closely interact with complicated equations * Having an intuitive, easy-to-use and not-buggy interface Non-goals: * Being a general-purpose CAS software KGraph is under active development, and features such as parametric equations are coming in the near future! Thank you for your feedback! [0]: https://kaapporaivio.fi/graph/?d=camera%3A%28current%3A%28x%...
Does the same job
all alternatives →- CACandyGraph, a flexible, fast-by-default WebGL plotting library2021 · github.com · ▲94
- ASA simple infinite world in WebGL2016 · erkaman.github.io · ▲181
- VOVizzu – Open-source charting library focused on animating charts2021 · lib.vizzuhq.com · ▲115
- AAAn animated graphing calculator implemented in a pixel shader2020 · fofpx.com · ▲30
- GNGraphicsJS, New Powerful Free Open-Source JavaScript Graphics Library2016 · graphicsjs.org · ▲124
- G3Graphosaurus – 3D graph viewer written entirely in JavaScript powered by WebGL2015 · github.com · ▲12
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 26d ago · baselashraf81.github.io
Launched alongside, March 2023
the whole month →




- BI
I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs. In Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised. So here are the episodes sorted by library code. It's fun to explore. Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition. At the same time I…
AI · 2023 · genmon.github.io