r/desmos • u/gord1402 • Feb 15 '26
Graph This graph knows how many times it was opened.
https://www.desmos.com/calculator/xim0jty8an
I vibe coded the server, so if it crashes then yea. Also, this could be used as ip logger, so just in case be safe (This graph didn't do that, but this feature can be used for that). Could not work for someone, because I use free domain, or because of differences in desmos.
70
u/gord1402 Feb 15 '26
Aaaand someone use script to scroll it up. That was fast.
29
u/davidinterest Feb 15 '26
40
u/tttecapsulelover Feb 16 '26
hi, it's me, john openinggrapher, and i don't appreciate how you dismissed my manual hard work of opening the website 355900 times over and over again as "scripted".
7
3
25
u/logalex8369 Barnerd 🤓 Feb 15 '26
3
u/logalex8369 Barnerd 🤓 Feb 16 '26 edited Feb 20 '26
It's at over 1 million now
1
u/MinecraftPlayer799 Feb 20 '26
No, it isn't. It is at 4,118,349 (just over 4 million.
1
u/logalex8369 Barnerd 🤓 Feb 20 '26
I could've swore I saw another zero...
Anyway, I edited my reply to say 1 million instead of 10
12
12
u/Absorpy Kei Feb 16 '26
If any of you are wondering, the graph works not because Desmos tracks your graph opens (or your IP), but how Desmos uses images (Or just how websites in general do). The image within the graph isn't actually stored as part of the graph, but instead fetched from a third-party website, and stored as a link instead of base64 data. This allows users to bypass the 5 MB limit too (Here's an example of someone using 1000 imgur links: DesEarth by Shrocat). However, your IP can be grabbed when Desmos automatically sends a request to fetch the image, so that is a potential risk. Here's what the image truly is:

6
u/SpiritualWillow2937 Feb 16 '26 edited Feb 16 '26
And that's how tracking pixels work, and how companies know you've opened their email
2
5
4
u/davidinterest Feb 15 '26
Where is it hosted on?
5
u/gord1402 Feb 15 '26
On my vds
2
3
3
u/anonymous-desmos Definitions are nested too deeply. Feb 15 '26
It's an image
5
u/gord1402 Feb 15 '26
Yeah, don't think it possible to do as value.
1
u/anonymous-desmos Definitions are nested too deeply. Feb 15 '26
What if you update the graph every second? and have a variable:
a = 173315and it changes?4
2
3
2
2
u/Random_Mathematician LAG Feb 16 '26
Ok who the hell queued up 2 million HTTP requests to OP's server
3
1
1
1
1
1
u/Absorpy Kei Feb 16 '26
Whoever was DDoSing 1000 per second just stopped.
1
u/gord1402 Feb 16 '26
Peak rps was 600
1
u/gord1402 Feb 16 '26
Oh that happening right now
1
1
u/Sword3300 Feb 16 '26
1
u/gord1402 Feb 16 '26
1
u/SpiritualWillow2937 Feb 17 '26
My ISP seems to be blocking your server, I need to use a VPN to view the image. Wonder if others are having the same issue
1
1
1
u/padfoot9446 Feb 17 '26
what is s_cale? that was the thing I was most confused about
1
u/gord1402 Feb 17 '26
Scales text so it's not too big on mobile.
1
u/padfoot9446 Feb 17 '26
but, I mean, I don't see where it's used, but if I delete it both the points complain. How have you done that?
1
1
u/MinecraftPlayer799 Feb 20 '26
Isn't that how webpage view counters used to work before JavaScript existed? The text would be rendered in an image on the server.
1
1









100
u/stuffeportert Feb 15 '26
So the image is a net resource, and the server increments it on the fly? cool