Latest 1.1
License WTFPL
Platforms ios 5.0, osx 10.7, requires ARC
Frameworks QuartzCore

Copy of warrenm/AHEasing that disappeared breaking pods which required it as a dependency.


A supplemental library of easing functions for C, C++, and Objective-C

The useful portion of this project consists of two parts:

  1. A stand-alone easing function library, implemented in C (easing.h/easing.c)
  2. CAAnimation category methods to more easily use easing in your Core Animation projects

Supported functions

The following types of easing functions are planned to be supported:

  • Linear
  • Quadratic
  • Cubic
  • Quartic
  • Quintic
  • Sine
  • Circular
  • Elastic
  • Bounce
  • Back

Each of these has corresponding ease-in, ease-out, and ease-in-out variants. The core easing functions are implemented as C functions that take a time parameter and return a progress parameter, which can subsequently be used to interpolate any quantity.


The design goals of AHEasing are:

  • To be as fast as conceivably possible while maintaining human readability
  • To be portable to any system with a C runtime
  • To elucidate the mathematical underpinnings of common easing functions


This work is a spiritual descendent (not to say derivative work) of works done by the following individuals:

Latest podspec

    "name": "AHEasingPod",
    "version": "1.1",
    "summary": "A supplemental library of easing functions for C, C++, and Objective-C.",
    "homepage": "",
    "license": {
        "type": "WTFPL",
        "file": "COPYING"
    "authors": {
        "Warren Moore": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1"
    "platforms": {
        "ios": "5.0",
        "osx": "10.7"
    "source_files": [
    "public_header_files": [
    "frameworks": "QuartzCore",
    "requires_arc": true

Pin It on Pinterest

Share This