Ask Your Question

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

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

anonymous user


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

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

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


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 +0200 )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


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

Seen: 354 times

Last updated: Aug 14 '12