Skip to content

Commit d751a58

Browse files
committed
update readme and add in gsap transforms:
1 parent 88f63dc commit d751a58

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ We'll be using CodePen for both the teaching demos and the homework so that we c
99
_Password to all decks is WAW!_
1010

1111
## Slides:
12-
* [Introduction](http://slides.com/vlh/waw-intro?token=eE_f3_XU)
12+
* [Introduction](http://slides.com/vlh/sfintro?token=tnZ11s1p#/)
1313
* [Essentials of CSS animation](http://slides.com/vlh/waw-cssanimation?token=emxTzAcD)
1414
* [Basics of TweenMax & TimelineMax](http://slides.com/sdrasner/waw-gsap?token=rg606T3G)
1515
* [Classic animation principles worth stealing](https://www.slideshare.net/secret/1yK01w1F4bNpNz)
1616
* [SVG animation](http://slides.com/sdrasner/waw-svg-animation?token=D-wwuju5)
17-
18-
## Further Slide Resources:
1917
* [Principles of UI/UX animation](http://slides.com/sdrasner/waw-principles-ux?token=258_EYo8)
2018
* [SVG workflow and optimization](http://slides.com/vlh/waw-svgworkflow?token=V4aSNC9y)
21-
* [The Web Animation API](http://slides.com/vlh/waw-waapi?token=wz6rRkTn)
2219
* [Web Animation Performance](http://slides.com/vlh/waw-webanimationperf?token=3xSwGsW5)
2320
* [Intro to Animating with React](http://slides.com/vlh/intro-anim-react?token=CNlmb06B#/)
21+
22+
## Further Slide Resources:
2423
* [Animating with React cont.](http://slides.com/sdrasner/waw-react?token=Pmgv8l9k)
24+
* [The Web Animation API](http://slides.com/vlh/waw-waapi?token=wz6rRkTn)
2525
* [Mo.js](http://slides.com/sdrasner/svg-workshop-mojs?token=wAkiI-Pe)
2626

2727
## CodePen Collections:

gsap-cheatsheet.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,31 @@ repeatDelay:n // delay in between iteration
3838

3939
//-------------------------------------------------------
4040

41+
// Transforms in GSAP
42+
// comments show CSS equivalent
43+
44+
x: 100 // transform: translateX(100px)
45+
y: 100 // transform: translateY(100px)
46+
z: 100 // transform: translateZ(100px)
47+
// you do not need the null transform hack or hardware acceleration, it comes baked in with
48+
// force3d:true. If you want to unset this, force3d:false
49+
scale: 2 // transform: scale(2)
50+
scaleX: 2 // transform: scaleX(2)
51+
scaleY: 2 // transform: scaleY(2)
52+
scaleZ: 2 // transform: scaleZ(2)
53+
skew: 15 // transform: skew(15deg)
54+
skewX: 15 // transform: skewX(15deg)
55+
skewY: 15 // transform: skewY(15deg)
56+
skewZ: 15 // transform: skewZ(15deg)
57+
rotation: 180 // transform: rotate(180deg)
58+
rotationX: 180 // transform: rotateX(180deg)
59+
rotationY: 180 // transform: rotateY(180deg)
60+
rotationZ: 180 // transform: rotateZ(180deg)
61+
perspective: 1000 // transform: perspective(1000px)
62+
transformOrigin: '50% 50%' // transform-origin: 50% 50%
63+
64+
//-------------------------------------------------------
65+
4166
// DrawSVG
4267
// Use percentage, absolute values, or boolean
4368

0 commit comments

Comments
 (0)