a harbor for the things I love to build

AIOcean

Apps and tools I can't stop making, all docked in one place.

See what I've built

the collection

Things I couldn't stop building

pixfx-rs

  • library
  • Rust
  • Pixel art

A Rust engine that renders the same pixel-art effects natively and in the browser.

Visit project

A hit spark can look right in a sprite sheet and feel different once it plays in the game. Timing, colour and light all matter, especially when a game runs both as a native build and in the browser.

Each effect shares one definition between live playback and export. The same drawing code runs in both, so the spark you review can be the spark a player sees.

Start with an effect from the catalog or write one to match your game. Export it as a sprite sheet for an asset pipeline, or play it live if it needs to react to a character in motion. Both workflows start from the source repository.

  • Catch pixel changesA change to the renderer can alter effects you already use. Tests compare frame hashes to catch unintended changes to the pixels drawn by an effect.
  • Keep light separateA spark can light a scene even when its sprite is small. Sprite sheet export includes separate colour and light images as well as the finished composite.
  • Follow the actionSome effects need to respond to the character they play on. An effect can read the actor or its motion, and it can combine drawn sprite frames with procedural light.

More from the harbor