Ask Your Question
0

Change camera position

asked 2025-02-07 08:48:54 +0100

Miguel403 gravatar image

Hello, there is a way to change camera position in SageMath? I am currently using Polyhedron() function to display figures, I know that exist camera_position and pointview parameters, but when I use them in show() or another function it doesn't work. I don't want to use Zoom, but change the perspective when the visualizer box initialize. If anyone could help me, I would appreciate.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-02-07 11:41:58 +0100

eric_g gravatar image

As explained here, you should use the keyword argument viewpoint=((x,y,z), angle) in show. For instance:

dodecahedron().show(viewpoint=((5,0,8), 90))
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-02-07 08:48:54 +0100

Seen: 70 times

Last updated: Feb 07