1. Trang chủ
  2. » Công Nghệ Thông Tin

I Cannot Believe It is not Flash: Guide to CSS Animating

48 303 0
Tài liệu được quét OCR, nội dung có thể không chính xác

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 48
Dung lượng 7,92 MB

Nội dung

CSS animations make it possible to animate transitions from one CSS style configuration to another. Animations consist of two components, a style describing the CSS animation and a set of keyframes that indicate the start and end states of the animations style, as well as possible intermediate waypoints along the way. There are three key advantages to CSS animations over traditional scriptdriven animation techniques: Theyre easy to use for simple animations; you can create them without even having to know JavaScript. The animations run well, even under moderate system load. Simple animations can often perform poorly in JavaScript (unless theyre well made). The rendering engine can use frameskipping and other techniques to keep the performance as smooth as possible. Letting the browser control the animation sequence lets the browser optimize performance and efficiency by, for example, reducing the update frequency of animations running in tabs that arent currently visible.

Trang 1

I CAN'T

BELIEVE IT’S

Trang 3

email a Friend print close

‘new jackle' large shoulder bag with hand

stitching, tassels, and bamboo detail » grey guccissima leather with grey

leather trim » gold hardware

« single adjustable strap with 9" drop and detachable shoulder strap with 18" drop

» gold/bamboo push lock closure « inside zip, cell phone, and pda

pockets

= 18.9"L x 2.4'W x 15.4"h

218491 A261G 1200 $3250

your selection ts available

add to shopping bag

For adaitional assistance or information,

please consult a personal shopper

Trang 5

nutsnbolts freckle: Timer

+ _—

