Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
foo123 committed Dec 15, 2022
1 parent 9171c5c commit a8e3748
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,21 @@ const tween = Tween({
keyframes: {
"0%": {
shape: arc,
length: 0,
style: {
stroke: 'cyan'
},
easing: 'ease-out'
},
"25%": {
"10%": {
shape: arc,
length: 1,
style: {
stroke: 'cyan'
},
easing: 'ease-out'
},
"30%": {
shape: ellipse,
style: {
stroke: 'orange'
Expand All @@ -158,7 +167,7 @@ const tween = Tween({
},
easing: 'ease-out'
},
"75%": {
"70%": {
shape: square,
transform: {
rotate: {
Expand All @@ -174,8 +183,25 @@ const tween = Tween({
},
easing: 'ease-out-back'
},
"90%": {
shape: square,
transform: {
rotate: {
origin: {
x: square.getCenter().x,
y: square.getCenter().y
},
angle: -45
}
},
style: {
stroke: 'blue'
},
easing: 'ease-out'
},
"100%": {
shape: square,
length: 0,
transform: {
rotate: {
origin: {
Expand All @@ -190,7 +216,7 @@ const tween = Tween({
}
}
},
duration: 4000,
duration: 5000,
delay: 400
});
plane.add(tween);
Expand Down

0 comments on commit a8e3748

Please sign in to comment.