Ask Your Question
1

plotting 5,8,16,24,120 and 600-cells

asked 2012-08-14 06:24:22 +0100

anonymous user

Anonymous

How would one go about plotting these shapes in sage? I think it's using polytopes. but I haven't found ones for 16-cell and 120-cell.

Also is this correct?

5-cell = n_simplex(4)

8-cell = n_cube(4)

24-cell = twenty_four_cell

600-cell = six_hundred_cell

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-08-14 16:04:22 +0100

Volker Braun gravatar image

The 4-cube has 8 facets:

sage: P = polytopes.n_cube(4) 
sage: P.f_vector()
(1, 16, 32, 24, 8, 1)

And plot of a projection into 3-d:

sage: P.plot()

I don't think the 120 cell is implemented. The 16-cell is polytopes.cross_polytope(4)

edit flag offensive delete link more

Comments

The 120-cell is now available in the library. The 'normaliz' backend is currently the fastest way to get it.

sage: otc = polytopes.one_hundred_twenty_cell() # slow...
sage: otc = polytopes.one_hundred_twenty_cell(backend='normaliz')
sage: otc.plot()
jipilab gravatar imagejipilab ( 2020-04-23 09:43:49 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-14 06:24:22 +0100

Seen: 455 times

Last updated: Aug 14 '12