Posted: 5th Jan 2003 23:15
Look at this, (it should run on DBC and DBP) and tell me how many dimensions this has. (requires no other files)


Rem Project: Megatetahydran
Rem Created: 27/10/02 17:04:35

Rem ***** Main Source File *****

cls
sync on : sync rate 100
backdrop on : color backdrop RGB(0,0,0)

newx=rnd(640)
newy=rnd(480)
newx1=rnd(640)
newy1=rnd(480)
newx2=rnd(640)
newy2=rnd(480)
newx3=rnd(640)
newy3=rnd(480)
newx4=rnd(640)
newx4=rnd(480)

xval=rnd(1)
yval=rnd(1)
xval1=rnd(1)
yval1=rnd(1)
xval2=rnd(1)
yval2=rnd(1)
xval3=rnd(1)
yval3=rnd(1)
xval4=rnd(1)
yval4=rnd(1)

movex=2
movey=2

do
if newx>640
xval=0
endif
if newx480
yval=0
endif
if newy640
xval1=0
endif
if newx1480
yval1=0
endif
if newy1640
xval2=0
endif
if newx2480
yval2=0
endif
if newy2640
xval3=0
endif
if newx3480
yval3=0
endif
if newy3640
xval4=0
endif
if newx4480
yval4=0
endif
if newy4
Posted: 5th Jan 2003 23:40
whoops! try again.
Posted: 6th Jan 2003 0:04
4d? I don't think so. The 4th dimension is time. So to answer your question its 3d.
Posted: 6th Jan 2003 19:35
Any 3 dimensional representation of a Nth dimensional object such as a hypercube is merely that : A shadow of the original form. Any 2 dimensional representation of a 3 dimensional object is again just a shadow of the original form (see Flatlander Thought Experiment). Technically since this is all on a flat screen, it's no more than 2 dimensions.

When someone actually writes a dll for Darkbasic to project holograms, let me know!! heh
Posted: 6th Jan 2003 22:15
Easily confused - trying again!

Brent_Seraphim - if the 4th dimention is time, then surely any shape exists in 4 dimentions else it doesnt exist at all!

Darklight - Time, therefore anything displayed on a computer screen is in 4 dimentions, since energy is matter, and light=energy=matter so therefore the light from the screen is projecting into the 3rd dimention, and because it exists it occupis the 4th dimention (time) as well, else you wouldnt be able to see it

Anyhoo, here goes again

+ Code Snippet
cls
sync on : sync rate 100
backdrop on : color backdrop RGB(0,0,0)

newx=rnd(640)
newy=rnd(480)
newx1=rnd(640)
newy1=rnd(480)
newx2=rnd(640)
newy2=rnd(480)
newx3=rnd(640)
newy3=rnd(480)
newx4=rnd(640)
newx4=rnd(480)

xval=rnd(1)
yval=rnd(1)
xval1=rnd(1)
yval1=rnd(1)
xval2=rnd(1)
yval2=rnd(1)
xval3=rnd(1)
yval3=rnd(1)
xval4=rnd(1)
yval4=rnd(1)

movex=2
movey=2

do
if newx>640
xval=0
endif
if newx<0
xval=1
endif
if newy>480
yval=0
endif
if newy<0
yval=1
endif
if xval=1 and yval=1
`circle newx,newy,10
newx=newx+movex
newy=newy+movey
endif
if xval=0 and yval=0
`circle newx,newy,10
newx=newx-movex
newy=newy-movey
endif
if xval=1 and yval=0
`circle newx,newy,10
newx=newx+movex
newy=newy-movey
endif
if xval=0 and yval=1
`circle newx,newy,10
newx=newx-movex
newy=newy+movey
endif


if newx1>640
xval1=0
endif
if newx1<0
xval1=1
endif
if newy1>480
yval1=0
endif
if newy1<0
yval1=1
endif
if xval1=1 and yval1=1
`circle newx1,newy1,10
newx1=newx1+movex
newy1=newy1+movey
endif
if xval1=0 and yval1=0
`circle newx1,newy1,10
newx1=newx1-movex
newy1=newy1-movey
endif
if xval1=1 and yval1=0
`circle newx1,newy1,10
newx1=newx1+movex
newy1=newy1-movey
endif
if xval1=0 and yval1=1
`circle newx1,newy1,10
newx1=newx1-movex
newy1=newy1+movey
endif

