Butterfly — Free Pixel Art Effect & Sprite Sheet
An iridescent butterfly wanders a loop in bursts of quick wingbeats and open-winged glides, its veined, spotted wings shedding a twinkling trail of glowing dust. Free for commercial games (MIT): recolor it, scrub every frame and export a sprite sheet, GIF, APNG or engine-ready files right here in the browser.
Swap the ramp, mirror or rotate, reroll the seed, pick a backdrop — then download. Nothing leaves your browser.
Quick looks in the editor
Specifications
- Frame size
- 128 × 88 px
- Total frames
- 96
- Frame rate
- 30 fps (33 ms per frame)
- Duration
- 3.2 s per cycle
- Playback
- seamless loop
- Sprite sheet
- 1152 × 968 px transparent PNG
- Sheet grid
- 9 × 11 cells of 128 × 88 px
- Empty cells
- 3 (padding at the end of the grid)
- Pivot (origin)
- (64, 44) px from the top-left corner
- Category
- Critters
- Default ramp
- #0b0f24
- #16224f
- #1f3f8a
- #2f74c8
- #4fb4f0
- #a0e6ff
- #ffffff
Using Butterfly in Godot 4, Phaser 3 and Unity
The export packs all 96 frames of 128 × 88 px row-major into a 1152 × 968 px transparent PNG — 9 columns by 11 rows. Every engine below reads that same grid, and the Aseprite-style JSON that ships with the sheet lists each frame's rectangle and the pivot, so you never have to re-slice by hand.
Godot 4
The editor's Godot ZIP pairs the PNG with a SpriteFrames .tres holding 96 AtlasTexture regions at 30 fps with loop on. Keep both files in one folder, assign the .tres to an AnimatedSprite2D and import the texture with Filter set to Nearest.
It loops on its own — call stop() when the effect should end.
# pixjuice-critters-butterfly.tres: SpriteFrames with 96 AtlasTexture frames of 128x88, 30 fps, loop true
var anim := AnimatedSprite2D.new()
anim.sprite_frames = preload("res://fx/butterfly/pixjuice-critters-butterfly.tres")
anim.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
add_child(anim)
anim.play("default")
Phaser 3
The Phaser ZIP carries a JSON Array atlas next to the PNG. Load them together, then build the animation from the frame names in order:
// preload(): keep both files together
this.load.atlas("butterfly", "pixjuice-critters-butterfly.png", "pixjuice-critters-butterfly.json");
// create(): the atlas names its frames frame_0000 … frame_0095
this.anims.create({
key: "butterfly",
frames: this.anims.generateFrameNames("butterfly", { prefix: "frame_", start: 0, end: 95, zeroPad: 4 }),
frameRate: 30,
repeat: -1,
});
this.add.sprite(x, y, "butterfly", 0).play("butterfly");
Unity
Slice the sheet with Grid By Cell Size and the numbers below; keep the first 96 sprites and give each the same pivot. The editor's Unity ZIP includes them as slice-spec.json for the 2D Sprite package.
// Sprite Editor > Grid By Cell Size: 128 x 88 (9 columns x 11 rows)
// Keep sprites frame_0000 ... frame_0095 (3 empty cells at the end are padding)
// Pivot: 0.500, 0.500 (normalized, bottom-left origin)
// Filter Mode: Point Compression: None Max Size: 2048 Mesh: Full Rect
License: MIT, free for commercial use
Butterfly is rendered by the open-source pixelfx library — MIT License, Copyright © 2026 Patch and Hugo Duprez, with parts adapted from Sprite Fusion's VFX and Hollow Crown. Use the sheets in commercial games, edit them and ship them; keep the MIT notice with any source you redistribute. No account, no upload, no attribution screen.
FAQ
How many frames does the Butterfly effect have?
96 frames at 30 fps — seamless loop, 3.2 s per cycle. The packed sprite sheet is 1152 × 968 px, laid out as 9 × 11 cells of 128 × 88 px.
Does Butterfly loop seamlessly?
Yes. Its 96 frames tile into a 3.2 s cycle, so the last frame hands back to the first without a jump — set the animation to repeat in your engine and let it run for as long as the Critter effect is needed.
Is Butterfly free for commercial use?
Yes. pixelfx is MIT-licensed, so the 128 × 88 px sheet you export can ship in a commercial game with no fee and no attribution screen. Keep the MIT notice if you also redistribute the effect's source code.
Can I change the colors of Butterfly?
Yes. The editor swaps the 7-stop default ramp for any of 27 preset ramps, a Lospec palette or your own hex stops, resampling it to the same number of steps so the shading survives. Save the palettes you like, then apply one to a whole batch of effects at once.
What does the export panel produce?
A transparent PNG sheet with an Aseprite-style JSON sidecar (frame rectangles, durations, pivot), a GIF, a lossless APNG, a Godot 4 .tres, a Phaser 3 atlas, a Unity slice spec, the effect's JavaScript source and a matching sound effect — all rendered in the browser from the same frames shown on this page.
Bat
112 × 80 · 72 frames · seamless loop
Bird
112 × 80 · 72 frames · seamless loop
Eyeball
96 × 108 · 96 frames · seamless loop
Fish school
136 × 80 · 144 frames · seamless loop
Flying skull
96 × 132 · 72 frames · seamless loop
Frog
112 × 88 · 78 frames · seamless loop