This is fun. One suggestion.. rather than creating a canvas for each user using a querySelectorAll and a loop, I'd use an IntersectionObserver and only create the canvases as they scroll into view. That way the user's device won't need to create hundreds of elements when the code runs. let observer = new IntersectionObserver( (entries) => { entries.forEach((entry, i) => { if (entry.isIntersecting) { const p = 2; cons…
Show HN: HN Avatars in 357 bytes
471–480 of 536 posts
Re: Show HN: HN Avatars in 357 bytes
#472Re: Show HN: HN Avatars in 357 bytes
#473Re: Show HN: HN Avatars in 357 bytes
#474Re: Show HN: HN Avatars in 357 bytes
#475Reply here if you just want to see how your username looks like, so we avoid noise and keep that Show HN on the top. comments are really interesting
Re: Show HN: HN Avatars in 357 bytes
#476Re: Show HN: HN Avatars in 357 bytes
#477Re: Show HN: HN Avatars in 357 bytes
#478Re: Show HN: HN Avatars in 357 bytes
#479Earlier quoted context omitted.
I do feel like HN needs avatars of some kind... just don't know if they should be customizable or fixed (like this one).
I'm for the fixed avatars. We are all born with certain unchangeable aspects.
Re: Show HN: HN Avatars in 357 bytes
#480Hah! I got a really cool little icon that looks almost like the cassette tape pirate logo of Piratbyrån back in the day. I have old t-shirts with that logo. MAKE. THIS. PERMANENT! On the functional side, this really helps you see who is who in a long threaded discussion. Your eye is much quicker at following the little color icons than their names.
Trying mine.