Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rubencodes/flat-icon-generator

Creates a flat icon from a given image file.
https://github.com/rubencodes/flat-icon-generator

Last synced: about 2 months ago
JSON representation

Creates a flat icon from a given image file.

Awesome Lists containing this project

README

        

# Flat-Icon-Generator (flat.style)

## What
Creates an Android-style flat icon from a given image file. Works with most common image formats, though optimized for high-quality PNGs. 100% functional offline on Chrome after first visit.
### Examples:
![Flash Icon](examples/flash.png?raw=true "Flash Icon")
![Apple Icon](examples/apple.png?raw=true "Apple Icon")
![Twitter Icon](examples/twitter.png?raw=true "Twitter Icon")
![Laptop Icon](examples/laptop.png?raw=true "Laptop Icon")

## How
FIG uses HTML5 Canvas to draw a shadow of a given opacity at a given angle from the source icon. You can also set a background of any color in a square or circular shape. Offline capabilities are provided via service workers (using Google's [sw-toolbox](https://github.com/GoogleChrome/sw-toolbox) library).

## Who
Created with love by [@RubenCodes](https://twitter.com/rubencodes). This project is licensed under the terms of the MIT license.