3d cube rendering question

In this graph:

render

can someone help me get the points to connect correctly?

https://www.desmos.com/calculator/wuamb1o5un

You have to describe a sequence of points that draws the cube.

It would be perhaps a better approach to use a list of vertices and use the polygon function or the segment function of Desmos Geometry to build the faces of the cube using those vertices.

Like this for example:

https://www.desmos.com/geometry/wne5wsatol

THANK YOU SO MUCH!

What variable is the sequence of points?

Well, yes, you are right … I did actually divide the list of points into three sequences X, Y, Z containing the coordinates of the points.
You could also use a single sequence [ (X, Y, Z) ]

Here’s a cleaner version:

https://www.desmos.com/geometry/ohx0ur5yey

I noticed there was also a pi instead of a phi

1 Like

here’s a compact way to get the same result:

https://www.desmos.com/geometry/1ow0yfc0uu

I also made a variant with the stella octangula (that is, two tetrahedrons) and the octahedron:

https://www.desmos.com/geometry/vh8h9px4jb

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.