Giter Club home page Giter Club logo

openmoji-mosaic's Introduction

OpenMoji Mosaic

Example

Algorithm

Demo Video

Design of an algorithm for analyzing and sorting graphics. Demonstration by creating a mosaic graphic.

The script anlyses the emoji to be displayed and rasterizes it by color values. On this matrix an emoji from the sorted library is placed, which corresponds to the closest matching average color value. Search, selection and placement is done by the automation library PyAutoGUI. Sample database: OpenMoji (72 x 72 px, Color)

How to use

  • Make sure to have installed PyAutoGUI and Python3.
  • Unzip the images folder or use your own set of images.
  • Run the openmoji-mosaic.py in the same folders as the images or adjust the file directory specification in the script

Options

  • Use the bottom part of the code to clean and sort a custom set of images to use them as mosaic bits.
  • Change the "goal.png" to get a different mosaic as result.

Appendix

Sources

Notes

Learn more on my website: moritzkuhn.com

OpenMoji is published under the Creative Commons Share Alike License 4.0: CC BY-SA 4.0

Last tested 2020.

openmoji-mosaic's People

Contributors

rgba1111 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.