Giter Site home page Giter Site logo

coreanimations's Introduction

Core Animations Lab

Let us learn all of CALayer properties by animating Leonardo Fibonacci. The goal is to be able to see a quick working demo of any Core Animation.

App demo gif

All properties can be found here.

List of demoed animations

CALayer

  • anchorPoint
  • backgroundColor
  • borderColor
  • borderWidth
  • bounds
  • borderWidth
  • bounds
  • cornerRadius
  • contentsRect
  • hidden
  • opacity
  • position
  • shadowColor
  • shadowOffset
  • shadowOpacity
  • shadowPath
  • shadowRadius

CAGradientLayer

  • colors
  • locations
  • startPoint
  • endPoint

CAShapeLayer

  • fillColor
  • lineDashPhase
  • miterLimit
  • lineWidth
  • strokeColor
  • strokeStart
  • strokeEnd

CATextLayer

  • fontSize
  • foregroundColor

CAEmitterLayer

  • emitterPosition
  • emitterSize

CAReplicatorLayer

  • instanceDelay
  • instanceTransform
  • instanceColor
  • instanceRedOffset
  • instanceGreenOffset

CATransform3D

  • transform.scale
  • transform.translation
  • transform.rotation

LIST OF TODOs

  • Fix UI so it looks good in every screen size
  • Fix replicator layer animations are not deterministic, the opacity animation works depending on the first replicator animation that is played.
  • Add transform.scale.z and transform.translation.z
  • The emitter layer does not stop emitting.
  • Add emitterPosition
  • Add emitterSize
  • Add animation zPosition
  • Add backgroundFilters animation
  • Add compositingFilter animation
  • Add contents animation
  • Add filters animation
  • Add mask animation
  • Add masksToBounds animation
  • Add sublayers animation
  • Add sublayerTransform animation
  • Add instanceBlueOffset animation
  • Add UI to show current animation properties
  • Add UI to be able to change current animation properties

coreanimations's People

Contributors

lfcj avatar

Watchers

 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.