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

In summary, the conversation is about a person wanting to create a projection of a tesseract using Grapher.app on a Mac. They are looking for resources and code to help them achieve this and have shared some links to hypercube information and examples in Mathematica, MATLAB, and Python. They also mention trying to extract equations from a YouTube video and potentially improvising if necessary.
  • #1
sbmarantz
2
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,087
Physics news on Phys.org
  • #2
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 sbmarantz
  • #3
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 berkeman

1. What is a stereographic hypercube?

A stereographic hypercube is a four-dimensional geometric shape that is created by adding a fourth dimension to a traditional three-dimensional cube. It is often represented as a projection onto a three-dimensional plane, giving the illusion of a three-dimensional cube within a cube.

2. How is a stereographic hypercube plotted in Mac's Grapher.app?

In Mac's Grapher.app, you can plot a stereographic hypercube by using the "New Formula" option and inputting the coordinates for each point of the hypercube. You can also use the "Transform" feature to rotate and manipulate the shape as desired.

3. What are some practical applications of a stereographic hypercube?

Stereographic hypercubes have various applications in mathematics and physics, such as in the study of higher-dimensional geometry and topology. They can also be used to visualize four-dimensional data in fields like computer graphics and data visualization.

4. Can a stereographic hypercube be plotted in other software programs?

Yes, a stereographic hypercube can be plotted in other software programs such as Wolfram Mathematica and MATLAB. However, the specific steps and commands may vary depending on the program.

5. Is it possible to plot a stereographic hypercube in a physical space?

No, it is not possible to physically construct a stereographic hypercube in our three-dimensional world. It is a theoretical concept that can only be visualized and studied through mathematical and computational models.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • Computing and Technology
Replies
6
Views
1K
  • Computing and Technology
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • Feedback and Announcements
Replies
1
Views
208
  • STEM Academic Advising
Replies
5
Views
1K
  • Programming and Computer Science
Replies
2
Views
3K
  • Programming and Computer Science
Replies
3
Views
1K
  • Special and General Relativity
Replies
24
Views
2K
Back
Top