Live data from Hacker News

BackgroundCheck

kennethcachia.com

1–10 of 30 posts

Re: BackgroundCheck

#2
Didn't seem to do anything. I'm on Chrome 29.0.1547.65.

Edit: I tried again, this time releasing the elements. It sounded like it should be live updating as I'm dragging in the description, but it's only when you DROP the elements, not DRAG the elements.

Re: BackgroundCheck

#3
I'll start by saying that I think this is pretty cool and clever, and pretty useful for text. It works great on Safari.

I should however add, that while moving the elements over the picture, I didn't once lose sight of my cursor, as it is black with a white outline, which seems to be a much simpler solution to the problem.

Re: BackgroundCheck

#5
This is a nice step, but not good enough for practical use. Put the text half on the black lamp, half off, and you get 1/2 invisible text. While interesting, it's not reliably accurate enough to use in any sort of automated fashion.

Re: BackgroundCheck

#7
This is cool, but I found a small defect. If you drag the dot over the images while they are loading, the color change doesn't take place. It might be necessary to call your function after images have been loaded on your demo page.

Re: BackgroundCheck

#8
post #5

This is a nice step, but not good enough for practical use. Put the text half on the black lamp, half off, and you get 1/2 invisible text. While interesting, it's not reliably accurate enough to use in any sort of automated fashion.

If it implemented some requirements of your choosing with perfect accuracy, how would you go about automating any work other than flipping colors to contrast with background?

I'm not in the graphics design business, but I could only imagine applying that tool manually, in an interactive see-if-it's good environment much like the demonstration.

Re: BackgroundCheck

#9
post #5

This is a nice step, but not good enough for practical use. Put the text half on the black lamp, half off, and you get 1/2 invisible text. While interesting, it's not reliably accurate enough to use in any sort of automated fashion.

If it implemented some requirements of your choosing with perfect accuracy, how would you go about automating any work other than flipping colors to contrast with background? I'm not in the graphics design business, but I could only imagine applying that tool manually, in an interactive see-if-it's good environment much like the demonstration.

It'd useful for overlaying things on maps, or tagged things in photos etc.

For designers it's not very useful of course.

Re: BackgroundCheck

#10
post #5

This is a nice step, but not good enough for practical use. Put the text half on the black lamp, half off, and you get 1/2 invisible text. While interesting, it's not reliably accurate enough to use in any sort of automated fashion.

A reasonable solution to this might be to determine when the number of pixels that'd match dark v light is near the midpoint, adding a text-shadow (for text) or box-shadow (everything else) of 1px with the more dominant of the two colors.

Edit: Looked closer at the library, if he just added dark-mid or light-mid styles when close, the user can implement the appropriate visual differentiator. Should be good.

Post reply on HN