Good design ideas are always 'stolen'. As long as it's not exactly the same clone then it's fine. Github's is different enough and looks cool so I don't mind the similarity. And as others have commented there is plenty of other examples in the past of global activity maps.
Pretty clever using the timezone offset to approximate the user's location without using GeoIP. I hadn't noticed that but sure enough, my (approximate) location is in view first.
Eh. I'm in the southern hemisphere, and the Github Globe first appears in the middle of the Philippines Sea. They're just assuming everyone is in the northern hemisphere.
Clever but a bit lame given the fact that I guarantee your IP address is already analyzed from a bazillion angles (incl. GeoIP) way before it hits the frontend process. Not sure why they can't use that information.
Wow, very interesting. Although I'm on GH every day, I seldom look at the base GH page and so I would not have noticed this for a long time. Many thanks for posting this. The article is very interesting.
I'm not convinced of the performance, I heard my fans spin up when I first opened the new Github.com redesign a few weeks back and remember commenting on it to our developers ("how we destroyed your browsers performance" as a joke).
It's still a heavy thing to add to any page IMO. Which shouldn't be downplayed.
If you want something like this on your site, here are the resources. As a company that built a rotating globe years ago to visualize our growing user base around the world using our apps, I wanted to share a link to the demo here. Being that we did this years before WebGL became available in all major browsers, we used canvas rendering and shapes of countries from open databases. It is supposed to work across all devices so try it whatever browser you are on now:
Please scroll down to where the globe image appears and click/tap it. Feel free to switch countries and click around. I would love to hear your feedback.
PS: We have open sourced all this stuff, so if anyone here wants to put a globe on their website, just load our Q.js from https://github.com/Qbix/Platform and then render the Q/globe tool and Places/countries selector tool with your own options. Unlike the GitHub globe, you can also have users click on countries in the globe to select them, and if you need you can pull in the flags, languages and all the other stuff per country.
You'll actually find that the majority of the work for drawing this is happening on the GPU. I didn't even come close to maxing out my CPU with a stable 144fps.
It's funny that the marketing & design folks keep doing this (IBM in the 80s, Akamai in the 90s through today, and so on). It looks super cool and informs the viewer of very little.
(Full disclosure: I ported a prototype version of my company's globe data viz in 2013 using Three.js - it's terrific! Those folks are the real heroes in this story.)
I watched the animation from Nat the CEO and what struck me as odd was the volume of which Brazil does “activity” at night.
Clearly the USA is more active during the day, as is India and Europe. Brazil on the other hand is backwards. Anyone know why that would be? I’ve worked with Brazilians before during the day so that struck me as really peculiar.
This is amazing! Is it just me or is the performance of Github's globe really bad on Firefox? The FPS is super low for me on Firefox but fine in Chrome.
Wow, hardware acceleration makes a big difference here. I'm on a recent top of the line macbook pro and it couldn't handle it without hardware acceleration turned on. I wonder if they can/should disable the feature if it's off?
I am curious, why do you have hardware acceleration turned off?
To answer your question, the failIfMajorPerformanceCaveat flag allows sites to turn off their hardware accelerated features when hardware acceleration is off.
Agree! They could have cached way more of this. A pre-rendered video would have had the same effect. A fun and impressive thing to build for sure, but its value isn't worth its complexity.
I love an animated webgl globe as much as the next person but did no-one check scrolling on mobile? Maybe it's just me but it captures vertical scrolling preventing moving down the page.
It's a common gotcha when embedding Google maps on mobile.
gk1|5 years ago
They even had a post about it, too: https://stripe.com/blog/globe
elwell|5 years ago
calcsam|5 years ago
FWIW I'm currently running a Twitter poll to see whose globe people like better. 8 hours in the votes are running 60% Github, 40% Stripe:
https://twitter.com/calcsam/status/1344396912896712706
dmix|5 years ago
ricardobeat|5 years ago
amelius|5 years ago
kowlo|5 years ago
kevincox|5 years ago
csbartus|5 years ago
mrmonkeyman|5 years ago
[deleted]
willcodeforfoo|5 years ago
iamtedd|5 years ago
zodiakzz|5 years ago
bluenose69|5 years ago
lights0123|5 years ago
dmix|5 years ago
It's still a heavy thing to add to any page IMO. Which shouldn't be downplayed.
But it is very neat and I still like it.
kevincox|5 years ago
They optimized for hitting 60fps without any concern for the resources they were using as long as it fit in that budget
I agree that using this amount of resources in the browsers of visitors shouldn't be taken lightly (they could be on battery for example).
EGreg|5 years ago
https://qbix.com
Please scroll down to where the globe image appears and click/tap it. Feel free to switch countries and click around. I would love to hear your feedback.
PS: We have open sourced all this stuff, so if anyone here wants to put a globe on their website, just load our Q.js from https://github.com/Qbix/Platform and then render the Q/globe tool and Places/countries selector tool with your own options. Unlike the GitHub globe, you can also have users click on countries in the globe to select them, and if you need you can pull in the flags, languages and all the other stuff per country.
tomcam|5 years ago
awinter-py|5 years ago
Some kind of chernobyl event, possibly caused by the ICBMs in the globe image?
What is the octocat standing on top of? Abandoned silo? Or live silo about to go hot?
dharmab|5 years ago
1: https://sma.nasa.gov/sma-disciplines/planetary-protection
a_t48|5 years ago
jeffbee|5 years ago
wbobeirne|5 years ago
just_steve_h|5 years ago
(Full disclosure: I ported a prototype version of my company's globe data viz in 2013 using Three.js - it's terrific! Those folks are the real heroes in this story.)
gabereiser|5 years ago
Clearly the USA is more active during the day, as is India and Europe. Brazil on the other hand is backwards. Anyone know why that would be? I’ve worked with Brazilians before during the day so that struck me as really peculiar.
kyawzazaw|5 years ago
Plaastix|5 years ago
GraemeMeyer|5 years ago
apocalyptic0n3|5 years ago
sciurus|5 years ago
idnefju|5 years ago
recursive|5 years ago
Andrew_nenakhov|5 years ago
I recall Stripe's globe was built using that.
jessikat|5 years ago
ramenmeal|5 years ago
modeless|5 years ago
To answer your question, the failIfMajorPerformanceCaveat flag allows sites to turn off their hardware accelerated features when hardware acceleration is off.
kowlo|5 years ago
xixixao|5 years ago
umaar|5 years ago
I've also tried to visualise worldwide COVID data on that globe, however performance degrades making it completely unusable.
kowlo|5 years ago
ChrisArchitect|5 years ago
sprsimplestuff|5 years ago
looks so cool
collectedview|5 years ago
UnnoTed|5 years ago
modeless|5 years ago
framecowbird|5 years ago
defanor|5 years ago
unknown|5 years ago
[deleted]
dpaint|5 years ago
It's a common gotcha when embedding Google maps on mobile.
Here's a mobile capture for reference https://files.catbox.moe/e965m9.mp4
ylyn|5 years ago
unknown|5 years ago
[deleted]
mariust|5 years ago
ddevault|5 years ago
[deleted]
gotem|5 years ago
tfsh|5 years ago