网站示例代码 - >来自Adobe的富有表现力的网站 [英] Sample Code for site -> the expressive web from Adobe

查看:120
本文介绍了网站示例代码 - >来自Adobe的富有表现力的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直关注富有表现力的网站网站。我在 google 上做了一些网站的R& D,但没有得到解释网站制作概念的令人满意的链接。



虽然我知道它是在 html5 css3



任何人都可以帮助我做这个?

解决方案

富有表现力的网站是为了让HTML5和CSS3的惊人的创意可能性给开发者留下深刻的印象。但它是一个玩具的例子。底层技术就像一堆div动画和css转换一样简单。 这是关于乏味的生产和令人印象深刻的艺术努力。 b $ b这种任务最适合的技术是WebGL。



这里有一些理由考虑:




I have been following the expressive web site. I have done some R&D of the site on the google but did n't get the satisfactory link that explains the concept that how the site is being made.

Although i know that it is made in html5, css3 but i was looking for some sample code that will help me to do some coding stuff of it.

Can anyone help me into this?

解决方案

"the expressive web" was made to impress developers with the new amazing creative possibilities of the HTML5 and CSS3. But it is a toy example. Underlying technology is as simple as bunch of divs animated and transformed with the css. It's all about tedious production and impressive artistic effort. The most suitable technology for this kind of tasks is WebGL. And it's, actually, will be easier to implement.

Here some reasons to consider:

  • At this moment HTML5 + CSS realisation, probably, has large coverage. But still you can't run it on older browsers or use shims because it's too heavy and it even don't work properly in all modern browsers. So you will end up with flash\html5 video fallback anyway.

  • It's really bad for the DOM render time.

  • This way you are stuck with the simple geometry and no lighting effects or shaders.

  • You can implement it with the simple particle system or morphing and almost all of your code will be executed on the GPU so it will have pereformence really close to native code and will save battery for the handhelds.

  • It's really inextensible. You can't just scale up for desktops and scale down for handheld. But with WebGL it's trivial including simplifying of the geometry.

  • CSS + HTML has performance overhead because every side of an object is part of the DOM.

  • There is no tools(as far as i know) to work with assets for this kind of graphic effects. But you can find plenty of software(including free ones) to work with such frameworks as three.js or other common 3D pipeline tools including really simple to use declarative frameworks like http://www.x3dom.org/

这篇关于网站示例代码 - >来自Adobe的富有表现力的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