Skip to contents

Just a small vignette to explain how to create your own logo.

Load R package

# loading library
library(hexSticker)
library(showtext)

# automatically use showtext to render text for future devices
showtext_auto()
  • hexSticker: allows to build your sticker
  • showtext: allows to use various types of fonts

Look for the right image

This part is not mandatory since you can use a graph instead of an image. For our logo, we used a vector graphic found on freesvg.org and then we’ve modified it a bit to reach our needs.

The original
The original

Build your sticker

# load the right font
font_add_google("Courier Prime")

# print
print(
  sticker(
    "https://i.imgur.com/QUzPuJK.png",
    package = "ontodive",
    p_family = "Courier Prime",
    p_size = 24,
    p_y = .6,
    s_x = 1,
    s_y = 1.3,
    s_width = .8,
    h_color = "#fdc700",
    h_fill = "#003c6c",
    url = "sesjo.github.io/ontodive",
    u_color = "#13a5dc",
    u_size = 5,
    spotlight = T,
    asp = 0.8,
  )
)
Our logo!!

Our logo!!