Skip to content
Forum Archive

Hypercube (4-D analog of a cube)

76 posts

mikm#
use the edit button!!!

well a rectangle is obviously very easy. take the hypercube code and stretch it along the axes. a hypercylinder is harder, although possible (look at the 3d sphere code and play w/ that).

basically, 4d works more or less like 3d, except you have 4 axes to work with.

so, you would be typing w1=...;y1=...;z1=...;x1=...; then use the rest of the engine to convert it to 2d.

i second atero's request for a lock
sidd#
weell.. if you looking at basic shapes like rectangles etc. It can be a bit confusing. By definition, a rectangle rectangular prism is a shape that has at least one set of sides a different size. So you have to work out how 'long' you 4th dimention is going to be. Same deal with cylinders, only evern more complicated, as a cylinder is definable only as a 3d object, something like (sqrt(x*x+y*y)*z). To put it in 4d you have to really use your imagination.

For example a 4d cylender could be like an infinate 'shaft' of spheres heading off along the 4th dimention. Or and infinate series of tunnels heading off in parrallel to the first tunnel. Although these descriptions are using 3d terms, so you have to try to imagine it like that in 4d.
Zevensoft#
Well siddhartha, the best way to think of it is that a 3D cylinder is an 'Extruded Circle', therefor the 3D version of circle is sphere, that makes the 4D cylinder an 'Extruded Sphere'.
sidd#
nice one..
the problem is obviously that we are used to thinking in terms of 3d geometry. but when in gets to 4d, its hard to imagin what properties the fourth dimention should take on. Unless you are talking about figures that have equal properties on all axes (like cubes and spheres) you have to make up the 4th axis from what seems to be the logical way.
mikm#
going off of what Zvensoft said:

you start with a point- the first dimension. You choose an arbitrary direction and translate that point and connect them with a line. You then take those two points and extend them in another arbitrary direction and connect them with a line. This is 2D. Take those four points and extend them in another arbitrary dimension, and connect them with a line. This is the third dimension. Now you can take those eight points and extend them in an arbitrary dimension, connecting them with lines. This is the 4th dimension. You can continue doing this forever.

Try drawing this (you need a pencil and a lot of room)
dirkdeftly#
okay, what you all need to do is shut the fuck up, read the annotated flatland, then flatterland, and go away >_<
Wiser87#
Originally posted by Atero
okay, what you all need to do is shut the fuck up, read the annotated flatland, then flatterland, and go away >_<
Hehe... I have flatland. Quite interesting.

😁
WHCode RED#
2 days isnt old right? .... after reading some of these posts I am having a hard time recognizing sentences... especially...

Originally posted by UnConeD
(By the way, the book you're reading is that a physical or electronic book? In the second case I wouldn't mind getting a copy...)
It took me 3 re-reads to understand "physical or electronic book". Im.. so ... disoriented.

*electronic buzzing coming from head*

🧟 🧟 🧟 🧟 🧟 🧟
WHCode RED#
almost dead??? maybe, but the AVS forums are going so slow it was the third thread from the top
mikm#
just STFU and stop posting in this thread. there is no point in keeping this alive any longer. i will banish the next person who posts here (unless it is a mod locking it) to hell ( i am a minister...a friend was bored during study hall and found a site that ordains you for free, so i got ordained just for kicks. i am not very religious or anything in fact, i don't believe much in religion)