Does anyone know how the profile customisation is made ?
i think i can manage to do it using canvas
But also svg doesn't sound that bad

So ?

  • 3
    These avatars are rendered serversided. When emotions were added they had some caching issues because of it. (if I remember correctly)
  • 3
    As far as I know it’s just hundreds of layers merged together based on selection server side.

    @dfox or @trogus may offer some insights?
  • 1
    @C0D4 yeah, check the dev console, you can see every part being pulled and how it looks
  • 4
    @C0D4 that’s pretty much how it works. We have a bunch of different layers and they get rendered on the server based on the options selected for the avatar.

    @Codex404 not really caching issues, more just that generating lots of layers for a large image is CPU-intensive so we had to offload to a server with a better CPU offering to make avatar building/displaying fast.
  • 0
    Thank you all , i appreaciate!!!
Add Comment