Open andrewpbray opened 3 years ago
Feel free to get more creative than a blank hex too. Or we could post the challenge to the 375 students. Like a course mascot.
How does the new one look?
Can't figure out how to update the favicon though...
And a contest seems like a great idea!
Looks great! In fact, I'd say go ahead and swap out a larger version for napoleons march as the splash image on the main page. Not sure about the favicon...
Done!
👍👍
I'll leave this issue open just for the favicon whenever we get to it.
Can you add the .r script that was used to create the hex. It'll be useful to point students to later on. Also useful for me in Stat 20, where I may do a similar thing there with a different color scheme (and with attribution to the fine design!).
I didn't use R to create the hexagon, I just whipped it up in Photoshop. This was because I wasn't sure how to feed the Greek characters to the script. But I can try to toy around with it some more to see if I can reproduce it in R, maybe passing in the characters directly will help
Ah, gotcha.
A reproducible clone will suffice, using Stat 375.
Well, I've added the code in ./hex.R
, however there are a few problems:
It appears that the hexSticker package doesn't accept an expression object as the text string. So no Greek letters I'm afraid.
I can't figure out how to import special fonts into R (I had done this a while ago, but I lost the code, and none of the online suggestions were working...). So the sticker is just using the default font.
There appears to be some weird scaling going on when importing an image file. hexSticker is just using the r default imports, but as you can see, the code as written stretches the import BEAR_LARGE.png file, even when I set asp = 1
.
Use https://github.com/GuangchuangYu/hexSticker to make (empty?) hex sticker to replace the blog icon in
config.toml
.