1 2 3
6 7
Lex
Joined: 6/25/2007
Posts: 732
Location: Vancouver, British Columbia, Canada
I don't think pairs of pixels with extreme color difference would occur except at the edges of the resulting 16×16 squares, and the overall image would look smooth.
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Lex wrote:
I don't think pairs of pixels with extreme color difference would occur except at the edges of the resulting 16×16 squares, and the overall image would look smooth.
Feel free to go ahead and prove me wrong. I'm still not sure I completely understand what you have in mind. For the record, here is the source code of the program I generated my picture with.
Language: PHP

<?php $im = ImageCreateTrueColor(4096,4096); for($y=0; $y<4096; ++$y) for($x=0; $x<4096; ++$x) { $r = $x & 0xFF; $g = $y & 0xFF; $b = ($x >> 8)*16 + ($y >> 8); if($x & 0x100) { $r = 0xFF-$r; } if($y & 0x100) { $g = 0xFF-$g; } ImageSetPixel($im, $x,$y, ($r<<16)+($g<<8)+$b); } ImagePng($im, 'test.png');
Tub
Joined: 6/25/2005
Posts: 1377
I do like how PNGs image prediction was abused to reduce 48MB of raw image data to just 55kB. Though I do wonder if a different layout could be used to compress it even further? As for ordering, you could order the colors by a 3-dimensional hilbert curve, then add them to the plane by a 2-dimensional hilbert curve. It would certainly look more chaotic and compress worse, but it may be interesting to see anyway. Unfortunately, I can't seem to find my source code for the 3-dimensional hilbert curves :(
m00
Banned User
Joined: 3/10/2004
Posts: 7698
Location: Finland
Just shuffle all the pixels at random. Then there will be no visible patterns (and the image file will be tens of megabytes in size.)
Joined: 10/20/2006
Posts: 1248
Hello. This isn't my art (obviously), but I thought you might be interested in this http://allrgb.com/
Tub
Joined: 6/25/2005
Posts: 1377
Found the source code for the hilbert curves \o/ Many geeks know the Hilbert curve. Not so many know that it can be extended into 3d space and beyond. In 2D space, the hilbert curve is unique (when the start- and end-corner are given), while in 3 or more dimensions, it is not. For the following, I picked a 3d curve that was experimentally chosen to provide the best spacial locality. Exhibit 1: I've defined a total order over the RGB-cube by said 3D hilbert curve, then laid out the colors line by line in ascending order. TC_linear.png, 440 kB The main property of hilbert curve is easy to see: there are no more "jumps". Each pixel is at most 1 color value away from the pixel to its left (or to the last pixel in the preceeding line). While it is ordered, it doesn't look like a rainbow at all. Similar colors may appear at very different parts of the image. This is an unavoidable consequence of mapping a 3D space to a 1D space. (A rainbow will only display a 1D color space, fully saturated colors at equal brightness, just with different hue.) Unlike arflech's slice-mapping, this attempt provided perfect locality to the pixels to the left and right, but not necessarily to the pixels above or below. After all, I did map to a 1D-space, in which colors 4096 positions apart are totally unrelated. Which leads me to Exhibit 2: Instead of laying out the ordered colors line by line, I've arranged them along a 2-dimensional hilbert curve. TC_hilbert.png, 2.9 MB At first glance, you'll see 16 cubes, each having roughly a similar tone. Zooming in, you'll notice smaller and smaller cubes. The smaller the cube, the smoother its color will be, so much that the 16x16 cubes look single-colored to the naked eye, despite showing 256 unique colors each. /edit: replaced images with pngcrush'ed versions
m00
Joined: 10/20/2006
Posts: 1248
It got really similar to [URL=http://allrgb.com/images/hilbert-curve.png]this one[/URL] on the website
Former player
Joined: 2/19/2007
Posts: 424
Location: UK
I see I'm a bit late here, but I also made a hilbert3->hilbert2 remapping:. Edit:
kuwaga wrote:
Hello. This isn't my art (obviously), but I thought you might be interested in this http://allrgb.com/
Wow, that site is amazing!
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Waduh… Tried some idea,but my script takes ages to finish. The idea is to take some image of size exactly 4096×4096 (a photo for example) and for each color in the 24 bit color space find the closest color in the image (excluding the pixel from further look). Not sure if the result will look nice or ugly, and cannot check… Life is too short… I guess photo-like images at allrgb.com were generated in other way (maybe they used multithreading and/or some additional data structure to make color lookup faster).
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Editor, Skilled player (1439)
Joined: 3/31/2010
Posts: 2108
Why am I not surprised a thread regarding Art results in people posting technical accomplishments regarding meta-level matter such as colorspaces? Can't say I mind.
Spikestuff
They/Them
Editor, Publisher, Expert player (2633)
Joined: 10/12/2011
Posts: 6437
Location: The land down under.
amaurea your image lags my computer when scrolling down D: A+ good job :D
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
Spikestuff wrote:
amaurea your image lags my computer when scrolling down D: A+ good job :D
I have problems scrolling past it as well. I have to ask, where does the interest and knowledge of these colorspaces come from? I'm guessing there's something special about these images, but I'm not sure what.
Editor, Skilled player (1439)
Joined: 3/31/2010
Posts: 2108
ElectroSpecter wrote:
Spikestuff wrote:
amaurea your image lags my computer when scrolling down D: A+ good job :D
I have problems scrolling past it as well. I have to ask, where does the interest and knowledge of these colorspaces come from? I'm guessing there's something special about these images, but I'm not sure what.
Every color in the RGB colorspace (covering the entire spectrum of human vision) has to occur in such a picture once and only once. I'm not entirely sure what kind of algorithm would generate such an image, but it is surprisingly neat to look at.
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
scrimpeh wrote:
Every color in the RGB colorspace (covering the entire spectrum of human vision)
Sorry, but that statement is incorrect. It covers the entire spectrum representable by a 24-bit RGB display device. Please refer to this image about color gamut. The larger gray shape represents the range of colors that an average human can see. The triangle represents the range of color perceptions that an RGB display can generate: much smaller than the human range of perception. (Reference: R. W. G. Hunt (2004). The Reproduction of Colour (6th ed.). Chichester UK: Wiley–IS&T Series in Imaging Science and Technology. ISBN 0-470-02425-9.)
Editor, Skilled player (1439)
Joined: 3/31/2010
Posts: 2108
Bisqwit wrote:
scrimpeh wrote:
Every color in the RGB colorspace (covering the entire spectrum of human vision)
Sorry, but that statement is incorrect. It covers the entire spectrum representable by a 24-bit RGB display device. Please refer to this image about color gamut. The larger gray shape represents the range of colors that an average human can see. The triangle represents the range of color perceptions that an RGB display can generate: much smaller than the human range of perception. (Reference: R. W. G. Hunt (2004). The Reproduction of Colour (6th ed.). Chichester UK: Wiley–IS&T Series in Imaging Science and Technology. ISBN 0-470-02425-9.)
Oh, my, I did not know that. I retract my statement regarding that matter.
Player (246)
Joined: 8/6/2006
Posts: 784
Location: Connecticut, USA
scrimpeh wrote:
Every color in the RGB colorspace (covering the entire spectrum of human vision) has to occur in such a picture once and only once. I'm not entirely sure what kind of algorithm would generate such an image, but it is surprisingly neat to look at.
I might have guessed as much. What I'm really interested in is why so many of you are interested and familiar with it. It seems like an obscure subject, but maybe it's not, and maybe there's a reason that all of you are knowledgeable and interested in it. Is it a programmer thing?
Banned User
Joined: 3/10/2004
Posts: 7698
Location: Finland
Bisqwit wrote:
Sorry, but that statement is incorrect. It covers the entire spectrum representable by a 24-bit RGB display device. Please refer to this image about color gamut. The larger gray shape represents the range of colors that an average human can see. The triangle represents the range of color perceptions that an RGB display can generate: much smaller than the human range of perception.
There are indeed many colors that simply cannot be reproduced by an RGB-based display. They are colors that may resemble what an RGB display can show, but are not quite the same (and, as said, it's just impossible to make the display show that exact color.) I think that examples include certain neon colors, among others.
Joined: 10/20/2006
Posts: 1248
RGB is really just color emulation, it's quite different from "real colors" observed in nature, but looks the same to humans. Our eyes have cells that respond more or less intensly dependent on what color the light they observe is. As most mammals, we can detect how closely a colored light resembles red/green or blue, the differentiation of red and green is more specific to apes. RGB displays abuse this to emulate colors. If a real color would excite our r,g anb b sensitive cells in specific amounts, then the same effect can be simulated with three seperate colors of rgb in different brightness levels. (Some humans apparently have a forth kind of color detecting cells for some reason, but those cells aren't wired up in a way to the (rest of the) brain so they could profit from that) An alien species capable of sight would be quite unlikely to perceive movies as to look approximately the same as the real world, only in 2D, such as we do. It works well for humans only. I find it quite an interesting subject. Btw, you might wonder how it has been calculated which amounts of rg and b make up which color and the answer is, it has quite amusingly be found out by experiment, letting people mix rgb channels until they perceived their perception to match the target color. RGB emulation is only a step away from directly wiring up information into your brain. In theory, 2 kinds of color receptor cells are enough to discern colors. The RG destinction we can make specifically helps us detect ripe fruits in trees or bushes more effortlessly.
Post subject: Lemon Water
NitroGenesis
He/Him
Editor, Experienced player (556)
Joined: 12/24/2009
Posts: 1873
[/thread]
YoungJ1997lol wrote:
Normally i would say Yes, but thennI thought "its not the same hack" so ill stick with meh.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
Here is a 16x16 pixel Kirby I made a few years ago for a Super Mario World hack I was working on (which involved Kirby). The checkerboard background helped me plot each pixel in my graphics editor. Looking back on the hack, it was too easy and the level design was really juvenile so I probably won't finish it. I made it by studying this Kirby hi sprite from Kirby Tilt 'n' Tumble: Here's how it looked in-game:
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Dunno where to post, let it be here… Daily and weekly graphs of the temperature in my city (Maykop). munin.jsmart.web.id/jsmart.web.id/de2.jsmart.web.id/weather_temp_URKM-day.png munin.jsmart.web.id/jsmart.web.id/de2.jsmart.web.id/weather_temp_URKM-week.png Edit by natt: munin.jsmart.web.id is asking my browser for an http auth every time I load this page. Don't hotlink to image hosts that don't support hotlinking. Thanks.
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Active player (312)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
CoolKirby wrote:
Here is a 16x16 pixel Kirby I made a few years ago for a Super Mario World hack I was working on (which involved Kirby). The checkerboard background helped me plot each pixel in my graphics editor. Looking back on the hack, it was too easy and the level design was really juvenile so I probably won't finish it. I made it by studying this Kirby hi sprite from Kirby Tilt 'n' Tumble: Here's how it looked in-game:
I could not resist. Also, bored.
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
pirate_sephiroth wrote:
Wow, that looks better than mine. Good job.
Spikestuff
They/Them
Editor, Publisher, Expert player (2633)
Joined: 10/12/2011
Posts: 6437
Location: The land down under.
CoolKirby wrote:
pirate_sephiroth wrote:
Wow, that looks better than mine. Good job.
pirate_sephiroth run for your life! (Cool)Kirby will suck you up, and get your artistic abilities.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Here's an image I rendered with blender. The original pictures is much more bigger in file size.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
1 2 3
6 7

1731740011