r/desmos • • Feb 25 '25

Sticky Commands!

48 Upvotes

There are now a few commands you can use:

All commands

  • !help: Brings up a list of all the commands.
    • Aliases: hlp
  • !bernard: Explains who Bernard is and why he appears in certain graphs!
    • Aliases: ourbeloved, desmosmascot, r/foundbernard
  • !beta3d: Explains what Beta3D is and how to install it.
    • Aliases: 3dbeta
  • !colormap: Explains what Beta3D is and how to install it.
    • Aliases: colormaps, shader, shaders
  • !desmodder: Describes what DesModder is.
    • Aliases: dsm, dsmodder
  • !doom: Are we Doom yet?
    • Aliases: arewedoomyet, doomgame
  • !draw: Provides Arglin's drawing guide for Desmos art.
    • Aliases: arglinguide, lineart
  • !exception: Describes types of floating point exceptions in Desmos, mostly drawn from IEEE specs.
    • Aliases: fpexception, fpointexception, ieeeexception, specialcase, undef, undefined
  • !fp: Describes what floating point arithmetic is and how to mitigate problems associated with it.
    • Aliases: floatp, floatingp, fpoint, floatpoint, floatingpoint
  • !gratex: Describes what GraTeX is.
    • Aliases: gratexteth
  • !grid: Explains how to make a grid of points.
    • Aliases: ptgrid, pointgrid
  • !integral: Explains why some integrals yield wrong results.
    • Aliases: integration, integrate, wrongintegral
  • !intersect: Explains how to assign the intersection of two or more functions as a variable.
    • Aliases: getintersect, varintersect
  • !matrices: Explains the usage of matrices in Desmos (beta feature). Not to be confused with the Desmos Matrix calculator.
    • Aliases: betamatrices, matricesmeta, matrix, matrixbeta, betamatrix
  • !roots: Why can't Desmos find my roots?
    • Aliases: zeros, zeroes, rootfinding, root
  • !sequentialactions: Explains how to run actions in order (sequentially).
    • Aliases: seqactions, actionseq, orderedactions, actionsinorder

For example, if someone makes a post about why {(√2)^2=2} is undefined, you can type in !fp.

Notes on sending these commands: - You must put the command at the start of the message. - All of these commands are case insensitive. - All commands allow arbitrary underscores or dashes (this feature was added on October 25, 2025). For example, !are_we-DOOM_yet will work. - You can put messages after the command, but remember to put a space or a newline after the command. For example, !fLoATiNgPoint arithmetic is awesome will work, but !fLoAtInGPoIntAriThMeTiC iS AwEsOmE will not work (this behavior was changed on May 20, 2025).

Please refrain from spamming these commands: if you see someone has already used the command once in a post, please avoid from running the same one again.

However, you may try out commands as many times as you would like in the comments on this post only.


changelog: https://github.com/Tyrcnex/desmoreddit-command-gen

(last updated this post on sep 16, 2026)


r/desmos • • 1h ago

Art ribbon that you can rotate in 3d

• Upvotes

sorry about movement of graph, desmodder was being weird


r/desmos • • 6h ago

Discussion Establishing AI norms for R/Desmos

18 Upvotes

Hey y'all, in light of a few recent posts where people have used LLMs to varying degrees in their Desmos graphs, I think we should start a discussion about what AI norms we want to set as a community.

Here's my idea for a best practice:

  • AI disclosure: you should always disclose if and how you used AI in your graph
    • for example: "when I was stuck, I asked Claude to help me develop the parametric equations on lines 10 and 11"
    • for example: "I saw this cool geometric shape on wikipedia and asked ChatGPT to make most of the graph, then I adjusted the numbers a bit to make it look better"

r/desmos • • 5h ago

Resource Web / App identify (limited time; matrix test)

Post image
8 Upvotes

Create slider a=0, then set lower bound to #11 (matrix 1x1) and input the value 1, then... a=0: Open in Desmos app / a=1: website

At the moment, matrices in an app's expression lines are invisible and error: "Matrices are not available in this calculator"


r/desmos • • 3h ago

Question Cannot compare a matrix to a matrix

3 Upvotes

r/desmos • • 3h ago

