diff --git a/20081014.html b/20081014.html new file mode 100644 index 0000000..38c6f84 --- /dev/null +++ b/20081014.html @@ -0,0 +1,36 @@ +
+..3D...........2D... +.................... +...+.........+--+--+ +../|\........|E/|\F| +./A|B\.......|/A|B\| ++--+--+..TO..+--+--+ +.\C|D/.......|\C|D/| +..\|/........|G\|/H| +...+.........+--+--+ + +ABCD -> -z half of octahedron +EFGH -> +z half of octahedron + +For 1/8 the coordinates in the unit sphere where x,y,z all > 0, + +s = x / (x+y+z) +t = y / (x+y+z) + +And to reverse, + +x = s / (s^2 + t^2 + (1-s-t)^2)^(1/2) +y = t / (s^2 + t^2 + (1-s-t)^2)^(1/2) +z = (1-s-t) / (s^2 + t^2 + (1-s-t)^2)^(1/2) ++ +