# emoji-mosaic **Repository Path**: chenhj9527/emoji-mosaic ## Basic Information - **Project Name**: emoji-mosaic - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-30 - **Last Updated**: 2024-10-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Emoji Mosaic Turn an image into a mosaic made of emojis. [Live site](http://ericandrewlewis.github.io/emoji-mosaic/) ## Figure out the average color value of each Emoji? What is the source for the Emoji character? Using the actual system character seems exceedingly hard — I don't think I got [node-canvas](https://github.com/Automattic/node-canvas) installed correctly, and even so I don't believe it would render the Apple Emoji system font. Maybe extract emoji characters from another library? [Gemoji did it](https://github.com/github/gemoji/tree/master/images/emoji/unicode) [The Apple ttf library might be unlicensed](http://stackoverflow.com/questions/22337295/license-of-apple-color-emoji-ttf/22949517#22949517)? Get a package to [read pngs](https://github.com/niegowski/node-pngjs) and make a lookup table? Use a prebaked lookup table [like in emojicam](https://github.com/AlexWiles/emojicam/blob/master/emojicam/emoji-colors-jpg.js)? ## How to layout the emoji? The Emoji should be tightly packed, laid on top of each other, and skewed angle to give it an organic vibe. To get an organic layout (rather than a grid layout) [Poisson-Disc sampling is cool](http://bl.ocks.org/mbostock/dbb02448b0f93e4c82c3), here's a [great example](http://bl.ocks.org/mbostock/19168c663618b7f07158).