MatthewBJane / ThemePark

Fun ggplot themes for popular culture
http://matthewbjane.com/ThemePark/
MIT License
196 stars 13 forks source link

Add `theme_alien` #25

Closed lcpilling closed 1 year ago

lcpilling commented 1 year ago

New theme using the palette from the film ALIEN. Yes I know, just shades of green. But I love the asthetic of the films.

image

Created using

movies = ggplot2movies::movies |> 
  mutate(budget=budget/1000000) |>
  filter(year>=1973 & budget>0.5) 

ggplot(movies, aes(x = budget, y = rating)) +
  labs(
    title="IMDB movies between 1873 and 2022", subtitle="ALIEN theme by Luke Pilling",
    x = 'Movie budget (million USD)', y = 'Average rating') +
  theme_alien() + 
  geom_point(alpha=0.5, size=2, stroke=NA, color = alien_theme_colors["medium"]) + 
  geom_smooth(method = 'lm', lwd=0.5, 
    color = alien_theme_colors["lighter"], 
    fill = alien_theme_colors["light"])
MatthewBJane commented 1 year ago

I really like this! Do you think there is a bit more of a distinctive font you could use instead?

lcpilling commented 1 year ago

I did look at others available, but the font used on the posters is not exactly distinctive!

image

I have pushed a commit changing it to "Archivo Black" - what do you think? (it also helps putting spaces between the letters for the word ALIEN...)

image

MatthewBJane commented 1 year ago

ah yes I like this! I think the fonts generally should just be a good bit different than the defaults. Just my opinion. This looks great though. I will go ahead and merge