Plot a stereographic hypercube in a Mac's Grapher.app?

  • Thread starter Thread starter sbmarantz
  • Start date Start date
  • Tags Tags
    Plot Stereographic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
sbmarantz
Messages
2
Reaction score
2
Hello everyone, first post here.

I don't need to do this in Grapher.app (the default graphing calculator on every Mac), but it is an elegant humble little app, and I have seen the hypercube projected using it here.

I really would love to get the equations and expressions in my own file on my own computer. I'm a novice in all this, though I learn fast, so thanks in advance.

If there is some magically amazing (free) that will do this nicely on a Mac, please let me know.

The screenshot below pretty much shows what I ma trying to achieve. The equations there are more elegant than the other messes I have seen in some example viewer apps. The guy who posted that video has the full equations sadly not visible. I want to be able to get a nice projection of a tesseract that I can rotate and change variables on. It seems like something that there would be basic how-tos everywhere, but that one video I linked to above is the best thing I have found. This is a tool that is accessible to so many people, I'd love to be able to share and explore this.

My working Grapher.app file is here, just for reference.

Any advice on how to get this going?

The image is what I'm trying to create, but cannot do so far.

Thanks so much,

David
hypercube.png
 

Attachments

  • hypercube.png
    hypercube.png
    58.8 KB · Views: 1,219
Physics news on Phys.org
Here's some info on hypercubes:

https://en.wikipedia.org/wiki/Hypercube_graph

http://mathworld.wolfram.com/HypercubeGraph.html

and here's some mathematica code that you could port to Grapher.app

https://mathematica.stackexchange.c...o-create-this-four-dimensional-cube-animation

and here's a similar one done in MATLAB:

https://gist.github.com/krazkidd/b8bf11892e243e98c096

and here's a similar one done in Python:

https://www.nodebox.net/code/index.php/shared_2007-05-31-00-23-43

You might also extract the equations used in the Youtube video if you can see them clear enough.

Hope this helps, I searched around at www.PacificT.com but couldn't find the tesseract code shown in the video. Sometimes the code just isn't there for what you want and so you need to improvise.
 
  • Like
Likes   Reactions: sbmarantz
Hello jedishrfu,

Thanks so much for these links to resources. I'll check this out and post back if I can figure it out. This is a big help.

– David

jedishrfu said:
Here's some info on hypercubes:

https://en.wikipedia.org/wiki/Hypercube_graph

http://mathworld.wolfram.com/HypercubeGraph.html

and here's some mathematica code that you could port to Grapher.app

https://mathematica.stackexchange.c...o-create-this-four-dimensional-cube-animation

and here's a similar one done in MATLAB:

https://gist.github.com/krazkidd/b8bf11892e243e98c096

and here's a similar one done in Python:

https://www.nodebox.net/code/index.php/shared_2007-05-31-00-23-43

You might also extract the equations used in the Youtube video if you can see them clear enough.

Hope this helps, I searched around at www.PacificT.com but couldn't find the tesseract code shown in the video. Sometimes the code just isn't there for what you want and so you need to improvise.
 
  • Like
Likes   Reactions: berkeman