TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebKit Clock

46 点作者 istvanp超过 14 年前
This site is driven with HTML5 canvas, CSS3, JavaScript, Web Fonts, SVG and NO image files. It's optimized to WebKit rendering engine and you can see it with Safari and Google Chrome.

8 条评论

DanHulton超过 14 年前
Very slick, though the dot for St. John's is in entirely the wrong spot. Last I checked, it was still up here in Canada!<p>(Also, I very much dig that the back button actually goes back through the cities you clicked on, and not immediately off the page.)
评论 #1982183 未加载
faramarz超过 14 年前
I'm intrigued. How is the globe done? I can't dig deep enough to find the source of the globe.
评论 #1982334 未加载
jcfrei超过 14 年前
I did something similar a while back. I used canvas and coastline coordinates (<a href="http://www.ngdc.noaa.gov/mgg_coastline/index.jsp?llat=-90.0&#38;ulat=90&#38;llon=-180.0&#38;rlon=180.0" rel="nofollow">http://www.ngdc.noaa.gov/mgg_coastline/index.jsp?llat=-90.0&...</a>) to draw the globe. However I could never quite figure out how to draw the world perfectly. I used canvas.fill and I would always end up with some parts of the world showing, that actually should have been hidden. I can post the source code if you like - all it needs to be done is probably a viewport.
pornel超过 14 年前
Waiting for Web Standards Clock.
aaronbrethorst超过 14 年前
This is very cool, but Salt Lake City is in the United States, not Canada.
pan69超过 14 年前
Oopsa daisies. UTC in Sydney is currently +11 (daylight savings).
评论 #1982422 未加载
swombat超过 14 年前
Uses about 50% of my 2-year-old Macbook Pro's CPU on Google Chrome.
smoody超过 14 年前
very nice!