News for hackers. Stuff that matters.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by kingcharles on Monday February 07, 2022 @12:15AM (#30240723)
I liked the ending:

"At first it was thought that the computer-generated movies of the four-dimensional hyperobjects might result in some "feeling" or insight for the visualization of a fourth spatial dimension. In particular, perhaps some visualization of a solid four-dimensional hyperobjeet would be gained from the distortions in the three-dimensional perspective projection. Unfortunately, this did not happen, and we are still as puzzled as the inhabitants of Flatland in attempting to visualize a higher spatial dimension."

When I wrote my first 3D engine as a kid, I immediately extended it to 4D because I was a nerd and I thought the same thing - maybe I'll be able to train my brain to understand 4D objects.

No. Your brain remains confused.

Perhaps if you did it from birth. Like they did with those kittens that never saw horizontal and vertical lines. This would be a totally unethical experiment to carry out on a human child though :)

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by vba616 on Monday February 07, 2022 @02:00AM (#30241250)
Maybe it's only possible to project/fake one additional dimension and not two? So if we had a 3D display, holographic or something, then a projected 4-D object might make more sense.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by newswasboring on Monday February 07, 2022 @02:34AM (#30241471)
Sounds like an awesome VR project to me
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by r2_pilot on Monday February 07, 2022 @10:12AM (#30245871)
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by kingcharles on Monday February 07, 2022 @02:49PM (#30250024)
Now live inside this app exclusively for a year and see if 3D is weird for you when you come back...
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by mettamage on Monday February 07, 2022 @09:04AM (#30244977)
You’re right! Now I have an extra reason to learn math.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by hypertele-Xii on Monday February 07, 2022 @09:54AM (#30245625)
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by tehsauce on Monday February 07, 2022 @12:35AM (#30240852)
shamelessly sharing my UI for viewing 4D objects (works with touch screen or mouse)

https://transdimensional.xyz/

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by cgufus on Monday February 07, 2022 @04:07AM (#30242158)
Cool, Thanks. To me, 4-D rotation is completely “unpredictable” or “contraintuitive”, or both. I wonder, you as a developer of that visualization, did you get an intuition for it? do you know in advance how the projection changes when you apply one or the other rotation?
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by tehsauce on Monday February 07, 2022 @12:42PM (#30248221)
I did actually! As jcun2148 pointed out, the game of trying to return the hyper cube to the start position is a great way to start building intuition. To describe what each rotation axis does in words: There are six axes of rotation because there are 6 perpendicular planes in 4D (xy, xz, xw, yz, yw, zw). The 3 of these which only use xyz are just the regular axes of rotation. The other three rotate between a regular axis and the 4th dimension. This has the effect of a kind of toroidal wrapping (you may have animations of this, where the inner cubes wrap around to become the outer cube) oriented in the direction of the other xyz coordinate.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by hoseja on Monday February 07, 2022 @02:50AM (#30241584)
Would be cool if the individual rotation columns responded to the mousewheel.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by throwamon on Monday February 07, 2022 @06:53AM (#30243548)
This is really cool, but maybe I'm too dumb to know what I'm actually doing with it. It would be nice if you could add some texture or some color gradient or some other pattern to make it more obvious what's going on.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by jcun4128 on Monday February 07, 2022 @12:49AM (#30240923)
Canvas is amazing

Also the trick is to try and return to your starting position ha

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by mateo1 on Monday February 07, 2022 @09:47AM (#30245532)
Yeah that's one hell of a Rubik's cube. OP should add a "shuffle" button and make a game where you win if you return to the original (or a specific) shape within some error.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by lloydatkinson on Monday February 07, 2022 @05:44AM (#30242965)
Doesn't seem to do anything other than show lots of unmovable static 3D cubes?
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by bruce343434 on Monday February 07, 2022 @03:36AM (#30241921)
Interesting, firefox says "gah, your tab just crashed".
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by Spare_account on Monday February 07, 2022 @08:46AM (#30244727)
FWIW I'm on Firefox 96.0.3 (64-bit), on Windows 10 64 bit and it works fine.

My brain can't handle it but my browser can :-)

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by lukasb on Monday February 07, 2022 @02:39AM (#30241501)
this is great
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by tgvaughan on Monday February 07, 2022 @07:48AM (#30244079)
I remember encountering this approach in A. K. Dewdney's Computer Recreations column of the April 1986 issue of Scientific American: "A program for rotating hypercubes induces four-dimensional dementia". It included enough pseudo-code for my young self to get something working in qbasic, even adding support for red-blue cellophane glasses so that the hypercubes could be seen in 3d. Great memories!
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by magpi3 on Monday February 07, 2022 @02:25AM (#30241398)
Flatland, referenced in this paper, is a wonderful and thought-provoking little story.

EDIT: I removed the link because I was worried about the server I linked to. But you can find the PDF of flatland if you just google "flatland pdf"

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by ArtWomb on Friday February 04, 2022 @07:42AM (#30206073)
Genius! I've seen the animation on youtube a hundred times, but never a write-up. Supposedly, the basis for a non-euclidean sculpting robot ;)
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by leonry on Monday February 07, 2022 @02:32AM (#30241455)
Maybe this blog entry is another good starting point: https://ciechanow.ski/tesseract/ and references therein (at the end).

It has been discussed on HN a while ago.

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by pizza on Sunday February 06, 2022 @10:22PM (#30239933)
Could you link the video? Sounds cool
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by jcun4128 on Monday February 07, 2022 @12:33AM (#30240836)
Not OP, is it the 4D Hypercube? https://www.youtube.com/watch?v=q5Qh2XpoCsY

side note it is a mind f (to me) to do point rotations in graphics case, just trying to make a rotating cube in WebGL wow.

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by bb88 on Monday February 07, 2022 @05:27AM (#30242810)
I was curious how they did the typesetting of the computer generated graphics back then. Printers weren't really a thing.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by mateo1 on Monday February 07, 2022 @09:53AM (#30245614)
It could be just a high contrast photograph. I know that at some point they used to wait for all the vectors to be drawn on a CRT with a "permanent"-resettable phosphor and then take a photo with everything on it, clear the screen, and start drawing the next frame. Fun stuff.
Re:A Computer Technique for Displaying N-Dimensional Hyperob... by bb88 on Thursday February 10, 2022 @09:02PM (#30295890)
Your thought intrigued me and I wanted to look further.

https://piratefsh.github.io/2019/01/07/computer-art-history-... https://piratefsh.github.io/2019/01/07/computer-art-history-...

So there were plotters, which would need to be photographed, like you were talking about, but there's also this:

> And then they were the electronic or microfilm plotters. It works in a similar way as the mechanical plotter, but instead of a pen, it uses an electron beam and instead of paper, it “draws” on microfilm. The idea is that it plots an electron beam in a cathode ray tube, runs it through a camera lens system, which records these beams onto microfilm. I think of it like how a CRT display works, but it also exposes light onto film. The microfilm can then be viewed via a microfilm reader, printed or even animated."

Re:A Computer Technique for Displaying N-Dimensional Hyperob... by 2bitlobster on Monday February 07, 2022 @07:00AM (#30243610)