Code Monkey home page Code Monkey logo

tempestacons's Introduction


A set of 120 weather based svg icons.


Rendering png's

The render-pngs.sh script will render png's from the icons.svg file by looping over the content of the index.txt file. Only objects whoes id's are inside the index.txt file will be rendered.

  • The script requires Inkscape and sed.

  • You can provide an icon size (single number). If you skip it, the icons default dimensions will be used.

  • You can provide an icon color. If you skip it, the default color will be used.

  • The script doesn't overwrite files. Delete the file you want to overwrite before executing the script.

NOTE:
If you change the icon color swatch in the icons.svg file, update the default_color variable inside the render-pngs script, otherwise the script won't be able to change the png color during rendering.


Pseudo-artboards

Since inkscape doesn't have artboards, the icon.svg file provides pseudo-artboard support by grouping each icon with a rectangle, which represents the icon's canvas (32x32 in this set.)

The groups are given id's which represent the name of the exported png.

NOTE:
Color swatches are provided in the icons.svg file for easily changing the icon and grid colors as well as for hiding the icon-canvas rectangles before exporting.

tempestacons's People

Contributors

zagortenay333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.