generate_particles
Draw frame-by-frame particle effects such as dust, sparks, bursts, sparkles, smoke or debris into an Aseprite file at a set origin, using deterministic seeds for repeatable variations.
Instructions
Hand-made-looking particle effects drawn frame by frame.
effects: dust - puffs kicked out sideways at ground level (landing, running) sparks - fast streaks flying out and falling (hits, metal) burst - a ring of pixels expanding and fading (impact, magic) sparkle - twinkling 4-point stars around the point (pickups, shine) smoke - rising, growing, dissolving puffs debris - chunks thrown up under gravity (breaking, explosions) Particles use 2-4 colours (given, or a warm default per effect), shrink and darken as they age, and are deterministic for a given seed.
Args: filename: Aseprite file effect: dust, sparks, burst, sparkle, smoke or debris x, y: Origin in sprite pixels start_frame: First frame (missing frames are added) frames: Length of the effect, 2-24 layer_name: Layer to draw on (created, default "fx") colors: Hex colours, lightest first count: Particles, 1-64 spread: Size multiplier, 0.3-3 seed: Change for a different random variation frame_duration_ms: Duration for added frames
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": {
"filename": "<filename>",
"effect": "<effect>",
"x": "<x>",
"y": "<y>"
},
"name": "generate_particles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| seed | No | ||
| count | No | ||
| colors | No | ||
| effect | Yes | ||
| frames | No | ||
| spread | No | ||
| filename | Yes | ||
| layer_name | No | fx | |
| start_frame | No | ||
| frame_duration_ms | No |