Lab 12: Animations User Interface Lab: GUI Lab Nov 11 th, 2014.

Slides:



Advertisements
Similar presentations
Robert Grant Senior Research Fellow St George’s, University of London
Advertisements

Animation. 12 Principles Of Animation (1)Squash and Stretch (2)Anticipation (3)Staging (4)Straight Ahead Action and Pose to Pose (5)Follow Through and.
Morphing Rational B-spline Curves and Surfaces Using Mass Distributions Tao Ju, Ron Goldman Department of Computer Science Rice University.
Computer Animation 2D Animation.
Advanced conference control and indication Allow conference floor control from the web interface -Prashant Puri Columbia University.
ARCH 481 3d Modeling and Rendering lecture eight: animation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 21 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
BASIC CONCEPS OF ANIMATION The presentation source: Department of Educational Multimedia Faculty of Education, UTM MPT 1383: VIDEO AND ANIMATION TECHNOLOGY.
1 © Netskills Quality Internet Training, University of Newcastle Flash 8: Animation Techniques © Netskills, Quality Internet Training, University of Newcastle.
1 7M836 Animation & Rendering Animation Jakob Beetz Joran Jessurun
3.02 Explain basic motion graphic programming. Animation Types.
Unit 20: Event Driven Programming
2003CS Hons RW778 Graphics1 Chapter 4: Vector Tools 4.5 Representation of Key Geometric Objects 4.5 Representation of Key Geometric Objects –4.5.1 Coordinate.
Web Design Vocab 9 Palette, QuickTime, Tweening, Typography, XHTML.
Animation Ann Ware.
Animation 백 일 우
Animation. The basics of animation The persistence of vision – the human eye sees an object for a short time after it has disappeared. This fact is used.
Lab 2: Forms and Basic Input User Interface Lab: GUI Lab Sep. 2 nd, 2014.
Macromedia Flash By Alice Tian. Overview  What is Flash  Why Flash  Basic User Interfaces  Animation Basics  Advanced Basics  Publishing.
UNDERSTANDING ADOBE FLASH. The Flash Interface  The flash interface provides you with:  A menu bar  Panels  A work area: stage.
MA/CS 3751 Fall 2002 Lecture 24. MA/CS 3752 ginput ginput is a Matlab function which takes one argument input: number of points to select in the image.
Array Cs212: DataStructures Lab 2. Array Group of contiguous memory locations Each memory location has same name Each memory location has same type a.
Yingcai Xiao Game Development Interactive Animation.
Animation. History Photography around since the 19th century Realistic animation began in 1872 when Eadweard Muybridge settled a bet about a flying horse.
Lab 12: Other Languages User Interface Lab: GUI Lab Nov. 12 th, 2013.
Lab 10: Project and Code Organization User Interface Lab: GUI Lab Oct. 18 th, 2014.
Curves. First of all… You may ask yourselves “What did those papers have to do with computer graphics?” –Valid question Answer: I thought they were cool,
Spring /6.831 User Interface Design and Implementation1 Lecture 24: Animation HW2 out, due next Sunday look for your evaluation assignment on.
School of Computer Science & Information Technology G6DICP - Lecture 17 GUI (Graphical User Interface) Programming.
Topic 7 Temporal Control. 2Chapter 25 - Temporal ControlOutline Goals and Objectives Goals and Objectives Introduction Introduction Timeline Animation.
Chi-Cheng Lin, Winona State University CS430 Computer Graphics Vectors Part II Application of Linear Combination.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
CAT Project (Computer Aided Tweening) Andrew Yurovchak.
Introduction to Flash. A Metaphor Definitions Stage is the rectangular area where you place graphic content, including vector art, text boxes, buttons,
Chapter 22 The Smooth Motion: Case Study in Algorithmic Solving.
Lab 11: Animation User Interface Lab: GUI Lab Nov. 6 th, 2013.
CS324e - Elements of Graphics and Visualization Timing Framework.
Quick Flash Tips Learn how to use flash the easier way!
Syed ardi syed yahya kamal 2011 chapter five.  Creating in-between positions is still a hallmark of animation.  Using techniques called interpolation.
Animation.
Multimedia Programming 07: Image Warping Keyframe Animation Departments of Digital Contents Sang Il Park.
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 9.
Unit 7 – Desktop Publishing Animation Animation Skills Lesson – Overview of Adobe Flash Canvas TimeLine Tools Properties.
Programming Assignment #4 Interactively-controllable character (10 pts) Design a graph of motions –Include as many motion clips as possible –Include walking.
INTRODUCTION TO FLASH Flash is used for: Animated movies Games Website Interface (Headers, Navigation Bar buttons)
Hot debate: When a horse gallops, is there ever a moment where all four hooves leave the ground? AD 1872 required new electric shutter technology: Muybridge.
Ann Ware. A simulation of movement or the perception of motion created by displaying a series of pictures or frames.
ALL ABOUT ME INTRODUCING ME! MY FAMILY MY PETS THINGS I LIKE TO DO MY FAVORITE BOOKS More Welcome, I’m Miss Computer Lab lets learn a little bit about.
2.1 Picturing Motion Essential Questions How do motion diagrams represent motion? How can you use a particle model to represent a moving object? Picturing.
CS 101 – Nov. 4 Wrap up OS Examples User interface Hierarchy of files Techniques for searching –Breadth first and depth first Continue with Access in lab.
Chapter 4. CONCEPT OF THE OPERATING SYSTEM MANAGING ESSENTIAL FILE OPERATIONS.
Click on this icon to start animation At the end of animation, ‘right click’ and select ‘end show’. Animation frame 1 of 32 To hasten the speed of animation,
Interactive Animation
CPT 450 Computer Graphics 12th Lecture – Animation.
In a meaningful sentence, List 3 things that you think are compounds.
3.02 Explain basic motion graphic programming.
Tomorrow’s User Interface 1
Steps to respect : First create a folder where yo will save all the images Draw the first image (basic image) or open it Save your first image in the folder.
GIF Animation.
Graphing.
Lesson 5.7 Predict with Linear Models The Zeros of a Function
Creating a Digital Showcase Designing a Soloution
امتحانات میں شامل سوالات کے برے ،اچھے اور بہترین نمونے
Tweening along a path.
Spatial Interpolation (Discrete Point Data)
Scatterplots line of best fit trend line interpolation extrapolation
Find the interval of convergence of the series. {image}
Find the interval of convergence of the series. {image}
2D Animation Digital Arts.
Developing Animated Scatter Plots
Presentation transcript:

