开发者

replicate the javascript glow around the giant cloud on MobileMe Login Page?

If you access your mobile me account online with Safari, you can select an icon and login directly to selected service, great feature btw.

But if you access the same page using other browser like firefox or Chrome, you will see a gorgeous login page with a big, no huge cloud in the middle (the MobileMe logo) and interesting lighballs comming out of it.

Here's the link: https://auth.me.com/authenticate?service=mail&ssoNamespace=appleid&formID=loginForm&returnURL=aHR0cHM6Ly9tZS5jb20vbWFpbC8=

And the 开发者_高级运维greatest thing is that you can mouse over those little light balls and they follow your mouse movement.

Its just beautiful and i have never seen anything like that in Javascript. And i couldnt understand by looking at their code, how they did it. Of course their javascript is compressed so i couldn't look at it, but in the markup those shiny lights are just a bunch of canvas tags.

Does any one have an idea of how to make something like that? Its probably way beyond my javascript skills but it would be great to add such an effect to one of my projects.

Thanks in advance for all your suggestions ;)


that takes a lot of skills. I believe its achievable with processing.js http://processingjs.org/


Take a look at this [quote]:

So, how is this eye candy accomplished? Through over 6000 lines of (unminified) JS. MobileMe usually uses SproutCore for its applications, but after looking through the source code, I didn’t find a single reference to it. There did appear to be some resemblance of a library being used in the login page, however, but I think it is pretty custom. There appeared to be a class for each of the visual components on the screen, at least one if not two separate animation libraries (one 2d and one 3d), a particle rendering library, and libraries for dealing with canvas drawing and DOM manipulation.

So it looks like it was custom made. You can read more here: http://badassjs.com/post/1649735994/the-new-mobileme-login-page-has-some-badass-js

I hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