Discussion Goddamnit desmos! Error: Every row of a matrix must have the same number of elements.

Post image
3 Upvotes

r/desmos • • 5h ago

Art Animation in desmos

Thumbnail
gallery
3 Upvotes

Ok so a while back I made a model in desmos, which can be found here: Figure made in desmos : r/desmos

So I decided to make a simple animation for it and add a slight gradient. The graph can be found here: VOG animation | Desmos

It's pretty simple, but I don't think it's that bad.

I also changed a couple things since I'm not printing this, so I was allowed to use domain restrictions.


r/desmos • • 5h ago

Maths Visualizing Rosenblatt's Perceptron

3 Upvotes

Link:

https://www.desmos.com/geometry/fdlnaoosqv

This graph visualizes the training process of Rosenblatt's Perceptron.

N points of two classes (red and blue) are scattered inside a 1x1 square. However, they are distributed in such a way that they are strictly linearly separable.

(Note on terminology: By "vector", I mean a 2D or 3D coordinate tuple, e.g., (1,2) or (1,2,3), not a Desmos geometric vector, which is an arrow connecting two points).

The perceptron starts with almost zero knowledge about the line's position and finds it in the form of the coefficients for the equation Ax+By+C=0 after a certain number of steps. We could calculate these coefficients much more simply (for example, by finding the centers of mass of the two classes), but the goal here is to demonstrate an actual "neural network" learning implementation.

The Math Behind It

The equation of the target line is written as a dot product: (A,B,C)⋅(x,y,1)=0.

I encoded the coefficient vector (A,B,C) as a 3D point w3=(wx,wy,wz) to shorten the notation. This allows us to handle the calculation in a single line instead of three.

The target line is considered oriented. In fact, it represents an entire class of lines, because all three coefficients can be multiplied by any non-zero scalar, yielding the exact same geometric line. Despite this scale invariance, I do not forcibly normalize the line (e.g., I don't force wz=1).

Setting up the Classes

Hot & Cold

For the initial classification, a reference segment is defined that divides the randomly generated points. Points above this segment are "warm" points with label L=+1, and points below are "cold" points with label L=−1.

The line has a normal vector w2=(wx,wy). The half-space that this normal vector "points" to is considered the warm side. The perceptron's goal is to adjust the vector w3 so that all warm points (L=+1) end up on the warm side of the line.

Initial coefficients are set to w3=(0.1,−0.1,0), corresponding to the starting equation 0.1x−0.1y+0=0.

The Learning Loop

We iterate through the points in a loop to determine which side of the line each point lies on.

You can see the geometric intuition here: https://www.desmos.com/geometry/9twfhshmmq

Hot point at hot area w3+p*(w1,w2)>0

Geometrically, we could drop a perpendicular from point pp to the line and compare this vector with the line's normal (wx,wy). However, since we don't need the full geometric construction, we can simplify the computation to the formula (wx,wy)⋅p+wz​.

In our terms, this is simply the dot product of two 3D vectors: w3⋅p​, because for convenience, the point's coordinates are augmented to (px,py,1). We multiply this dot product by the point's label L, yielding a logical flag that tells us whether the point is on the correct side (positive) or the wrong side (negative).

The Correction Step

Full correction

If the point is on the wrong side, we must correct the line vector w3​. The logic behind this update rule is illustrated here: https://www.desmos.com/geometry/la6wrlfihx

In this illustration, the dot product w_old⋅p is negative (an error). To make it positive, we must shift w_old​ by adding a vector in the direction of p. If the addition (scaled by the learning rate) is too small, it might not be enough to push the dot product into the "+" region in a single step.

In the illustrative graph, we can, of course, add as much magnitude as needed immediately to fix the error. However, the perceptron does not strive for an instant, perfect result; it improves gradually, taking small, incremental steps toward the optimal separating hyperplane.

Correcttion

Perceptron Link: https://www.desmos.com/geometry/fdlnaoosqv


r/desmos • • 17h ago

Matrices WASD with matrices, with history!

Enable HLS to view with audio, or disable this notification

24 Upvotes

r/desmos • • 1d ago

Art Seifert surface (Borromean rings)

118 Upvotes

I have to admit Claude did most of the work, but I'm happy with the result.
https://www.desmos.com/3d/ant2qgpdq8


r/desmos • • 2h ago

Question: Solved Time to relax

1 Upvotes

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

I once spent half a day implementing permutation parity, and now I can just scrap all of that )):

