adokter / bioRad

R package for analysis and visualisation of biological signals in weather radar data
http://adokter.github.io/bioRad
Other
29 stars 16 forks source link

Create hex logo #137

Closed peterdesmet closed 6 years ago

peterdesmet commented 6 years ago

I want to create a hex logo for the bioRad package. Hex logos are becoming a bit of a norm for R packages. Once we have one, we can order stickers and decorate our laptops. βœ¨πŸ’»βœ¨

Here's a first attempt.

logo_green logo_purple

Todo:

adokter commented 6 years ago

I'm thinking we might have to keep it very simple for a logo.

How about a typical bloom, or maybe even a layering event like in the bioRad paper

KBRO20170514_plot_dbz.pdf kbro20170514_plot_dbz

adokter commented 6 years ago

Of the two I like green as a color better

peterdesmet commented 6 years ago

Nice, do you have that bloom without the gray grid background (just white)? Or the pvol file and code to recreate it?

CeciliaNilsson709 commented 6 years ago

Nice!

I like the purple one with the green blooms in it 😬

Once we have one, we can order stickers and decorate our laptops. βœ¨πŸ’»βœ¨

mhm...

peterdesmet commented 6 years ago

Testing with the single bloom + url

logo_purple_2 logo_green_2

  1. I'll drop the URL: not readable anyway, it's fairly easy to google and it will make the logo cleaner.
  2. Bloom is cut off on the left, but I don't think that is very noticeable? Can maybe be fixed in replotting?
  3. The plot is now positioned as plot/radar centre = logo centre. That makes it a bit off-kilter, because the bloom is not symmetrical, but I kinda like that.
  4. I also think the purple one is visually stronger than the green one 😬(I also made it a tad more transparent)
CeciliaNilsson709 commented 6 years ago

They look great! I don't think anyone will notice that the bloom is cut off. After consulting an expert @adokter and I have now agreed on the purple one too 😌

peterdesmet commented 6 years ago

@adokter and I have now agreed on the purple one too

πŸ‘πŸ‘Yay, purple! Agreeing on colours is one of the hardest things to do! πŸ™ƒ

Last thing I need to finalize the logo is the bloom without the gray grid. Or even better: the pvol file and code to recreate that plot.

adokter commented 6 years ago

pvol file here: https://www.dropbox.com/s/2q9l70jn6pymm2u/KBRO20170514_055831_V06?dl=1

Code to make the figure:

pvol=read_pvolfile("KBRO20170514_055831_V06")
my_ppi=project_as_ppi(pvol$scans[[2]],range_max=120000)
p_dbz=plot(my_ppi,xlim=c(-100000,100000),ylim=c(-100000,100000),zlim=c(-10,20))
ggsave("KBRO20170514_plot_dbz.pdf",p_dbz,scale=.75)
peterdesmet commented 6 years ago

@adokter does that code require a running docker?

adokter commented 6 years ago

@adokter does that code require a running docker?

Yes you do ... is that a problem?

peterdesmet commented 6 years ago

Didn't realize read_pvolfile required docker and never had to use it until now. 😬Got it installed and working now. Updated code for plot:

library(bioRad)
library(ggplot2)
pvol <- read_pvolfile("KBRO20170514_055831_V06")
my_ppi <- project_as_ppi(pvol$scans[[2]], range_max = 120000)

plot <- plot(my_ppi, xlim = c(-120000,120000), ylim = c(-120000,120000), zlim = c(-10,20)) + 
          theme_void() + 
          theme(legend.position = "none")

ggsave("bloom.png", plot, bg = "transparent", units = "cm", width = 10, height = 10)
peterdesmet commented 6 years ago

Next/final version: no grid lines, bloom no longer cut off, slight gradient to make plot pop more, while keeping white text readable.

Please let me know πŸ‘πŸ‘Ž if I can add it as the final version to the repo. I'll then also include a high-res version here.

logo_biorad

peterdesmet commented 6 years ago

@adokter @stijnvanhoey @CeciliaNilsson709 ❀️Awesome! Logo included in repo + added to website (pending #143).

Here's the 300dpi hres version:

biorad-hexagon-1 73x2

Now we only need to order stickers. 🀩

plieper commented 6 years ago

Very nice, guys! ;-)