I think that since you are pointing the camera in the +z direction, your point of view is out of the page. From this perspective the “left” is the negative x direction.
From the docs:
range The extent of the region of interest to the left or right of center. Setting range to 10 means that scene.center.x+scene.range will be at the right edge of a square window. A sphere of radius 10 will fill the window. A cubical box whose half-width is 10 will overfill the window, because the front of the box in 3D appears larger than the xy plane passing through scene.center, unless the field of view is very small.
Perhaps your canvas isn’t square? Try: scene=canvas(width=400,height=400)
good luck!
-steve
> --
> You received this message because you are subscribed to the Google Groups "VPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
vpython-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.