Lab 12: Animations User Interface Lab: GUI Lab Nov 11 th, 2014

Project Questions? Anything?

Animation A series of key frames ticking in a loop

Animation "Muybridge race horse gallop”

Animation "Muybridge race horse gallop”

Animation

Interpolation Having a number change smoothly over a time interval Essentially defines what a value does between key frames (defined values) Also called tweening or easing All animation is interpolation of some kind

Interpolation //linear interpolation //where 0 <= time <= 1 function lerp(min, max, time) { return min + (max – min) * time }

CSS3 Easing functions ease – slow-fast-slow linear – constant speed ease-in – slow start ease-out – slow end ease-in-out – slow start and end != ease cubic-bezier(n,n,n,n) – custom – see:

Types of Animation in HTML5 CSS3 animation jQuery animation jQuery CSS3 hybrids animation frames

CSS3 Animations 2 flavors – transitions – animations annoyingly not yet standard – have to include prefixes for maximum compatibility

CSS3 transition /*basic form*/ selector { transition: property duration; -moz-transition:…; -webkit-transition:…; }

CSS3 transition div { width: 50px; transition: width 2s; } div:hover { width: 200px; }

CSS3 transition div { width: 50px; transition: width 2s linear 1s; } div:hover { width: 200px; }

CSS3 Animations /*basic animation*/ selection { animation: animName duration; -webkit-animation: animName duration; }

CSS3 animName { from {/*some css*/} to {/*some css*/} otherAnim { 0% {/*some css*/} 50% {/*some css*/} 100% {/*some css*/} }

CSS3 Animations Other properties – animation-timing-function: same easing options – animation-iteration-count: number – repeats that many times inifinite – runs forever – animation-direction: normal (from  to | from  to) reverse (to  from | to  from) alternate (to  from  to  from) alternate-reverse (from  to  from  to) –

jQuery Animaton //basic form $(selector).animate(/*some css*/);

jQuery Animaton //basic form $(“div”).animate({width:“50px”); $(“#target”).animate( {height:“200px”}, 2000, //in milliseconds “swing”, callbackFunction );

jQuery Animations Less compatibility problems Easier to invoke in code Less easing options (unless you use jQueryUI Limited set of animatable properties (unless you use jQueryUI)

jQuery CSS3 hybrids Write animations/transitions in CSS, toggle their class using jQuery css:.my-anim{…} js: $(“#target”).toggleClass(“my-anim”); Mostly down to preference

Animation Frames Run code at the refresh rate of the browser Allows you to animate anything but you have to write the code to do it How games and bigger media projects work

Animation Frames function step(frameTime) { // do stuff //re-request to loop window.requestAnimationFrame(step); } window.requestAnimationFrame(step);

Questions?

Extra Time ADSR curves

ADSR Curves A form of interpolation Originating from music Relevant to UI feel