6 ms·
There's actually a community of all-RGB pic creators: http://allrgb.com/ http://allrgb.com/
by devindotcom 13y ago
There's actually a community of all-RGB pic creators:
http://allrgb.com/ http://allrgb.com/
- nwh 13y agoThis is one of the most bizarre things I've seen in a long time.
- vezzy-fnord 13y agoVery psychedelic, I'd say.
- Edmond 13y agohaha..years ago when I used to do Win32/MFC development I was in the habit of writing code that painted random pixel colors on my windows desktop...you get the psychedelic effect if you don't do bit-block transfers but paint directly to the screen...it was always a fun time wasting activity.
- 7schlaefer 13y agoI sometimes like to violate the browser canvas element in my spare time: Chromium Version: http://webspekt.de/paintgen-client http://webspekt.de/paintgen-client node.js Version: http://webspekt.de/paintgen-server http://webspekt.de/paintgen-server My Server is pretty bad, so when in doubt, don't click.
- userbinator 13y agoBizarre and very interesting. A lot of those look like an extreme version of dithering.
- blt 13y agoWould be cool to re-apply all the algorithms to HSV space and see what comes out.
- jacobolus 13y agoHSV is just a straight-forward transformation of RGB https://en.wikipedia.org/wiki/File:Hsl-and-hsv.svg https://en.wikipedia.org/wiki/File:Hsl-and-hsv.svg The set of “all colors” is exactly the same. (Note, HSL/HSV are not suitable representations for almost any purpose, especially not for human user interfaces; it’s a tragedy that they are in such wide use.)
- TylerE 13y agoWhjy do you say that? I find them much more intuitive. For example, getting actually brown browns with RGB is tricky...with HSV it's trivial.
- nitrogen 13y agoA rule of thumb if you have to find brown in RGB: use a bit of red, slightly less green, then a tiny bit of blue.
- andrewflnr 13y agoThat kind of proves the point. How many of those rules of thumb are you going to have to formulate to express in RGB what's trivial to find in HSV?
- nitrogen 13y agoUnfortunately I've already formulated them after working so much with RGB in low-level graphics code, pre-hsv() CSS, and some image editing software. Actually, that sounds kind of like a fun challenge game: name a color, then try to guess RGB values for that color.
- entropy_ 13y agoI've gotten pretty good at doing the reverse operation(given an RGB value, guess the color) because I'm red-green colorblind and that's how I figure out what color something is :)
- shocks 13y agoEek, looks like this one is crumbling under our load too!
- ivanca 13y agoGod dammit! We kill every site we stumble upon; maybe there should be a delay to show links/comments based on time-zones, that way we don't DDOS any site by mistake.
- roryokane 13y agoThis solution proposed by jcs would work: https://lobste.rs/s/g0nxrf/we_have_the_ability_to_cache_and_display_story_text_should_we/comments/jomkmf https://lobste.rs/s/g0nxrf/we_have_the_ability_to_cache_and_.... (He’s not talking about HN, but it would work equally well for HN.) The idea is to use the free CoralCDN (http://www.coralcdn.org/ http://www.coralcdn.org/). HN could solve site-killing by prefetching every link with CoralCDN, so that the CDN would cache a version of the page. Then, if HN detects that a site (e.g. http://allrgb.com/ http://allrgb.com/) is down, it would link to the Coral version (e.g. http://allrgb.com.nyud.net/ http://allrgb.com.nyud.net/) until it’s up again. Or alternatively, instead of detecting when sites are down, it could show a control to replace any given link with the CoralCDN version and ask the user to toggle it if the link doesn’t work at first.
- shocks 13y agoVery cool suggestion!
- antihero 13y agoWould a really simple way to do this be to make a 4096x4096 square image, with 0,0,0 at the top left and 255,255,255 at the bottom right, then just go along from left to right incrementing by one (in base-256, essentially)?