Menu

How to make a pixel art waterfall animation (free, in your browser or from the command line)
πŸ“°

How to make a pixel art waterfall animation (free, in your browser or from the command line)

DEV Community: tutorialΒ·rivskiy skulitomΒ·13 days ago
#qDGXSbUE
#devtotutorial#devto#dev#waterfall#pixelbolt
Reading 0:00
15s threshold

Written with AI help (Claude), checked against the project's docs. Pixelbolt is made by our small lab, so we're not neutral; every number below comes from a run on 3 November 2026 with Pixelbolt 0.11.0 from npm.

This is a looping pixel art waterfall for a 2D game: water leaves a mossy stone ledge in an arc, lands in a basin and spills over its lip. It's made with Pixelbolt, an MIT-licensed tool that simulates the water as particles on a pixel grid and bakes each frame into palette pixels.

What you get

The waterfall preset, unchanged, rendered by pixelbolt gif at 6Γ— on a dark background.

48 Γ— 64 pixels, 24 frames of 60 ms (a 1.44 s loop at 16.67 fps)

9 palette colours on a transparent background (the GIF above is blended onto a dark colour and enlarged 6Γ—)

a 384 Γ— 192 sprite sheet (8 Γ— 3 cells), a TexturePacker-style atlas JSON with each frame's rectangle and duration, a GIF, an animated PNG and single frames

The browser way

The guide gives four steps:

Open the waterfall in the playground from the…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.