Better HN
topnewbestaskshowjobs
Log inSign up

harmonium1729

74 karma · joined Oct 1, 2014 (12y ago) · 7 submissions

Submissions

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

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]

comment 3y ago · link · parent

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]

comment 9y ago · link · parent

Despite knowing LaTeX, this is much more intuitive for me when communicating in plaintext. It just matches how I'd write it anyway. In an email I'd always use 1/2 or (f(x+h)-f(x))/h over their LaTeX alternatives.

If, however, the goal is to more easily edit LaTeX -- especially for folks who are less confident with LaTeX -- I suspect WYSIWYG is frequently a better option. MathQuill (mathquill.com), for example, is a fantastic open-source WISYWIG editor for LaTeX.

Disclosure: we use MathQuill heavily at desmos.com, where I work, and have contributed to its development.

comment 10y ago · link · parent

Not natively (yet), but here's a 3D graph someone made: https://www.desmos.com/calculator/6uhmnazdo0

[disclaimer: I work at desmos]

comment 11y ago · link · parent

Yeah - I think it'd take some serious chops to construct this from scratch (note: it wasn't me! author: twitter.com/teachwithcode). But I've been having a blast deconstructing the equations.

Here's a fun intermediate step (circles instead of hearts), with a few of the numbers parametrized as sliders:

https://www.desmos.com/calculator/irg4qa2s4h

[disclaimer: I work at desmos]

7.

Show HN: A Sierpinski Valentine in 4 equations(desmos.com ↗)

72 points · by harmonium1729 · 11y ago · 10 comments