dé — de” À —.- <{Í.~- <4 —Ỉ4.«Ẩ~ ⁄

Trang 7

Performance hit

Trang 8

Performance hit

JavaScript Reflow Rendering Paint

Trang 9

Performance hit

JavaScript Reflow Rendering Paint

Trang 10

Performance hit

JavaScript Reflow Rendering Paint

Trang 11

Performance hit

JavaScript Reflow Rendering Paint

Trang 12

Performance hit

JavaScript Reflow Rendering Paint

Trang 14

`

| scripty2: for a more delicious web

Trang 18

Webstock ~ New Zealand's web conference

> | | + | & http: //www.webstock.org.nz/ iss ¢ | (Qy Google lá» _- 254 x (+ / CT SB ere: 4 xe “ 7 oo (? Kế, \šWkevm ¬*»xv': a “ HOME SPEAKERS PROGRAMME VENUE’ REGISTER SPONSORS BLOG CONTACT WEBSTOCK IS BACK!

5 full-on days 13 hands-on workshops 24 kickass international speakers 24 must-see

presentations Design, development, mobile,

usability, content, community, open data,

innovation & inspiration Bek Hodgson Chris Shiflett Tickets are strictly a limited! Du + Keuin Rose my Hoy Scott Thomas A

The sponsor interviews: Springload

Trang 19

Webstock - New Zealand's web conference

® _http: / /www.webstock.org.nz/ 'RSS: ¢ | ¢ OQ» Google Ì Webstock - New Zealand's web co

full-on days 13 hands+on workshops 24 ickass international speakers 24 must-see

presentations Design, development, mobile,

ability, content, community, open data,

Trang 20

Webstock - New Zealand's web conference

Trang 23

Safari on Snow Leopard,

or on Windows: Nokia's Starlight browser (alpha)

Trang 26

Fullscreen HD Video CPU% HTMLS5: 10%

FLASH: 100+%

(and dropped frames)

Trang 34

PepsiCo SXSW 2009 Zeitgeist Flashback

+ |@%http://pepsicozeitgeist.com/2009/

PepsiCo SXSW 2009 Zeitgeist Flas

“49 K ?andreamonNque Tonsley 2garyvee @mashanle @mekdot (CN (Co j0) —

”murnahan ?nowoiayingon ?Zapnos accounts added she airpoon anderson apple Z 4/2104 Dreakliast DFOWwSser Druece 46 DU oun oh tt check china chís cms |

colfee cogaoke common communities community company 22ñN@Ð@ 1 Gopy cramer crowds cullure customer day de decemberstsã delOanel desman devo digg

22ÕÒ0 SAU II CC 0 LO ốc ẽ

eh) lolow lolowllday ltorvad ltound toc 1đa/' 76H ga me 1 a

Qames gary gma google green guy happen Nappy siead

houston nsien deas do nteresting phone feland irish Sellssssee Kawasakx Keban Keynote aunen aundryall hale essig _ + =

ongmarcn si ays unch make making man Manageme

media menourne mempnis ee SD ESE) es metrics mms mobie

mothners mav\e mñiweelt musk< "12077 nate networks

nam 0bama önline «= “bbls Darty paste patricks

powdery pr premium privacy quincy quit rain ready

satulday seinied send session shift show shut shuttle

sni snow social soundrelief spec spring sỉ sterling stew

sw SXSWDD sxswoc sxswonina sxswed sxswlsn sxswgps tomorrow tony top trendy tumdilr tv tweet tweetdeck

Trang 36

Raphaél—jJavaScript Library | L+ ®http:/ /raphaeljs.com/ C | (Qy raphaell Raphaél—JavaScript Library =”"t V7, Q> Raphaél—JavaScript Library \ A Nr T V V la f > ©

Raphael is a small JavaScript library that should simplify your work with vector Our recommendation is to GZIP it It graphics on the web If you want to create your own specific chart or image crop will help to reduce file size to 20 Kb

and rotate widget, for example, you can achieve it simply and easily with this You can download

library as well

Raphaél uses the SVG W3C Recommendation and VML as a base for

creating graphics This means every graphical object you create is also a DOM object, so you can attach JavaScript event handlers or modify them later

Raphaél’s goal is to provide an adapter that will make drawing vector art compatible cross-browser and easy

Raphaél currently supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet

Explorer 6.0+ Ask your questions there

Hope it will help

For more examples take a look at charting plugin:

How to use it? Best source of updates, so far

Download and include raphael js into your HTML page, then use it as simple as:

Display a menu

Trang 38

© PepsiCo SXSW 2009 Zeitgeist Flashback - Windows Internet Explorer Sele c2 vy €_ http://pepsicozeitgeist.com/2009/ | € local3k g DOM Monster! >> » PepsiCo SXSW 2009 Zeitgeist Flashback Tà fm v (:;? 5eite v (C2 Extras v #3 ZEITGEIST FLASHBACK we followed the tweets of everyone at sxsw in 2009 here’s what happengd 28 “ha a — = —— = - — " = - se - — —_——— _ — m.mn ral A Dandreamonique 0cCnetn wie gy = @) ashable @rnex*dot (012/4 19 — —“=—- an — — — ~ = a a mm i ——— `

@mumahan Enowplayingon Đzappos coounts added aig airport anderson apple

aristotie audience austin Tyas te awards awesome badu ee belmont birthday

brain breakfast browser bruce bsg bull bun cake check china chris coms

coffee cogecke COrmrnon communities community company connec SÁU camer

cowds culture custormer§ day de decemberists dellpanel design devo digg diggnation dinner directory duke dutch early earthquake facebook family flidcv fight follow’ followfriday forward ound free friday friends frog fun future game games gary gmail google green quy happen happy Reading helping home houston hsieh ideas idol interesting iphone wWeland ism jenny journchat

ỎẲỒẺỒÔ ^ kanwe kawasali kebab keynote launch laundryal leno 144 l6 lse0ang lìve

longmarahụn losrí love lụnch makc making man 0"$‹S8HWEIĐE60Nn nu l6 60C media melbourne memphis metallica metic mms mobile “monday momma mothers movie rrriwee musc natassha nate nelwods r€WI0W€ITHWOIYS TWWYIetv

night pobama online OS panel party paste patids people perez photo plane

powderly pr premium privacy eile” quit rain ready red richardson roi room saturday seinfeld send session shift show shut shuttle siens silver site sleep

smi snow social soundrelief spec spring st sterling stewart street sun sunday

SWÏ sxswbp sxswec sxswochina sxswed sxswisnm sxswqps talk tcot texas today tomorrow ony top trendy tumbir tv tweet tweetdeck tweeting undo S65 Ux

videc view watching web Simms) wine wireframe vOrk vorld Zappos

