Simple function that abstracts sprite mapping in Three.js | Hacker News Reader