VURD to the third power...
Oct. 13th, 2008 04:14 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I would like to graph several pairs of RGB triplets (
Any ideas that don't involve six dimensions?
#FFBB99
,#000020
for example), but cannot figure out how to do it properly without folding space and time in unfortunate ways. Any ideas that don't involve six dimensions?
no subject
Date: 2008-10-13 09:35 pm (UTC)Also, why are you doing this at all?
no subject
Date: 2008-10-13 09:46 pm (UTC)It's mostly just idle speculation. I've been staring at computer guts too long today. :)
no subject
Date: 2008-10-13 10:21 pm (UTC)Or if you want to get trippy, plot the first triplet as a point, and then draw the point in the color indicated by the second triplet. It would be tough to interpret but might generate pretty pictures.
no subject
Date: 2008-10-13 10:30 pm (UTC)no subject
Date: 2008-10-13 10:08 pm (UTC)no subject
Date: 2008-10-13 10:18 pm (UTC)For instance, #000001 is pretty much the same color as #010000; they are nearly black and hard to distinguish from each other. On a 3D graph, that is easy to see because they are both close to the origin. However if you flatten them into single numbers and stick them on a number line, the red one will be thousands of times farther from the origin than the blue one.
no subject
Date: 2008-10-13 10:26 pm (UTC)er...
Date: 2008-10-13 10:09 pm (UTC)Re: er...
Date: 2008-10-13 10:27 pm (UTC)Re: er...
Date: 2008-10-14 12:03 am (UTC)Re: er...
Date: 2008-10-14 02:28 pm (UTC)So I thought, if I could show them graphically rather than the laundry list of http://www.livejournal.com/friends/edit.bml, it would be systematic. But then my brain went splodey. :)
Re: er...
Date: 2008-10-14 02:30 pm (UTC)Sounds interesting. But I don't think the bandwidth is there to do it in LJ comments. Let's talk about it tomorrow night over pool.
no subject
Date: 2008-10-13 10:10 pm (UTC)More generally, a set of points can be represented as a connected shape. Three points can be drawn as a triangle, four as a quadrilateral, etc. For flat triangles or complete solids, shading or coloring the interior makes them easier to distinguish from each other.
Why are you trying to graph RGB triplets instead of just drawing the colors?
no subject
Date: 2008-10-13 10:29 pm (UTC)I think the line segments are going to end up being the way to go here.
no subject
Date: 2008-10-14 02:55 am (UTC)Given points A (Xa, Ya, Za) and B (Xb, Yb, Zb), plug the values into this:
no subject
Date: 2008-10-14 02:30 pm (UTC)It'd still only be 27k pairs or so, but... ;)
no subject
Date: 2008-10-15 04:39 am (UTC)One line segment represents one ordered pair, so if there are 27k possible pairings, you'll wind up with 27k line segments crammed into the graph. With all those overlapping and obscuring each other, I have no idea how you'd read it.
no subject
Date: 2008-10-15 05:01 am (UTC)no subject
Date: 2008-10-14 02:20 am (UTC)