## How to plot a pentatope in Maple!

Discuss interdimensional programming, Java applets and so forth.

### How to plot a pentatope in Maple!

I want to plot a pentatope (4-simplex) (using Maple).

Can anyone help or explain the method to me?

Thank you very much!
[In:TkZ]
Nullonian

Posts: 3
Joined: Mon Jan 29, 2007 5:23 am

Simply draw 5 points and connect each two by a line?
bo198214
Tetronian

Posts: 690
Joined: Tue Dec 06, 2005 11:03 pm
Location: Berlin - Germany

ah, and how to plot a pentatope that can rotate in 4d?
[In:TkZ]
Nullonian

Posts: 3
Joined: Mon Jan 29, 2007 5:23 am

What's maple? A game or a 3d, 2d, or 4d drawing thing?
papernuke
Tetronian

Posts: 612
Joined: Sat Jul 08, 2006 6:33 pm
Location: California, US of A

http://en.wikipedia.org/wiki/Maple_%28software%29

It's a program like Mathematica.

Keiji

Posts: 1962
Joined: Mon Nov 10, 2003 6:33 pm
Location: Torquay, England

I've often wondered how to graph 4D objects in mathematica. I think I could figure out the programming, if I knew the maths of it.

Do you have to use some kind of raytracing thing?

PWrong
Pentonian

Posts: 1599
Joined: Fri Jan 30, 2004 8:21 am
Location: Perth, Australia

### Re: How to plot a pentatope in Maple!

[In:TkZ] wrote:I want to plot a pentatope (4-simplex) (using Maple).

Can anyone help or explain the method to me?

You could probably find out by asking Maplesoft directly:

http://www.maplesoft.com/contact/index.aspx

Hugh
Tetronian

Posts: 659
Joined: Tue Sep 27, 2005 11:44 pm

I think there is no standard package that can that stuff for you.
You have to reinvent the wheel like all those 4d applet/raytracing writers out there, but this time in maple.

First think about your used projection (perspective, parallel, orthogonal, etc). From 4d to 3d and from 3d to 2d.
If you simply want to make a wirefrime model, you project the 5 points in 4d to 2d and then draw a line between each two of them.
4d Rotation algorithm can you find somewhere here on the forum (though I dont know how to write interactive maplets).

Its all a lot of effort, if you have specific questions, turn back to the forum

@Pwrong come on, you know the maths of it!!!
bo198214
Tetronian

Posts: 690
Joined: Tue Dec 06, 2005 11:03 pm
Location: Berlin - Germany

Thank you very much.
I'll try it then!
[In:TkZ]
Nullonian

Posts: 3
Joined: Mon Jan 29, 2007 5:23 am

Then good luck!
bo198214
Tetronian

Posts: 690
Joined: Tue Dec 06, 2005 11:03 pm
Location: Berlin - Germany

Well, I know the maths necessary for it, but not the actual formulas for raytracing. I don't know about the different kinds of projection either. I suppose if you just had a set of points in 3D, you'd draw a line from the origin to the point, work out the polar coordinates and map from (theta, phi) to (x,y). I guess you could make closer points bigger too. Is that the only way to do it, or can you just send all the points to a plane with a matrix?

PWrong
Pentonian

Posts: 1599
Joined: Fri Jan 30, 2004 8:21 am
Location: Perth, Australia

### plotting a pentatope

If you want Euclidian space (I derived this off of Wikipedia):
x=R*cos(angle1)
y=R*sin(angle1)*cos(angle2)
z=R*sin(angle1)*sin(angle2)*cos(angle3)
w=R*sin(angle1)*sin(angle2)*sin(angle3)

you can scale this to n dimensions.

what I would like to find out, is how to manipulate the angles so that I can plot the points of a polytope.
public class z{public z(){System.out.println("Hi");} public static void main(String[] args){z p=new z();}}
Jim Michaels
jmichae3
Mononian

Posts: 8
Joined: Fri Jun 29, 2007 5:36 am

uhum, that doesn't look like a 5-simplex to me. For one it only has 4 dimensions and secondly from all the trig it looks like a toratope

Keiji

Posts: 1962
Joined: Mon Nov 10, 2003 6:33 pm
Location: Torquay, England

If not a glome.
bo198214
Tetronian

Posts: 690
Joined: Tue Dec 06, 2005 11:03 pm
Location: Berlin - Germany

Agreed. Glome it is.
"God does not play dice." -- Albert Einstein, early 1900's.
"Not only does God play dice, but... he sometimes throws them where we cannot see them." -- Stephen Hawking, late 1900's.
moonlord
Tetronian

Posts: 605
Joined: Fri Dec 02, 2005 7:01 pm
Location: CT, RO, CE EU