Live data from Hacker News

Desmos 3D graphing calculator

desmos.com

21–30 of 87 posts

Re: Desmos 3D graphing calculator

#21

Desmos is the best, free (as in cost) and easily accessible graphing calculator out there. I wish it was opensource though. I've even tried to make an alternative and it's really hard to match their functionality (or I'm just inexperienced). I hope an opensource alternative crops up. Edit: Seems there has https://www.geogebra.org/

I've been using Geogebra since it was recommended to me by my high-school math teacher, what feels like almost a century ago.

It never disappointed!

Desmos looks like a solid spiritual successor, if it wasn't closed source.

Re: Desmos 3D graphing calculator

#22

Well it passes the sin(x)sin(y)sin(z)>0.1 test Edit: also sin(x)sin(y)sin(z)+0.1sin(10x)sin(10y)sin(10z)>0.1 https://www.desmos.com/3d/85d41ad6c6

ENH: desmos [3d]: Support complex exponents; with i and/or a complex() function

Test equations for geogebra:

    equation -- what I think it looks like
    xi^2 -- Integer coordinate grid
    e^xπi -- Unit circle with another little circle also about the origin (0,0)
    e^(πi^x) -- crash / not responding: a(x)=e^(πi^(x))
                though it seems to work with x in Z+
    e**(x*pi*I)

    e^(x π i^π) -- somewhat scale-invariant interposed spirals around a single point attractor. (Zoom in/out)
Only SageMath preprocesses Python to replace XOR (^) with exp() or **, so:

  f(x) = x^2
  g(x) = x**2  # Python
  h(x) = exp(x, 2)
  x**2         # SymPy Gamma, Beta

  x**math.pi   # Python: 3.141592653589793
  x**pi        # SymPy: π

  x**1j        # Python
  x**I         # SymPy

  x**(1+I)    # BUG/ENH: Plot complex expressions with SymPy

  import sympy as sy
  display(sy.E, sy.I, sy.pi)
  from sympy import E, pi, I
  x,y = sy.symbols('x,y', real=True); display(x,y)
  eq01 = sy.Eq(y, E**(x*pi*I)); display(eq01)
  eq02 = sy.Rel(y, E**(x*pi*I), '=='); display(eq02)
  func01 = sy.Function('f')(E**(x*pi*I)); display(func01)
  func02 = sy.Function('f')(eq02.rhs); display(func02)
  assert eq01 == eq01
  assert func01 == func02

  import unittest
  test = unittest.TestCase()
  test.assertEqual(eq01, eq02)
  test.assertEqual(func01, func02)
Sympy Gamma: https://gamma.sympy.org/

Sympy Beta is SymPy Gamma compiled to WASM: https://github.com/eagleoflqj/sympy_beta

What methods for visualizing complex coordinate(s) are helpful? You can map the complex coordinate into e.g. the z-axis; or is complex phase - as is necessary to model [qubit] wave functions psi - just another high-dimensional dimension to also visualize?

Re: Desmos 3D graphing calculator

#24

Wow this is painfully slow, the CPU usage for rotating the scene is insane, I can't look at the code right now but wow.. I expect better from them EDIT: If you are using Chrome, make sure you are on the latest version, the latest v118 fixed it for me

Curious - do you have hardware acceleration disabled? Rotating the scene shouldn't be hammering the CPU if hardware acceleration is enabled. [disclaimer: I work at Desmos]

I was using Chrome 117, looks like there was a new 118 update, it now is butter smooth!

Looks like 117 was just broken

Re: Desmos 3D graphing calculator

#25

Desmos is the best, free (as in cost) and easily accessible graphing calculator out there. I wish it was opensource though. I've even tried to make an alternative and it's really hard to match their functionality (or I'm just inexperienced). I hope an opensource alternative crops up. Edit: Seems there has https://www.geogebra.org/

Desmos does have a Github page, but unfortunately the main codebase is not public. Their API docs are well written, though, so it's really easy to embed Desmos into your site.

[^1]: https://github.com/desmosinc

[^2]: https://www.desmos.com/api/v1.8/docs/index.html

Re: Desmos 3D graphing calculator

#26

Earlier quoted context omitted.

Curious - do you have hardware acceleration disabled? Rotating the scene shouldn't be hammering the CPU if hardware acceleration is enabled. [disclaimer: I work at Desmos]

I was using Chrome 117, looks like there was a new 118 update, it now is butter smooth! Looks like 117 was just broken

Nice! Really good to know. We'll add that to our list of device/browser combos that might cause trouble so that at minimum we can warn folks. It's an early beta so we're enthusiastically collecting any examples (system configurations and also graphs) that cause problems, so if you see anything amiss we'd love to hear about it (feedback@desmos.com). [disclaimer: I work at Desmos]

Re: Desmos 3D graphing calculator

#27

Wow this is painfully slow, the CPU usage for rotating the scene is insane, I can't look at the code right now but wow.. I expect better from them EDIT: If you are using Chrome, make sure you are on the latest version, the latest v118 fixed it for me

[deleted]

Re: Desmos 3D graphing calculator

#29
post #5

Earlier quoted context omitted.

I've been using GeoGebra for years. I have tried Desmos twice but couldn't immediately spot the differences. What are the benefits of Desmos over GeoGebra?

Desmos has a far smoother UI. Geogebra will often convert equations into its own format after clicking away from the equation editor, and if you mistyped or want to change the structure you must erase and re-type the whole thing—for example, typing f(x) will convert the equation into its own format where you can't edit parameters or the function name. Desmos leaves your input as text, allowing you to change input at…

> frustration was expressed with Geogebra where missing a parenthesis forced you to re-type the entire equation since it often assumed the bulk of your equation was a parameter, and there was no way to correct it.

I believe this may simply be a case of not knowing Geogebra well, or it's simply caused by differences in taste/being accustomed to a single user interface. In my experience, Geogebra offers the ability to edit the source of any object after selecting its settings. So it was just two clicks away.

This is Geogebra the Electron app, though, I think there's also a Web app and I think there was also a Java app some time before.

Re: Desmos 3D graphing calculator

#30

Wow this is painfully slow, the CPU usage for rotating the scene is insane, I can't look at the code right now but wow.. I expect better from them EDIT: If you are using Chrome, make sure you are on the latest version, the latest v118 fixed it for me

Smooth as butter here, instant changes and fast rendering. v117.0.5938.152
Post reply on HN