News for hackers. Stuff that matters.
Re:Show HN: KGraph, a GPU-accelerated graph plotter by mkl on Monday March 27, 2023 @08:30AM (#35325824)
Copy and paste actually works fine with MathQuill. It copies as Latex code, and accepts other Latex code pasted in (within its limitations).

Do you handle explicit and implicit plots differently, or treat everything as implicit?

Re:Show HN: KGraph, a GPU-accelerated graph plotter by kaapipo on Monday March 27, 2023 @09:56AM (#35326718)
But what if the user wants to paste non-latex code? But yes, I agree that it would have benefits.

Explicit functions are turned into implicit ones by rearranging (and adding a `y = ` to the beginning if necessary). This way the shader code is the same