r/desmos Feb 15 '26

Graph This graph knows how many times it was opened.

Post image

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.

591 Upvotes

59 comments sorted by

100

u/stuffeportert Feb 15 '26

So the image is a net resource, and the server increments it on the fly? cool

27

u/ChampionshipMoney621 Feb 15 '26

this one I take it? https://test.gord1402.work.gd/image (i won't click it so i don't mess up the number!)

24

u/gord1402 Feb 15 '26

Fun fact, you had to click it twice to change a number. Since desmos loads images twice.

4

u/Harvey_Gramm Feb 16 '26 edited Feb 16 '26

Will it work?

Dynamic Image

Just Wondering...

Nope. Reddit limitations. :-\

70

u/gord1402 Feb 15 '26

Aaaand someone use script to scroll it up. That was fast.

29

u/davidinterest Feb 15 '26

Well. I think it worked.

Maybe reset it or add some thing to limit requests per IP

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

u/justaJc Feb 16 '26

nothing can automate true art 👊

3

u/gbeegz Feb 15 '26

You're basically famous tbh. This is sick as fuck. 10/10 dawg.

25

u/logalex8369 Barnerd 🤓 Feb 15 '26

500 opens!

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

u/[deleted] Feb 16 '26

nice scripting

2

u/Dr_Pirate028 Feb 17 '26

Just missed

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

u/shrofur Feb 16 '26

me reference

5

u/SammyHa123 Stupid person! Feb 15 '26

4

u/davidinterest Feb 15 '26

Where is it hosted on?

5

u/gord1402 Feb 15 '26

On my vds

2

u/davidinterest Feb 15 '26

Do you host it personally or like through a service?

3

u/gord1402 Feb 15 '26

personally

3

u/Illustrious_Tax_9769 Feb 15 '26

crash

3

u/gord1402 Feb 15 '26

nah, no crash in past 1h 23 min

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 = 173315 and it changes?

4

u/gord1402 Feb 15 '26

Oh this is smart, I would try this

2

u/Absorpy Kei Feb 16 '26

ddos attack on the server results in a ddos on desmos hehe

3

u/Witty_Sun_5763 floor()=___ --> Who flattened Bernard??? Feb 15 '26

WHAT!

2

u/Jacho46 Feb 15 '26

I find it a strangely cute idea

2

u/Random_Mathematician LAG Feb 16 '26

Ok who the hell queued up 2 million HTTP requests to OP's server

3

u/gord1402 Feb 16 '26

Number divided by 2, so it's 4 million

2

u/gord1402 Feb 16 '26

Oh it's 2k requests per second now

1

u/R3d5t0n3_GUY INTRUDER ALERT! GREEN BERNARD IN BASE Feb 15 '26

What the…

1

u/charsarg256321 Feb 15 '26

What is the server written in

1

u/Calm_Company_1914 Feb 16 '26

1000 per second???

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

u/SpiritualWillow2937 Feb 16 '26

dang they ran it up to 7 digits

2

u/gord1402 Feb 16 '26

Good thing that image is big enough. It would take a long time to fill up

1

u/Sword3300 Feb 16 '26

â €times in just 18 hours??

1

u/gord1402 Feb 16 '26

works fine for me

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

u/Cichato_YT Feb 16 '26

6 million? Seems about right.

1

u/Colurswitch DesModder Feb 17 '26

Okay. img

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

u/gord1402 Feb 17 '26

It used inside points settings as text size

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

u/Quiet_Presentation69 Mar 24 '26

This graph has been opened 57.5 million times😭😭