A component for a fast JavaScript spritesheet maker - this module calculates the image placing