Discuss Scratch

DeathReviews
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

How did @codubee make it so their pfp changed every refresh?!
atomicbryght
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
DeathReviews
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
atomicbryght
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
i mean you can code anything, chances are they just did a website-code version of this:
when green flag clicked
switch costume to (pick random (...) to (...))
or maybe
when green flag clicked
point in direction (pick random (...) to (...)
set [idk v] effect to (pick random (...) to (...)
probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
ChristianScratcher1
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

Its also the pfpf itself. If you right click the pfp and open the image in a new tab, it behaves the same as it does on the site.

Plus they're the directector of tech and have access to the backend code and have the ability to code it themselves :p
axalotlautomaster_2
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
they probably used CSS to do that
Miweoro
Scratcher
38 posts

WHAT PFP WHAT WHAT WHAT

its a gif image
bitmap_caketin
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

Miweoro wrote:

its a gif image
Gifs change after a certain amount of frames but this pfp changes after refreshes
localrulebreaker
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
They probably change the scratch uploads server to pick between a few different pfps every time it gets hit.
DeathReviews
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

localrulebreaker wrote:

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
They probably change the scratch uploads server to pick between a few different pfps every time it gets hit.
How do I do that
atomicbryght
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

DeathReviews wrote:

localrulebreaker wrote:

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
They probably change the scratch uploads server to pick between a few different pfps every time it gets hit.
How do I do that
you probably can't, codubee was probably able to because they work for st and work on developing scratch itself
Catbald
Scratcher
31 posts

WHAT PFP WHAT WHAT WHAT

It would be great that any scratcher could make that pfp
axalotlautomaster_2
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

DeathReviews wrote:

localrulebreaker wrote:

DeathReviews wrote:

atomicbryght wrote:

probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
How do you “code” a pfp? That doesn’t make sense.
They probably change the scratch uploads server to pick between a few different pfps every time it gets hit.
How do I do that
you cant really because codubee probably has access to code we dont
Rosics
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

atomicbryght wrote:

probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
About that…
https://github.com/scratchfoundation/scratch-www
atomicbryght
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

Rosics wrote:

atomicbryght wrote:

probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
About that…
https://github.com/scratchfoundation/scratch-www
…yeah i'm kind of stupid and have literally no idea what that is or how to use it sorry
Maximouse
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

Rosics wrote:

atomicbryght wrote:

probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
About that…
https://github.com/scratchfoundation/scratch-www
That's only the client-side code (the part that runs in your browser). codubee's rotating profile picture is implemented on the server.
scratchcode1_2_3
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

Maximouse wrote:

(#16)

Rosics wrote:

atomicbryght wrote:

probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
About that…
https://github.com/scratchfoundation/scratch-www
That's only the client-side code (the part that runs in your browser). codubee's rotating profile picture is implemented on the server.
Yes, otherwise it wouldn't work on scratchr2 either, since half the website is scratchr2.
DeathReviews
Scratcher
100+ posts

WHAT PFP WHAT WHAT WHAT

Bump
scratchcode1_2_3
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

(whoops necropost)
why would this need to get bumped? it's resolved

Last edited by scratchcode1_2_3 (Aug. 28, 2026 01:55:39)

subjectnamehere
Scratcher
1000+ posts

WHAT PFP WHAT WHAT WHAT

to make a long story short, there's no way you can do this. codubee (presumably) hard coded it into scratch's servers so that their pfp is randomly rotated, the only way you could do this is to get a job at st and do the same thing.

Powered by DjangoBB