node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป



Very simple utility to return the position of animation frames within a spritesheet.


Currently supports automatically finding the frames within a spritesheet given its width and height.

var sff = require('spritesheet-frame-finder');
var spritesheetWidth = 100;
var spritesheetHeight = 100;
var frameWidth = 10;
var frameHeight = 10;
var frames =, spritesheetHeight,
  frameWidth, frameHeight);