kun-long-animation.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "keyframe": {
  3. "parent": {
  4. "0": {
  5. "rotation": [0, 0, 0]
  6. },
  7. "100": {
  8. "rotation": [0, 6.28, 0]
  9. }
  10. },
  11. "child": {
  12. "0": {
  13. "position.y": -0.5
  14. },
  15. "100": {
  16. "position.y": 0.5
  17. }
  18. }
  19. },
  20. "animation": {
  21. "parent": {
  22. "keyframe": "parent",
  23. "duration": 60,
  24. "ease": "linear",
  25. "loop": -1
  26. },
  27. "child": {
  28. "keyframe": "child",
  29. "duration": 4,
  30. "ease": "ease-in-out",
  31. "direction": "both",
  32. "loop": -1
  33. },
  34. "parent2": {
  35. "keyframe": "parent",
  36. "duration": 60,
  37. "ease": "linear",
  38. "loop": -1
  39. },
  40. "child2": {
  41. "keyframe": "child",
  42. "duration": 30,
  43. "ease": "ease-in-out",
  44. "direction": "both",
  45. "loop": -1
  46. },
  47. "parent3": {
  48. "keyframe": "parent",
  49. "duration": 20,
  50. "ease": "linear",
  51. "loop": -1
  52. },
  53. "child3": {
  54. "keyframe": "child",
  55. "duration": 20,
  56. "ease": "ease-in-out",
  57. "direction": "both",
  58. "loop": -1
  59. },
  60. "parent4": {
  61. "keyframe": "parent",
  62. "duration": 100,
  63. "ease": "linear",
  64. "loop": -1
  65. },
  66. "child4": {
  67. "keyframe": "child",
  68. "duration": 10,
  69. "ease": "ease-in-out",
  70. "direction": "both",
  71. "loop": -1
  72. }
  73. }
  74. }