physics_spring_animation
Animates DOM elements with spring physics by setting mass, tension, and friction parameters for natural motion.
Instructions
弹簧动画效果
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"properties": "<properties>"
},
"name": "physics_spring_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | 质量 | |
| target | Yes | 目标元素选择器 | |
| tension | No | 张力 | |
| friction | No | 摩擦力 | |
| properties | Yes | 动画属性 |