Desmos API v1.6 released

94 views
Skip to first unread message

desmos-api-announce

unread,
Apr 15, 2021, 4:50:53 PM4/15/21
to desmos-api-announce

Desmos is very happy to announce the release of version 1.6 of the Desmos API. 

This release is part of our scheduled release cycle, and we recommend all users upgrade to this version. Benefits of upgrading include:

  • remaining consistent with what students see on high-stakes tests where Desmos is embedded in the test platform.

  • offering an experience for students in your product similar to the one at desmos.com.

  • ensuring the best interaction with the latest browsers and platforms.

We will help all of our partners upgrade to version 1.6 in a timely fashion. Please email Chris Lusto (ch...@desmos.com) or Jason Merrill (ja...@desmos.com) with any questions. 

These technical release notes are intended for developers who incorporate the Desmos API into their own applications. We ask kindly that you not forward this email to your customers. If you’d like a user-facing summary to send to your customers (districts, teachers, etc.), or for other product inquiries, please contact your partner representative or email partne...@desmos.com.

New Features:

Version 1.6 contains a suite of updates for creating more interesting and powerful visualizations and animations in the graphing calculator. It also includes a new interface to an important accessibility feature and improved internationalization.

  1. Dynamic styles and colors. The graphing calculator now allows users to set many styles—opacity, line width, point size, label rotation—using dynamic expression values.  There are also two new functions, rgb() and hsv(), which can be used to create any color in the RGB and HSV color spaces.

  2. More powerful list features. It is easier than ever to inspect, combine, and manipulate lists in the graphing calculator. New sort(), shuffle(), and join() functions allow users to reorder list values or merge smaller lists into larger ones. List access syntax has been extended to support slicing, filtering, and otherwise returning multiple list values from a single expression.

  3. Audio trace keypad. Audio trace is no longer a keyboard-only feature. The graphing calculator’s on-screen keypad now includes a menu that provides a graphical interface to audio trace so that it is both easier to discover and accessible on touch devices.

  4. Professional translations. Previous versions of the calculators relied on crowd-sourced volunteers for localization. As of API v1.6, all supported languages are backed by professional translators, offering greater accuracy and coverage.

  5. Outliers in boxplots. When creating a boxplot in the graphing calculator, users may choose whether the whiskers should extend to the absolute extrema of the data, or whether outliers (more than 1.5 times the interquartile range from the upper/lower quartile) should be plotted separately.

  6. Arithmetic on points. The graphing calculator now allows users to perform vector arithmetic—addition, subtraction, and scaling—directly on ordered pairs.

New API Features:

  1. The brailleControls constructor option in the graphing, scientific, and four-function calculators can be used to remove the calculator’s braille mode buttons and hot keys in case you want users to set a Braille mode through your own interface.

  2. The forceLogModeRegressions option will cause the graphing calculator to enable “log mode” for all linearizable regression models and hide the log mode checkbox from users. See this support article for more information about how log mode changes the strategy the calculator uses for fitting regression parameters.

  3. New pointSize, pointOpacity, lineWidth, and lineOpacity properties that may be set via GraphingCalculator.setExpression() to control the plotting styles of expressions.

  4. There is now a 'fraction' option for additionalFunctions in the four-function calculator. When in use, a button will be added to the keypad to allow the creation of fractions and mixed numbers.

  5. The GraphingCalculator.removeSelected() method and the GraphingCalculator.selectedExpressionId observable property offer more control and information regarding the currently selected expression.

Reply all
Reply to author
Forward
0 new messages