Create a Favicon using only your Browser with Gravit.io

Archived Posts from previous blogs that might still be useful to someone.

Last modified 2020-08-13

Table of content
  1. What is Gravit.io? 💭
  2. Useful Keyboard Shortcuts ⌨
  3. How do Layers work? 👀
  4. Creating a simple Favicon for your site 🎨
  5. Resizing 🔀
  6. Made a favicon? Let me see it! 🎉

What is Gravit.io? 💭

Gravit.io is a browser-based vector graphics software - meaning it allows you to create images using lines, curves, and shapes similar to Adobe Illustrator or Affinity Designer. Unlike those alternatives, however, Gravit offers a free tier and runs completely in your browser (or offline as a PWA with the PRO license). The included cloud storage combos nicely with being browser-based to allow you to start a project on one computer and seamlessly continue working on another computer later - a feature I use all too often.

Some things I've done with Gravit:

Useful Keyboard Shortcuts ⌨

From my time working with vector software, there are a few keyboard 'shortcuts' that I use a lot -

How do Layers work? 👀

One of the common struggles I see with vector software is with Layers. Layers are a powerful tool once understood, but cause a lot of frustration to understand.

So what are they?

Layers are a list of all the assets (lines, shapes, curves, images, etc...) that are on your canvas. Each of these assets forms a layer - and you're looking at everything from a top-down perspective. This means that an item closer to the top of the list would visually cover an item closer to the bottom of the list should they overlap.

In CSS terms, this is identical to z-index. The top of your list is an item with z-index: 9999999999 and the bottom of the list is an item with z-index: 1, with items between scaling accordingly.

Creating a simple Favicon for your site 🎨

So now that we have a bit of the background, I want to walk through a practical example - creating a minimal favicon you can use for a website!

  1. Head to Gravit Designer and create an account if you haven't already.
  1. At the top of the New Design page, enter the width and height as 32px
  1. Click Create
  1. In the top toolbar, select the shapes dropdown and select "Polygon" Menus to find Polygon tool

  2. Drag a shape onto your canvas.

  1. You can adjust the number of points and how round your corners are under the "Appearance Panel" - I'll be using 6 Points and 1 corner roundness Updated Polygon with 6 points and 1 corner roundness

  2. Click the fill bubble and change the fill type from Color Fill to Linear Gradient. Menus to change the fill type to Linear gradient

  1. Click off of your shape - this will give you access to the page's attributes.
  2. Change the color fill of the page to transparent by dragging the bottom slider (Opacity slider) under the color picker all the way to the left.
  1. Click File > Export > PNG Image Where to find the export menu

Awesomesauce - We have our 32x32 favicon! ✨

Resizing 🔀

So now that we have our 32px favicon, how do we resize it to other favicon sizes? Well, Gravit makes that a 5 step process!

  1. Resize your page to the newly desired size.
  1. Ctrl + a to select everything

  2. Click Transform under the position/alignment attributes

  3. Set the Scale values to your calculation from step 1 (50 for 16) Transform panel button, Transform settings set to 50 per cent, and the apply button to click

  4. Click Apply and re-center your icon on your canvas Polygon realigned center and middle of canvas

And now you're ready to export your new size!

Made a favicon? Let me see it! 🎉

If you made a favicon with this process, tweet at me with your image and where you're using it! I'd love to see what you made! 💕