GuangchuangYu / hexSticker

:sparkles: Hexagon sticker in R
757 stars 167 forks source link

Feature Request: shiny app w/ toggle for border, background, title colours #84

Open stevecondylios opened 4 years ago

stevecondylios commented 4 years ago

Just an idea, but it would be very cool to made a small shiny app that could allow the user to toggle colours using sliders (rather than typing in hex colours).

Could probably include other sticker attributes too, but colours would be very useful to start.

jhk0530 commented 4 years ago

@stevecondylios Awesome idea, can I make shiny application with this idea?

stevecondylios commented 4 years ago

@jhk0530 That would be great. It could save a lot of finicky copy/pasting.

Each time testing a new colour combination, I'd go to a hex colour website like this one, choose colours, copy the hex code into the R script, copy the old hex code into the comments, then run the code. Here's an example of a funny line of code where I kept hex colours in the comments (did the same for fill and title). I kept the codes because it took me so many iterations to settle on the colour combinations that worked well together.

A shiny app may enable all of that repetitive ~30 second workflow to be done in with the slide of a widget/toggle on screen. For people not great at matching colours (like me), it would be very useful and a great time saver.

jhk0530 commented 4 years ago

@stevecondylios I made it, and also planned to CRAN submission.


image


Here's github link polaroid and shinyapps.io link :cloud:

but still, it needs improvement,

Any idea / comment / suggestion, will be very helpful.

Bests,

stevecondylios commented 4 years ago

@jhk0530 It's brilliant! A very useful tool - nice work!

It certainly does the things I'll use it for (checking combinations of background/title/border colours).

Some minor ideas

Awesome work!

jhk0530 commented 4 years ago

@stevecondylios Thanks, I'll note them too.