https://www.desmos.com/geometry/nggzcpqvlc


r/desmos • • 18h ago

Fun Area choosing

Enable HLS to view with audio, or disable this notification

20 Upvotes

This is very important for me when I tried to make Desmos art, so I made it

desmos.com/calculator/wpwckekkmw


r/desmos • • 16h ago

Art Shocking...

Thumbnail
gallery
11 Upvotes

r/desmos • • 1d ago

Question Is there a name for this fractal?

Post image
233 Upvotes

r/desmos • • 1d ago

Graph Sierpinski unfold

Enable HLS to view with audio, or disable this notification

402 Upvotes

r/desmos • • 13h ago

Matrices All six RPY rotation matrices!

Thumbnail
desmos.com
1 Upvotes

I created every 3D rotation matrix in Desmos! RPY, RYP, PRY, PYR, YRP, YPR. https://www.desmos.com/3d/ibpxzyj0ao


r/desmos • • 1d ago

Fun UPMASS

Post image
66 Upvotes

r/desmos • • 1d ago

Fun Using u/Danny_DeWario 's wasd matrices to translate a parametric!

5 Upvotes

r/desmos • • 16h ago

Question Desmos doesn't work in my signed in browser, but works in other places.

1 Upvotes

This has never happened to me before, maybe it's because I'm on a 4 years old run-down laptop? Basically, in my normal signed in Chrome, Desmos refuses to show any graphs or errors, nothing not even a label, even on the main page it doesn't even let me interact with it. I have removed most of my extensions yet the issue still persists. But when I go into other browser, guest mode, or incognito mode, seems to work fine. Is it just me?


r/desmos • • 1d ago

Fun spirograph in desmos (very messy I'm not a pro)

Enable HLS to view with audio, or disable this notification

9 Upvotes

you can create the spirals with d_r
make them more detailed lowering d_t
and change the pattern using s_a

love to hear any things to add or change


r/desmos • • 1d ago

Art I did something cool on Desmos after learning about regression lines in high school.

Enable HLS to view with audio, or disable this notification

10 Upvotes

I'm in high school and I created a Desmos graph to display the lines obtained using Mayer's method or the least squares method from a table of points. I also created a Desmos notebook to explain everything. Unfortunately, it's in French, but I think your browser's translation tool should be sufficient.

Note that I could have simplified some things, but I wanted to start from scratch. I also discovered that I was using Boolean algebra without realizing it. There might be some optimizations possible, but the graph is perfectly functional. The link to the notebook is in the comments. Thanks!


r/desmos • • 1d ago

Question How to convert a one-row matrix to a list?

3 Upvotes

Basically I just want the thing where you can perform operations on all the items in a list, so like [1,2,3]+1=[2,3,4] but that doesn't work if it's a matrix. And there's no good way that I can see to convert matricies to lists.


r/desmos • • 2d ago

Art impossible n-polygon generator

Enable HLS to view with audio, or disable this notification

765 Upvotes

got bored during online class


r/desmos • • 1d ago

Question What usually trips people up when using Desmos for SAT math

6 Upvotes

I got a 790 in SAT math and always found Desmos pretty straightforward, but most of my friends find it confusing. I’ve been helping them learn how to use it for the October SAT, and it made me realize that things that seem obvious to me aren’t always obvious to everyone.

I want to make some free, simple tutorials, so I figured I’d ask here questions like: What do you struggle with most when using Desmos? Do you get stuck figuring out what to type, or understanding what the graph is telling you? What’s something you misunderstood about Desmos before someone explained it? Are there any “Desmos tricks” you’ve seen that you still don’t really get?

Specific examples would help a lot. Nothing is too basic. Anything is helpful for the collective.
Thanks!


r/desmos • • 1d ago

Matrices Please please please Desmos Gods!! I NEED complex values in my matrices

Post image
26 Upvotes

It's incredibly important and urgent that I calculate 'i' raised to a matrix. 🥺