Comment by Mr_Lkn on 04/04/2022 at 21:27 UTC

579 upvotes, 3 direct replies (showing 3)

View submission: I'll miss you /r/place

Technology wise it is quite impressive and interesting as a backend developer I would love to read about the development story and the challenges.

Replies

Comment by laurensV6 at 04/04/2022 at 21:31 UTC

502 upvotes, 4 direct replies

The developers did a great write-up on how they built r/place 5 years ago: https://www.redditinc.com/blog/how-we-built-rplace

Comment by Lucas7yoshi at 04/04/2022 at 21:32 UTC

36 upvotes, 2 direct replies

I'm not sure how the original worked but they treat it as 4 seperate canvases (each 1000x1000), and send a full version at the beginning and then every quarter to half second they send a new image over a websocket which is just a difference image that is applied over top of the full image

it also constantly updates to avoid sending redundant data i.e you will only receive one canvas if your zoomed in, (and it'll fetch the full res version again when you go to another)

Comment by ilikemarblestoo at 04/04/2022 at 21:47 UTC

4 upvotes, 0 direct replies

How did the old flash open canvases work like 10 years ago or so. Those were r/place before r/place