Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hex logo for webchem #252

Open
Aariq opened this issue May 7, 2020 · 19 comments
Open

hex logo for webchem #252

Aariq opened this issue May 7, 2020 · 19 comments
Labels
enhancement New feature or enhancement help wanted We would appreciate help with this issue

Comments

@Aariq
Copy link
Collaborator

Aariq commented May 7, 2020

The webchem package could use a logo. The natural choice is, of course, a benzene ring, but it would be great if it indicated a little more about what webchem does.

@stitam
Copy link
Contributor

stitam commented May 7, 2020

How about a chemical factory icon like one if these?
https://www.shutterstock.com/image-vector/set-factory-manufacturing-icon-black-glyph-1473454799
it is not what webchem does, but people will probably get the idea:)

@Aariq
Copy link
Collaborator Author

Aariq commented May 7, 2020

I also thought of maybe incorporating a database icon, but that icon is so terribly boring.

@jmorim
Copy link

jmorim commented May 7, 2020

I whipped something up today, thoughts?

webchem_logo

@andschar
Copy link
Contributor

andschar commented May 8, 2020

I whipped something up today, thoughts?

webchem_logo

Looks a bit like a spider web in my opinion and a bit too symmetric for my taste.

@andschar
Copy link
Contributor

andschar commented May 8, 2020

I like the idea of combining something chemical, like the mentioned benzene ring and something data related. Maybe a cloud logo instead of the db logo?

@stitam
Copy link
Contributor

stitam commented May 8, 2020

Thanks @jmorim for joining the discussion! Even though "web" is present in the name of the package, because of ChemSpider, I think it is better to avoid any association with spiders.

@stitam
Copy link
Contributor

stitam commented May 8, 2020

Maybe a cloud logo instead of the db logo?

If it's a cloud, then the chemicals in it had better be harmless;)
or fun, like N2O:D

@jmorim
Copy link

jmorim commented May 8, 2020

webchem_logo_v2
Looking better?

@Aariq
Copy link
Collaborator Author

Aariq commented May 9, 2020

Here's another idea. BTW, I like the web in the previous one, but would love a way for "webchem" to be inside of the hexagon.
logo

@stitam
Copy link
Contributor

stitam commented May 10, 2020

@stitam stitam added the enhancement New feature or enhancement label May 11, 2020
@andschar
Copy link
Contributor

I also think the "webchem" should be inside the hexagon. The beaker database is also a nice idea :)

@Aariq Aariq added the help wanted We would appreciate help with this issue label Nov 28, 2022
@PythonCoderUnicorn
Copy link

i design hex logos, i made one for chemr

here are 2 designs i came up with.

Screen Shot 2022-12-01 at 9 47 09 AM

@stitam
Copy link
Contributor

stitam commented Dec 1, 2022

Love them! They show that webchem is a data retrieval package and the package is about chemicals. I prefer the one the right. Thanks @PythonCoderUnicorn!

@PythonCoderUnicorn
Copy link

Lovely beans,

here is the second logo design. I always find that positioning the logo in the README to be best as followed:

<img height='200' align='right' src=" <path>" </>

webchem 2

Happy to help ! 💯

@dmi3kno
Copy link

dmi3kno commented Dec 2, 2022

We need a Github card. I am concerned about your use of proprietary Futura font. Would you consider switching to DM Sans (or alternatively to Jost/Kumbh Sans/Red Hat Text/Questrial/Nunito)?

library(magick)
#remotes::install_github("dmi3kno/bunny")
library(bunny)

wbch_hex <- image_read("~/Downloads/205117650-4850c419-b095-426e-a2af-887035f91c61.png")

fg_col <- "#344a80"
bg_col <- "white"

# this will write into documentation folder where it needs to be
wbch_hex %>%
  image_scale("200x200") %>%
  image_write("man/figures/logo.png", density = 600)

wbch_hex_gh <- wbch_hex %>%
  image_scale("400x400")


gh_logo <- bunny::github %>%
  image_scale("40x40")

# Alternative texts
# - Your chemistry companion on the web.

wbch_ghcard <- image_canvas_ghcard(fill_color = bg_col) %>%
  image_composite(wbch_hex_gh, gravity = "East", offset = "+100+0") %>%
  image_annotate("Your chemistry", gravity = "West", location = "+100-50",
                 color=fg_col, size=60, font="Jost", weight = 500) %>%
  image_annotate("companion in R.", gravity = "West", location = "+100+20",
                 color=fg_col, size=60, font="Jost", weight = 500) %>%
  image_compose(gh_logo, gravity="West", offset = "+100+100") %>%
  image_annotate("ropensci/webchem", gravity="West",
                 location="+150+100", size=45, font="Ubuntu Mono") %>%
  image_border_ghcard(bg_col) 

wbch_ghcard %>% image_scale("50%")

wbch_ghcard %>%
  image_write("data-raw/wbch_ghcard.png", density = 600)

wbch_ghcard

If you add a white border around the logo, we can make the gh card dark blue.

@PythonCoderUnicorn
Copy link

the font used is Jost.

@dmi3kno
Copy link

dmi3kno commented Dec 2, 2022

Perfect. I updated the code above

@stitam
Copy link
Contributor

stitam commented Jan 9, 2023

Thanks @dmi3kno for providing the script for generating the GH card! I'm unsure what these are for, can you explain this a bit? An informative link would be perfect :) Is this something that would automatically show up on e.g. social media platforms when we share a link to the repo?

@dmi3kno
Copy link

dmi3kno commented Jan 10, 2023

Github social preview cards allow you to use more informative image when sharing the link to the repo. You need to upload this image to the respective section in Github settings for the repo, wait a few min and the social preview card will appear when you share the link on social media.

Here's how social preview card looks for my package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement help wanted We would appreciate help with this issue
Projects
None yet
Development

No branches or pull requests

6 participants