Live data from Hacker News

Desmos 3D graphing calculator

desmos.com

61–70 of 87 posts

Re: Desmos 3D graphing calculator

#61
post #34

This is fantastic! So easy to move, zoom and rotate the graph with exactly the mouse buttons you'd expect. In most even commercial math packages this is always super clunky

How does one move with the mouse? I could only find gestures for rotation and zoom; for movement I had to resort to manually entering coordinates in the settings.

Translating looks not possible, I shouldn't have said 'move' in my list. At least you can add constants in the formula to move...

Re: Desmos 3D graphing calculator

#63
post #41

Can someone here explain how this works? I'm not sure how reliable it is, but here's[1] an old Reddit comment describing the method that Desmos (2D) uses. That method works in 3D, so maybe Desmos 3D uses it, too. [1]: https://www.reddit.com/r/desmos/comments/qlhmbc

After playing a bit with it, it looks like some variant of the marching cubes algorithm, and it looks recursive, as expected. Same as your Reddit thread but in 3D.

There are most likely a bunch of optimizations, but I can't think of another way of doing it. There are raytracing/raymarching techniques too, but these look different, and they are most likely cost prohibitive for arbitrary function. There is the marching tetrahedra algorithm too, but I doesn't look like it and don't see a reason to use it now that the patent for the marching cubes algorithm has expired.

Re: Desmos 3D graphing calculator

#64
post #35

There are a bunch of YouTubers making Desmos animations. I haven’t played with it myself, but always find it fascinating with what people come up with. https://youtu.be/4_8eY_Ij-5k

This is like a new generation of demos, and I'm equally impressed and humbled by the creations.

Explanation of the above video: https://www.youtube.com/watch?v=6tBkJhmpfFc

Re: Desmos 3D graphing calculator

#65
post #35

There are a bunch of YouTubers making Desmos animations. I haven’t played with it myself, but always find it fascinating with what people come up with. https://youtu.be/4_8eY_Ij-5k

and here I was having fun spinning the camera around with `xy`...comments section once again delivers.

Re: Desmos 3D graphing calculator

#67
post #57

Thank you to whomever thought about gimbal lock when designing the rotate controls.

We're all Quaternionerds now.

If you appreciate quaternions for what they can do for you, but also find them frustratingly unintuitive/ugly, then you may be interested in bivectors (https://bivector.net/) and geometric algebra more broadly. They're equivalent in power, but suddenly everything actually makes sense!

Re: Desmos 3D graphing calculator

#70
Our math lab teacher in high school made us create a 2d functions representation on an infinite cartesian chart, with integrals and derivatives. Then I extended the program to print 3D functions with rotations and rainbow colours.

Was a great project in C#, since it all started with a dot on a canvas, and all the rest of things was composed extending the base objects.

(x^{2}+9/4y^{2}+z^{2}-1)^{3}-x^{2}z^{3}-9/(80)y^{2}z^{3}=0

Post reply on HN