generate_gsap_animation
Generate GSAP animation code for web elements by defining target, animation type (to, from, fromTo, set), properties, duration, delay, and easing.
Instructions
生成基础GSAP动画代码,支持多种动画类型和属性
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ease | No | 缓动函数 | power2.out |
| delay | No | 延迟时间(秒) | |
| target | Yes | CSS选择器或元素引用 | |
| duration | No | 动画持续时间(秒) | |
| properties | Yes | 动画属性对象 | |
| animationType | Yes | 动画类型 |