hexSticker icon indicating copy to clipboard operation
hexSticker copied to clipboard

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

Open stevecondylios opened this issue 5 years ago • 5 comments

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.

stevecondylios avatar Feb 25 '20 04:02 stevecondylios

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

jhk0530 avatar Mar 27 '20 08:03 jhk0530

@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.

stevecondylios avatar Mar 28 '20 01:03 stevecondylios

@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,

  • Sticker in viewer and downloaded Sticker is slightly different.
  • some image breaks the application, maybe grayscaled image?

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

Bests,

jhk0530 avatar Mar 28 '20 07:03 jhk0530

@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

  • Could have the sticker update without needing to click Draw
  • Could include border thickness as a togglable attribute

Awesome work!

stevecondylios avatar Mar 28 '20 09:03 stevecondylios

@stevecondylios Thanks, I'll note them too.

jhk0530 avatar Mar 28 '20 10:03 jhk0530