brought to you by tet ete) created by slas

Trang 41

WebGL

<script id="vshader" type="x-shader/x-vertex" >

uniform mat4 u_modelViewMatrix;

uniform mat4 u_modelViewProjMatrix; uniform mat4 u_normalMatrix;

uniform vec3 lightDir;

attribute vec3 vNormal; attribute vec4 vTexCoord; attribute vec4 vPosition;

varying float v_Dot;

varying vec2 v_texCoord;

void main()

af

gl Position = u_modelViewProjMatrix * vPosition; v_texCoord = vTexCoord.st;

vec4 transNormal = u_normalMatrix * vec4(vNormal,1);

v_ Dot = max(dot(transNormal.xyz, lightDir), 2.9);

i

Trang 44

AAA The Lessons | Learning WebGL 4 | > | + | http: //learningwebgl.com/blog/?page_id=1217 Ẵ | (Qr€ The Lessons | Learning WebGL [

shows you how to download, install and

configure a web browser that can show WebGL content, and gives links to a set of pages that show what it can do

gives you an overview of how WebGL works, with enough code to simply draw a static triangle and a square on the screen

Duilds on lesson 1, and adds colour to the triangle and the square

builds on lesson 2, making the triangle and the square spin around

builds on lesson 3, bringing us into the third dimension fully by replacing the triangle with a

pyramid and the square with a cube

shows how you can use an image file to “skin” your 3D objects, giving you a quick and easy way to make them look more interesting

WOEDGL drournd Wie Mel, tl FED cUlU

WebGL Lesson 14 - specular highlights and loading a JSON model

SPONSORS

Free 3D Scanner eBook

Want Portable Scanning

Technology? Get Our Free 3D

Scanning eBook Now!

ZCorp.com/scanning_in_3D_eBook

Z Diploma in Animation

Start your career in Digital

Animation, Enrol now for 2010!

animatlon.raffles ac.nz

3D Studio Max Jobs

Daily News & Jobs for New Zealand

film & television professionals

www.ScreenHub.co.nz

Ads by Google

Trang 45

AAA about:config Ƒ —- ` _"ố Pa 4)» > | )( ®.)(.L) about:config WY) R about:config Filter: Q

Preference Name & Status Type Value

view_source.syntax_highlight default boolean true

view_source.wrap_long_lines default boolean false

viewmanager.do_doublebuffering default boolean true

webgl.osmesalib default string

webgl.software_render default boolean false

xpinstall.dialog.confirm default string chrome:/ /mozapps/content/xpinstall/xpinstallC xpinstall.dialog.progress.chrome default string chrome://mozapps/content/extensions/extensi xpinstall.dialog.progress.skin default string chrome://mozapps/content/extensions/extensi xpinstall.dialog.progress.type.chrome default string Extension:Manager

xpinstall.dialoq.progress.type.skin default string Extension:Manager

xpinstall.enabled default boolean true

xpinstall.whitelist.add user set string

xpinstall.whitelist.add.103 user set string

xpinstall.whitelist.add.36 user set string

xpinstall.whitelist.required default boolean true

zoom.maxPercent default integer

zoom.minPercent default integer

http://ftp.mozilla.org/pub/mozilla.org/

Ngày đăng: 11/07/2014, 11:56

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w