if newx2>640
xval2=0
endif
if newx2<0
xval2=1
endif
if newy2>480
yval2=0
endif
if newy2<0
yval2=1
endif
if xval2=1 and yval2=1
`circle newx2,newy2,10
newx2=newx2+movex
newy2=newy2+movey
endif
if xval2=0 and yval2=0
`circle newx2,newy2,10
newx2=newx2-movex
newy2=newy2-movey
endif
if xval2=1 and yval2=0
`circle newx2,newy2,10
newx2=newx2+movex
newy2=newy2-movey
endif
if xval2=0 and yval2=1
`circle newx2,newy2,10
newx2=newx2-movex
newy2=newy2+movey
endif

if newx3>640
xval3=0
endif
if newx3<0
xval3=1
endif
if newy3>480
yval3=0
endif
if newy3<0
yval3=1
endif
if xval3=1 and yval3=1
`circle newx3,newy3,10
newx3=newx3+movex
newy3=newy3+movey
endif
if xval3=0 and yval3=0
`circle newx3,newy3,10
newx3=newx3-movex
newy3=newy3-movey
endif
if xval3=1 and yval3=0
`circle newx3,newy3,10
newx3=newx3+movex
newy3=newy3-movey
endif
if xval3=0 and yval3=1
`circle newx3,newy3,10
newx3=newx3-movex
newy3=newy3+movey
endif

if newx4>640
xval4=0
endif
if newx4<0
xval4=1
endif
if newy4>480
yval4=0
endif
if newy4<0
yval4=1
endif
if xval4=1 and yval4=1
`circle newx4,newy4,10
newx4=newx4+movex
newy4=newy4+movey
endif
if xval4=0 and yval4=0
`circle newx4,newy4,10
newx4=newx4-movex
newy4=newy4-movey
endif
if xval4=1 and yval4=0
`circle newx4,newy4,10
newx4=newx4+movex
newy4=newy4-movey
endif
if xval4=0 and yval4=1
`circle newx4,newy4,10
newx4=newx4-movex
newy4=newy4+movey
endif

line newx,newy,newx1,newy1
line newx1,newy1,newx2,newy2
line newx,newy,newx2,newy2
line newx,newy,newx3,newy3
line newx1,newy1,newx3,newy3
line newx2,newy2,newx3,newy3
line newx4,newy4,newx,newy
line newx4,newy4,newx1,newy1
line newx4,newy4,newx2,newy2
line newx4,newy4,newx3,newy3

remstart
set cursor 0,0
print newx
print newy
print xval
print yval
remend

set cursor 0,0
print "Press up to increase speed"
Print "Press down to decrease speed"

if upkey()=1
movex=movex+1
movey=movey+1
print movex
wait 500
endif
if downkey()=1
movex=movex-1
movey=movey-1
print movex
wait 500
endif

sync
loop


I have a feeling this aint gonna work either lol, but what the hey
Posted: 6th Jan 2003 22:16
woo! it worked
Posted: 8th Jan 2003 1:22
Dang Moggie
Yes E=mc Squared. Energy is equal to mass times C(speed of Light) squared. We view things in 3 dimensions. From what I've read The 4th dimension is mainly used to decern when an event takes place. But since everything is unforutnaletly
'relative", so is time. And yeah good point, the screen we see displays in only 2d..height and width. However it can accurately simpulate the 3rd, to an extent. Ah heck...4d. Its 3d but I'm experiencing it in time.
Posted: 8th Jan 2003 7:39
Well, if you wanna get all technical, it's 2d cause it's on a CRT/LCD. If it existed in "real" space, it would be a changing/morphing 3D shape.

-Kensupen
Posted: 8th Jan 2003 7:39
Yay Discussions on Dimensions of the space time continuem.

1st: a place, (no width or height)
2nd: line (length and width but no height)
3rd: cube (length, width, and height) what that image is
4th: time as brent said (a sequence of events)
5th: 3rd + 4th the dimensions we live in
6th: That of which is not under the constraints of the previous dimensions (complete freedom) *wrote a 2 page poem about that which won an award*
7th: Nothing (which sparks my favorite question "What is nothing?")

