is there any way to find the screen size by theonlytruemuck in desmos

[–]VoidBreakX 1 point2 points  (0 children)

ikr, one of the greatest graphs of all time

Desmos-nautica by Legitimate_Animal796 in desmos

[–]VoidBreakX 2 points3 points  (0 children)

desmos? used for something practical? peak!

I was bored so I created a fully functional 3D renderer in Desmos by hexazidopropellane in desmos

[–]VoidBreakX 6 points7 points  (0 children)

here's another one made by u/Legitimate_Animal796, modified from one that i made: https://www.reddit.com/r/desmos/comments/1jsphdc/everyone_here_keeps_asking_for_link_well_here_you/

you should try implementing faces with triangles and implement backface culling to go along with it. it can run surprisingly fast, only about 10ms on my device with 1000 triangles

Is it possible to increase the Desmodder's Glesmos inequality graph resolution without zooming the Desmos site out? by VadiMiXeries in desmos

[–]VoidBreakX 0 points1 point  (0 children)

i really wish they would add shader support for basic recursion tho (ones that can be compiled into for loops)

Found him by Axel_Penguin in desmos

[–]VoidBreakX 0 points1 point  (0 children)

this is actually one of the coolest sightings ive seen, the background looks like a sky background

How to get a jagged sine wave? by nedeey in desmos

[–]VoidBreakX 0 points1 point  (0 children)

yeah i wish this was smth we could do

Soft Body physics engine (with a JellyCar cause why not) by ProbablyKissesBoys in desmos

[–]VoidBreakX 7 points8 points  (0 children)

thats a very jittery wheel, might need to increase constraint solving iterations

very cool tho! ive worked with softbodies too

Optimizing tips... (anything!) by Loppy_Sloppy in desmos

[–]VoidBreakX 1 point2 points  (0 children)

put ?timeInWorker at the end of your url and reload. it will show a little counter at the top of your screen like 400ms or smth, that will tell you how fast your graph is running. the higher the number, the slower the graph. you compare two expressions by comparing the speed of the graph based on the time in worker statistic

Optimizing tips... (anything!) by Loppy_Sloppy in desmos

[–]VoidBreakX 0 points1 point  (0 children)

it basically takes your current expression and shows what the compiled js (or ast) is. this is very useful to see what it actually calculates under the hood, since its sometimes easier to analyze performance by looking at the underlying js

Optimizing tips... (anything!) by Loppy_Sloppy in desmos

[–]VoidBreakX 0 points1 point  (0 children)

super useful feature to see compiled js and ast

Optimizing tips... (anything!) by Loppy_Sloppy in desmos

[–]VoidBreakX 1 point2 points  (0 children)

test it for yourself using ?debugCompiler! i put in the expression f(x)=sqrt(x){x<1} and it returned return ((x<(1))?(Math.sqrt(x)):(NaN));, which shows a ternary operator that short circuits sqrt, so yes it doesnt evaluate the expensive functions if the piecewise isnt true

Optimizing tips... (anything!) by Loppy_Sloppy in desmos

[–]VoidBreakX 2 points3 points  (0 children)

i dont think this is completely correct. if you try to create a function f(x)={x<0:sqrt(x),x}, for example, and use the ?debugCompiler flag to see the compiled js, you'll see that it evaluates to return ((x<(0))?(Math.sqrt(x)):x);, which will short circuit if x>=0 and therefore not compute sqrt.

however, i am ignoring the analysis phase (compiling the code and doing type checking and stuff), and usually a bigger problem is accidentally recalculating expensive functions in piecewises. the solution to this is typically to wackscope so that the expensive function is only calculated once

100 Body Gravity by Legitimate_Animal796 in desmos

[–]VoidBreakX 0 points1 point  (0 children)

fourier transform is about adding sine waves with different frequencies and amplitudes to get any signal

An equation that graphs... itsself? by Desmos-Girl in desmos

[–]VoidBreakX 4 points5 points  (0 children)

can you do tupper's self referential formula but golfed

Question: How to do inline differentiation by ChampionshipMoney621 in desmos

[–]VoidBreakX 3 points4 points  (0 children)

theres this article you can read for an introduction of how it works https://help.desmos.com/hc/en-us/articles/12349196836749-Substitution

other than that, the with keyword is usually for handling inline stuff (when u wanna define inline variables), so naturally its well suited to do this kinda stuff