Where length(colours) should match n_states. The order of colours is the order they will change when you click a single pixel consecutively. To begin, all pixels will take the first-provided colour. Might be annoying if you don't know that's about to happen.
With
click_pixels()
you currently you get darkening shades of grey when you click a pixel consecutively.Add a
colours
option (or similar name). Suggest greys are retained by default if user doesn't pass a vector of colours:But a user could do this:
Where
length(colours)
should matchn_states
. The order of colours is the order they will change when you click a single pixel consecutively. To begin, all pixels will take the first-provided colour. Might be annoying if you don't know that's about to happen.