18
#Build2016 Adding Interactions in the Visual Layer to Create Customized & Responsive Experiences Anthony Young & Lindsay Kubasik Developer & Program Manager Windows UI Platform

Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Embed Size (px)

Citation preview

Page 1: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

#Build2016

Adding Interactions in the Visual Layer to Create Customized & Responsive ExperiencesAnthony Young & Lindsay KubasikDeveloper & Program ManagerWindows UI Platform

Page 2: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Demo

Zoom 3D

Page 3: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Platform BasicsBuilt-in Framework FunctionalityControls like ScrollViewer and ListViewNovember Update CustomizationsManipulationPropertySet from XAML ScrollViewer starts to bridge the gapNext Release of WindowsMore flexibility for customizable input driven animations

Page 4: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Demo

HelloInteractionTracker

Page 5: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

Page 6: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

InteractionTracker

Page 7: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

InteractionTracker

VisualInteractionSource

Page 8: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

InteractionTracker

VisualInteractionSource

Page 9: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

InteractionTracker

ExpressionAnimation

“tracker.position”

VisualInteractionSource

Page 10: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual LayerRoot

Canvas

Photo

Other

InteractionTracker

ExpressionAnimation

“tracker.position”

VisualInteractionSource

Page 11: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Interactions in the Visual Layer

Expression Animation

Engine

Interaction

Tracker

Visual Interactio

nSource

User Input

Bindable Properties

Manipulation Data

AnimationUpdates Target

Visuals

Page 12: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Demo

HelloInteractionTrackerPull to Animate

Page 13: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

What about the Customizations?Feel of InertiaAutoscrollPage Up/Page DownSnap Points

Page 14: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Updating InteractionTracker’s MotionSimple PropertiesDecay Rate, Min/Max PositionUpdating Position & ScaleDirect Updates, Animating UpdatesComplex Conditional ModifiersEndpoint, Motion

Page 15: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Defining Motion during InertiaForce-Based SystemAnimates InteractionTracker’s Acceleration

Page 16: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Demo

Inertia Modifiers3D Zoom Walkthrough

Page 17: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

Demo

Zoom 3D Walkthrough

Page 18: Build 2016 - P405 - Adding manipulations in the visual layer to create customized and responsive interactive experiences

• Check out sample code & ask questions via GitHub (https://github.com/Microsoft/composition/)

• Follow us on twitter @WinComposition• Re-visit Build on Channel 9• Continue your education at

Microsoft Virtual Academy online

Call to Action