As someone not very up-to-date in Web UI techniques, I was curious as to how the array was being advanced on scroll. Unfortunately, it looks like the answer is basically polling. The code constantly calls window.requestAnimationFrame(), checking window.pageYOffset. This means that the page is constantly doing work, even at idle.
Surely the more correct way is to install an onscroll handler or something, right?
The correct way would be a mix of those two strategies: an onscroll handler that schedules an update through requestAnimationFrame (ensuring that it only gets scheduled once until the next frame update actually executes).
Request animation frame exists specifically to avoid ‘traditional’ polling. You’re thinking more of setInterval() which is the old way of doing it. The requestAnimationFrame docs are a good read, there are lots of performance benefits.
I managed to force this data to sort-of work by using a pygmy goat at 40-50cm tall, and a mallard deck at 50-65cm long (even larger than the site suggests). So, sure.
But if you use a more typical domestic goat, like an Irish Goat, you get a height of 80-90cm. The length is even longer.
Also, the "running man" being bigger than a cow and about the same size as a horse...
But what really bugs me is that it simply uses some font it finds on your system, so on my slightly outdated Linux version it only shows about 70% of the emojis. I mean, if there was ever a perfect use case for webfonts, it would be this page...
I was half-expecting there to be a gigantic jump to the sun emoji and then the galaxy emoji, but that might have presented rather interesting engineering challenges at that point.
Why is the mermaid so huge? The flamingo dancer and running male are smaller. The mermaid is apparently an Amazonian Mermaid, able to hurl the bison next to her to the ground with a flick of her tail.
Is japan the only country that has its own map as a unicode symbol? If so, is there a story behind it? I would bet on compatibility with some regional encoding that had it to begin with.
Emoji was basically created to add graphics to Japanese mobile websites in the late nineties when people paid by the byte.
Back then the supplier of the websites also made the phones, and you could only access specific mobile webs depending on your carrier.
The original emoji were mostly create to facilitate online shopping for train tickets for vacation and ringtones. So a lot of these represent travel, food and landmarks.
Edit: this is for Japanese handsets and carriers. That was pretty unclear before the edit
The original set of emoji was created by one Japanese person in a weekend for a Japanese mobile operator. So these images, like the blood types, the astrology signs and the cats and later the rice ball and the pile of poo are images Japanese people would want to use in their communication.
The Wikipedia page of the creator has some links to the origin story:
The other day I was running a web version of Townscapes on my smartphone, and it worked beautifully and smooth. But this one is so laggy and slow that I barely could scroll to Laptop (24cm), and then just stopped.
How come a real-time 3D rendering is faster then just displaying a few 2D pictures side by side on a screen? Tech these days is weird.
Even more confusingly, it's not consistent about the measured dimension. The car is 1.8m (wide), the firetruck is 2.3m (wide), the tractor is 5m (long), the bus is 12m (long), the statue of liberty is 46m (high), the astrodome is 66m (high).
It would have made more sense to stay with either height or the largest dimension (but that would have been weird for mountains, which often are far wider than high).
According to Wikipedia, Saguaro cacti "can grow to be over 12 meters (40 feet) tall". So, a real old and real huge Saguaro can be bigger than your average house (or palm tree): https://en.wikipedia.org/wiki/Saguaro#/media/File:Saguaro_wi.... But I would say 99% of them aren't...
The mosquito looks too small compared to the ant. I guess both can vary in size, but mosquitos I've seen have been larger than ants I've seen. Here's a video with a mosquito and an ant:
Huh? I was about to comment the exact opposite, I was super impressed by how smooth it was!
And that's running on a 3 year old low-end ryzen 3 laptop processor, on firefox in fedora.
That's what I found too, in Firefox. I then switched to Safari and it was buttery smooth everywhere (MBP 16", not M1). Haven't tried in Chrome yet. I wonder why the performance varies so wildly...
[+] [-] tshaddox|4 years ago|reply
https://emojipedia.org/milky-way/
[+] [-] joe5150|4 years ago|reply
https://emojipedia.org/microbe/
[+] [-] phailhaus|4 years ago|reply
This is an open source project, so everyone commenting with suggestions can just open up a PR: https://github.com/javierbyte/emoji-to-scale
[+] [-] AceJohnny2|4 years ago|reply
[+] [-] AceJohnny2|4 years ago|reply
[+] [-] valleyer|4 years ago|reply
As someone not very up-to-date in Web UI techniques, I was curious as to how the array was being advanced on scroll. Unfortunately, it looks like the answer is basically polling. The code constantly calls window.requestAnimationFrame(), checking window.pageYOffset. This means that the page is constantly doing work, even at idle.
Surely the more correct way is to install an onscroll handler or something, right?
[+] [-] vincentriemer|4 years ago|reply
[+] [-] have_faith|4 years ago|reply
[+] [-] cunthorpe|4 years ago|reply
Duck: 50cm
Might as well say “shuffled emojis with random data attached”
[+] [-] dhritzkiv|4 years ago|reply
But if you use a more typical domestic goat, like an Irish Goat, you get a height of 80-90cm. The length is even longer.
[+] [-] rob74|4 years ago|reply
But what really bugs me is that it simply uses some font it finds on your system, so on my slightly outdated Linux version it only shows about 70% of the emojis. I mean, if there was ever a perfect use case for webfonts, it would be this page...
[+] [-] King-Aaron|4 years ago|reply
[+] [-] cjohansson|4 years ago|reply
[+] [-] hanniabu|4 years ago|reply
[+] [-] dwohnitmok|4 years ago|reply
[+] [-] catern|4 years ago|reply
[+] [-] tracedddd|4 years ago|reply
[+] [-] irrational|4 years ago|reply
[+] [-] toqy|4 years ago|reply
https://joshworth.com/dev/pixelspace/pixelspace_solarsystem....
[+] [-] mvexel|4 years ago|reply
[+] [-] whiskyant|4 years ago|reply
[+] [-] whylo|4 years ago|reply
[+] [-] croisillon|4 years ago|reply
[+] [-] travisgriggs|4 years ago|reply
[+] [-] folli|4 years ago|reply
[+] [-] rosetremiere|4 years ago|reply
[+] [-] wodenokoto|4 years ago|reply
Back then the supplier of the websites also made the phones, and you could only access specific mobile webs depending on your carrier.
The original emoji were mostly create to facilitate online shopping for train tickets for vacation and ringtones. So a lot of these represent travel, food and landmarks.
Edit: this is for Japanese handsets and carriers. That was pretty unclear before the edit
[+] [-] tinus_hn|4 years ago|reply
The Wikipedia page of the creator has some links to the origin story:
https://en.wikipedia.org/wiki/Shigetaka_Kurita
[+] [-] createunderrate|4 years ago|reply
[+] [-] Andrew_nenakhov|4 years ago|reply
How come a real-time 3D rendering is faster then just displaying a few 2D pictures side by side on a screen? Tech these days is weird.
[+] [-] wartijn_|4 years ago|reply
- A chicken egg is taller than 5cm.
- I would say a tulip is bigger than a phone.
- The okay hand sign says it's 21 cm.My hands are larger than average, but definitely smaller than 21cm.
- A duck isn't bigger than a goat.
- An elephant is smaller than a house.
[+] [-] adzm|4 years ago|reply
[+] [-] hbn|4 years ago|reply
[+] [-] nkozyra|4 years ago|reply
[+] [-] franga2000|4 years ago|reply
[+] [-] wongarsu|4 years ago|reply
It would have made more sense to stay with either height or the largest dimension (but that would have been weird for mountains, which often are far wider than high).
[+] [-] rob74|4 years ago|reply
[+] [-] duiker101|4 years ago|reply
Very cool project tho!
[+] [-] trissylegs|4 years ago|reply
[+] [-] Thorrez|4 years ago|reply
https://www.youtube.com/watch?v=aW_RUnjLv6c
[+] [-] traes|4 years ago|reply
[+] [-] Scaevolus|4 years ago|reply
[+] [-] 1270018080|4 years ago|reply
[+] [-] schmorptron|4 years ago|reply
[+] [-] x3ro|4 years ago|reply
[+] [-] Gigachad|4 years ago|reply
[+] [-] mdoms|4 years ago|reply
[+] [-] bko|4 years ago|reply
I thought this was a mistake but it checks out.
https://www.dimensions.com/collection/cactus-cacti