Git Product home page Git Product logo

cocoaheads-coreanimation-samplecode's Introduction

cocoaheads-coreanimation-samplecode

#About This is the presentation and the sample code discussed in my presentation on Core Animation for the June 2012 CocoaHeads Stockholm meet up.

The code is intended to be material for learning Core Animation so that people who see the presentation can later look at the all the code.

#Sample projects There are five sample projects related to the presentation (in the order they appear in the presentation):

##1. Replicated activity indicator A custom activity indicator which was built using a CAReplicatorLayer. The purpose is to illustrate how a replicator layer works.

##2. Pie chart progress indicator A progress indicator where the stroke of a circle is animated to achieve the visual effect of counting down.

##3. Marching ants A rectangle with a dashed stroke. The line dash phase is animated to create a "marching ants" effect, commonly used to indicate a selection.

##4. Overshoot timing function A small demo where multiple basic animations are run with a custom timing function. Meant to illustrate how you can use custom timing functions.

##5. Heavy jumping view A orange box that jumps to where the user taps on the screen. Uses a combination of many small animations to create the jumping effect and simulating a jelly-like material for the box. Also uses particle effects to create a dust cloud when the box lands. This sample is mostly intended to be used as sample code for the CAEmitterLayer. It should not be used as reference for how you do complex animations.

cocoaheads-coreanimation-samplecode's People

Contributors

d-ronnqvist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.