just my 2 sense of non sense probally way of the actual topic of this post, but hey, who cares

cybersamurai
Posted: 8th Jan 2003 17:05
Hehe, that shut yall up
Posted: 8th Jan 2003 19:43
all i'm thinking of is what a nice screen saver the pattern would make
Posted: 8th Jan 2003 21:13
Ok then, answer this ,1 Dimension is X, 2 Dimension is X+Y, 3D is X+Y+Z. Whats 4D? i dont think u understand. A dimension is not time, but an axis of coords'
Posted: 8th Jan 2003 23:31
Time is a dimension, it can be measured and therefore has dimensions
Posted: 8th Jan 2003 23:31
Well... how the hell can we know what the 4th dimension is? 5th? 6th? 7th? There is no real way to tell.

Anyway, the graphic on the screen is a representation of a morphing 3 Dimensional object. It's verticies move in an uncommon way, creating an optical illusion that defy's logic. But it's still 3D.
So there
Posted: 8th Jan 2003 23:34
and it looks even more unconvincing when you uncomment the lines involving circles.
It is a cool effect though
Posted: 9th Jan 2003 0:11
Try thinking about multidimensional arrays. Dim dimensions(1,2,3,4,5,6,7,8...). They are quite hard to visualise, and code.
Posted: 9th Jan 2003 8:23
u can think of a bookshelf with 5d arrays also

imagine

what shelf
what book
what page
what row
what colum

I made a snippet to demonstrate this on my site.

I have never fathomed anything above the 4th dimension so if someone has a definition of 5 6 7 8 9 and 10 id love to hear it.

String theory or Pringle theory becomes the only two options that the major scientists seem to attach themselves to one or the other.

anything on the screen is a representation of light to mimic 2d or 3d.

light has mass therefore u could prove it hard to identify the 2nd dimension let alone the 1st.

3rd and 4th are tangable but 5th 6th 7th 8th 9th and beyond makes no sense.
Posted: 9th Jan 2003 12:30
ok, i'm officially lost
Posted: 11th Jan 2003 18:27
LOL! I never knew that this post would get like this!

Anyhoo, if time isnt a dimention, then what would you classify it as? I put it under a dimention due to the fact that you can move around in it in 3 dimentions, as is explained below.

1D - if it is possible (in theory) for you to move left+right only, u're in 1D

2D - if it is possible (in theory) for you to move left+right+forwards+backwards only, u're in 2D

3D - if it is possible (in theory) for you to move left, right, forwards, backwards, up, and down only, then u're in 3D

4D - if it possible to move in any direction in any of the above, but cou can actually do it, and see the effect u're in 4D --> Time

Time can be a dimention because you can see any of the lower dimentions from the upper one, ie:

1D can see only 1D
2D can see 1 & 2D
3D can see 1,2 & 3D
4D can.... (u get the idea)

So for us to do anything in 3D we need to be in 4D, therefore proving that no-one can exist (in this universe) in a dimentions lower than 4D, because if you cont exist in time, then u dont exist at all, even if you were to exist everywhere at once, you would not be traveling through time so therefore would not able to acknowlage the existance of yourself, or any other being because thoughs happen in a logical order 1--->2--->3--->etc. for any thought stream to progress you would need to move through time, unless of course if you thoght of everything at once, but even then, that 1 point in space/time, you would exist in the 4th dimention.

ouch, my fingers hurt

also, since hexgear brought it up, it would make a nice screensaver. Now, how the hell do I do that, lol!

Ps. would you beleive this all came origionally from a bit of code for a bouncing ball that I came up with, LOL!
Posted: 11th Jan 2003 18:37
oops, hit post too soon lol

Rapcat - the lines for circles are the remmnants from the old bounding ball code, in face if u remove these lines:

------------------------------------
line newx,newy,newx1,newy1
line newx1,newy1,newx2,newy2
line newx,newy,newx2,newy2
line newx,newy,newx3,newy3
line newx1,newy1,newx3,newy3
line newx2,newy2,newx3,newy3
line newx4,newy4,newx,newy
line newx4,newy4,newx1,newy1
line newx4,newy4,newx2,newy2
line newx4,newy4,newx3,newy3
------------------------------------

and unrem the circles u get a screen of bouncing balls