News for hackers. Stuff that matters.
Re:Desmos 3D graphing calculator (beta) by Kon-Peki on Thursday October 12, 2023 @04:09PM (#37862533)
Since you work at Desmos: is there any way to have animated variables start/stop based on the value of some other variable? Or functions that graph different formulas based on a conditional? Etc.

For example, variable X is continuously cycling between -10 and +10, but only when variable D is > 1. At my son's school, there is a kind of interactive demoscene going on using Desmos (they kids believe that the school cannot block Desmos from the Chromebooks, therefore they will always have it available).

Re:Desmos 3D graphing calculator (beta) by harmonium1729 on Thursday October 12, 2023 @04:47PM (#37862975)
Fun question. There are a couple options:

(1) the more straightforward (but less powerful) option is to use the dynamic bounds for a slider. Here, "a" is set to animate, but the bounds don't let it move if b=0: https://www.desmos.com/calculator/mqhhpso67r

(2) the more general feature that allows for complex scripting behavior is called "actions." Here's an example that uses that, where it's more of a genuine play/pause: https://www.desmos.com/calculator/gzqwx36lo0

It's a beta feature that needs to be enabled, but anyone can turn it on. More here: https://help.desmos.com/hc/en-us/articles/4407725009165-Acti...

Re:Desmos 3D graphing calculator (beta) by Kon-Peki on Thursday October 12, 2023 @04:54PM (#37863047)
Thanks! I will pass those on