• Stars
    star
    229
  • Rank 174,666 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 13 years ago
  • Updated about 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A jQuery plugin that provides an abstraction over 2d and 3d transforms - Project Owner: jtaby

TransformJS 1.0 Beta

2D and 3D transforms as regular CSS properties you can set using .css() and animate using .animate()

Overview

CSS Transforms were first introduced in WebKit in 2007, and have now reached mass-adoption by all the major browser vendors. This is great news for web developers, especially in the case of 3D transforms which are hardware-accelerated, resulting in extremely smooth animations and responsive applications.

The API for applying transforms however, does not scale to complex applications which require intricate and complex management of transformations. TransformJS attempts to identify and address these problems, allowing developers to make use of transforms without having to be encumbered by cross browser issues, and low-level APIs.

Here's a snippet of code that uses TransformJS to apply multiple 3d transformations to the same element, relative to their current value, and animate the changes:

    $('#test').animate({
      translateY:'+=150',
      scale:'+=2',
      rotateY: '+=6.24',
      rotateX: '+=3.15',
      rotateZ: '+=3.15'
    },1500);    

For more detailed usage and overview information, please visit the project homepage at http://transformjs.strobeapp.com

License

Copyright (c) 2011 Strobe Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Back to top

More Repositories

1

sproutcore

JavaScript Application Framework - JS library only
JavaScript
2,147
star
2

guides

The guides source. Build and push to https://github.com/sproutcore-guides/sproutcore-guides.github.com.
CSS
110
star
3

abbot

SproutCore Build Tools [deprecated]
Ruby
88
star
4

demos

The demos source. Build and push to https://github.com/sproutcore-demos/sproutcore-demos.github.com.
JavaScript
58
star
5

Todos-Example

JavaScript
52
star
6

docs

The documentation source. Build and push to https://github.com/sproutcore-docs/sproutcore-docs.github.com.
JavaScript
14
star
7

build-tools

SproutCore Build Tools
JavaScript
12
star
8

website

The website source. Build and push to https://github.com/sproutcore/sproutcore.github.com.
CSS
9
star
9

showcase

The showcase source. Build and push to https://github.com/sproutcore-showcase/sproutcore-showcase.github.com.
JavaScript
7
star
10

sproutcore-website-old

Code for the Official SproutCore Website
Ruby
6
star
11

rich-text-editor

A rich text editor for SproutCore.
JavaScript
6
star
12

getting-started

JavaScript
4
star
13

sproutcore.github.io

The live website. Do NOT edit this directly, it must be built from the code in sproutcore/website.
HTML
4
star
14

greenhouse

SproutCore's Page Designer (work-in-progress)
JavaScript
2
star
15

debug-apps

Apps for working on and debugging specific components of SproutCore
JavaScript
2
star
16

sproutcore_next

An attempt to "modernize" SproutCore
JavaScript
1
star
17

extensions

High quality extensions to the SproutCore framework
JavaScript
1
star
18

sproutcore-sublime-text-2-package

A SproutCore package for Sublime Text 2
JavaScript
1
star
19

sproutcore-ace

Ace editor for SproutCore
JavaScript
1
star
20

TransformJS_site

The Website for TransformJS
Ruby
1
star