Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
103 views

When I run the example Bounce-VPython.py from the command line I get the following error messages: #python Bounce-VPython.py C:\Users\KlausR\miniconda3\Lib\site-packages\vpython\__init__.py:1: ...
Klaus Rohe's user avatar
0 votes
0 answers
49 views

I am a newbie in VPython and I try to run very simple code from examples. The following code works perfectly at glowscript.org : Web VPython 3.2 coaster = curve(vector(-3,0,0),vector(-3,0,0)) theta = ...
Stef1611's user avatar
  • 2,515
0 votes
0 answers
25 views

Is there a way to have a pop-out separate window that displays VPython output instead of it automatically opening in your default browser?
Cinco555's user avatar
1 vote
0 answers
44 views

I'm trying to use vpython in spyder to do physics simulations, when I run the code it opens a browser window in Edge to show the result. Is there a way I can display the results directly in spyder ...
Ethan Dicke's user avatar
1 vote
0 answers
125 views

While trying to make a model of a red ball via vpython, I encountered an issue on my linux device. I installed vpython like this: pip install vpython But when I ran this an error occurred: error: ...
Matthew Moller's user avatar
1 vote
0 answers
178 views

I tried to draw a set of octahedra by vpython, it showed, however, the scene looks don't like a 3D object, it looks just like a colored shadow, whatever how I rotate it. I have no idea how to fix this ...
Cutie Florent's user avatar
0 votes
0 answers
71 views

I want to start using vpython, and to check that it was installed correctly, I simply run a program importing it: import vpython While it does work, I get a strange error in the terminal about ...
Jaime Yepes de Paz's user avatar
0 votes
0 answers
21 views

Im trying to represent the value of a sensor I have from an Arduino program using Vpython. An error occurs when changing the tube length to represent the new values. How do I fix this? The error ...
Zven Reyes's user avatar
0 votes
0 answers
64 views

I'm trying to get the horizontal rotation of the camera, but the scene.camera.axis.x seems to be completely random and makes no sense at all. I need the rotation in degrees because that's what I need ...
JasperLeFoox's user avatar
0 votes
1 answer
76 views

Pretty much the title. Tried creating a sphere and a box which worked, but can't rotate it around at all. I can zoom in and out though. Couldn't find anything online, tried using jupyterlab and had ...
Copywright's user avatar
0 votes
0 answers
208 views

I'm trying to install vpython on visual studio code and executing it in a jupyter nootebook, but I get the error: ModuleNotFoundError: No module named 'vpython.with_notebook' from vpython import * #...
alvarito mendez's user avatar
1 vote
0 answers
101 views

Kind of a multi-part issue so I apologize, firstly really simple example code, I want to use when rectifying this problem. #Simple Example Code from vpython import * scene = canvas(width=1900, ...
mg3's user avatar
  • 23
2 votes
0 answers
1k views

I'm running Jupiter on vscode, and trying to run a graph animation with vpython. but when I run this: from vpython import graph, canvas scene = canvas() g1 = graph(xtitle="x", ytitle="y&...
amir g's user avatar
  • 21
0 votes
0 answers
206 views

Jupyterlab hangs and does not display the results of evaluation when I try to run any graphical vpython code, eg... from vpython import * canvas() box(vector-(0,0,0)) I have tried this in both colab ...
user3241313's user avatar
1 vote
2 answers
318 views

Installed vpython via cmd: c:\Users>pip install vpython Using Python 3.9.9 After installation I tested in cmd using python -m vpython.test and got the following error: PS H:\Preston\folders\...
mesharayt's user avatar
0 votes
1 answer
314 views

Im trying to make a pair of balls bounce in 1D space and let them colide. I'm running it on glowscript which uses webVPython, should be the same as VPython from what I can tell. I keep running into ...
Amir G's user avatar
  • 1
0 votes
1 answer
112 views

I have the following code in Pydroid. I creates 3D text in Python on Android. I need to make the button bigger. import asyncio from vpython import * scene = canvas() scene.width = 1600 scene.height =...
Hassan Voyeau's user avatar
0 votes
0 answers
69 views

I go to packages and I search for vpython and I click install. It notifies that "vpython is installed" but it does not show up as installed.
Hassan Voyeau's user avatar
-1 votes
1 answer
20 views

Is it possible and if so to get the rotation vector/axis of the canvas? I would like to implement dragging in 3D
kwicher's user avatar
  • 2,082
0 votes
2 answers
102 views

I have create a little 3d simulation with VPython. And with it sliders to control positions and colors or objects. However, I can't find a way to display a caption to indicate what is the slider about....
Chris Ze Third's user avatar
1 vote
1 answer
134 views

I have tried to create a menu to change the color of a local light in my simulation. The simulation is a central sphere being a planet, around an atmosphere with transparency smaller than 1 and a ...
Antonio's user avatar
  • 93
1 vote
1 answer
84 views

Where is vpython installed? When I enter in the terminal the command: pip install vpython,There are some processes in the log, but in the end I don’t see any files of this library in the root folder ...
Rostislav Gerasimenko's user avatar
0 votes
1 answer
59 views

So I'm supposed to write a Python program that creates 3 circles of spheres: one on the xy plane, one in the yz plane, and one in the xz plane. Each ring should be centered on the origin, and I'm ...
fuenjd01's user avatar
0 votes
1 answer
299 views

If a Jupyter Notebook file is rendering too long in GitHub, it is recommended here to show it in nbviewer, since it is an issue with GitHub backend. From here, which I do not understand nbviewer does ...
dudung's user avatar
  • 789
0 votes
0 answers
307 views

I am trying to convert a py file from VPython 2.7 Program to exe file (in windows) but I am getting an error that says. ModulNotFoundError: No module named 'visual' Can you guys please guide me on how ...
user21034769's user avatar
0 votes
1 answer
95 views

I want to put for each side of the box (6 sides), one image face: image1.jpg left: image2.jpg right:image3.jpg top: image4.jpg bottom:image5.jpg behind:image6.jpg Is there a way to do it ? here is the ...
Kemal AL GAZZAH's user avatar
2 votes
1 answer
145 views

I am working on a project related to charge distribution on the sphere and I decided to simulate the problem using vpython and Coulomb's law. I ran into an issue when I created a sphere because I am ...
Ma.Te.Pa's user avatar
  • 290
0 votes
1 answer
105 views

I'm currently working on a project which uses VPython and I'd like to look into the library's source code. The only problem is that I'm unsure which VPython files are being used when I use VPython in ...
Ky James's user avatar
  • 115
4 votes
1 answer
2k views

I work with Python 3.10.0. I installed vpython using pip, it was installed successfully. Then when I just use: from vpython import * print('hello') hello is printed, and after that I get the ...
user2169778's user avatar
0 votes
1 answer
253 views

I am writing a Vpython simulation for projectile motion and keep getting the error ('float' object has no attribute '_x') on this line(ball.vel.y = ball.vel.y + g*dt) . I have tried changing the ...
Sam Cahill's user avatar
1 vote
1 answer
823 views

What are the main differences between Manim and VPython (Web VPython) for 2D or 3D animations from a user perspective? In other words, what can be accomplished in one but not the other? Which is most ...
Ken Smith's user avatar
  • 155
-1 votes
1 answer
106 views

I am using the box() function provided by the visual module of Python. I want to capture the output image rendered by the display() function as a .png file. I am using scene.capture('test4312'). But ...
SOMRITA SAHA's user avatar
1 vote
1 answer
460 views

from vpython import * from tkinter import * root=Tk() frame=Frame(root) frame.pack() wall=box(pos=vector(0,1,0),size=vector(0.2,3,2),color=color.green) floor=box(pos=vector(6,-0.6,0),size=vector(14,0....
ineedmoney's user avatar
1 vote
0 answers
2k views

Trying to figure out how to programmatically generate 3D models, found a series of YouTube tutorials using vpython, tried to install vpython. pip install vpython It installs, most of it looks fine. ...
Fluffy Ribbit's user avatar
1 vote
1 answer
476 views

I have installed vpython from the terminal using pip install vpython, and it installed successfully. I am using python 3.10.2. When I write from vpython import * nothing happened. Then I write vp.box()...
Botolog_E's user avatar
0 votes
1 answer
185 views

Hope you are all doing well. I am trying to draw a 3D-text which I want to embed into an HTML document. So for this I found vpython which can draw 3D text and render result in browser window using ...
Syed Shahwaiz Bukhari's user avatar
0 votes
1 answer
144 views

I am running python 3.9.9 in vs code and Windows 10. When I run vpython in a standard(global) program my browser opens and the picture appears. When I run vpython in a virtual environment the browser ...
Stuart Spaven's user avatar
0 votes
1 answer
78 views

I'm making a simulation of pendulum motion using a simple gravity pendulum in VPython. The relationships appear to be according to what is expected except, when I start a pendulum at a lower angle it ...
The Allmighty Jake's user avatar
1 vote
0 answers
944 views

When I try to run any vpython program on Visual Studio Code, it shows this error: 0:38: execution error: An error of type -10673 has occurred. (-10673) 69:77: execution error: Google Chrome got an ...
Charlie Zhang's user avatar
0 votes
0 answers
254 views

I'm a beginner with vpython, trying to make something like clock using text. The problem is that text actually changes but the older one stays, I have tried setting up visibility to flase, but it ...
Filgum0326's user avatar
0 votes
1 answer
122 views

I am a true beginner in python and right now I am stuck with the code below, I can't figured our how to move forward with it. It doesb't show me a curve which I am trying to code. The idea is that it ...
Maria Sen's user avatar
0 votes
1 answer
148 views

I was wondering how to yaw gear object about Y-axis in vpython. I have been following some tutorials and I have managed to rotate the gear. The gear rotates about Z axis in vpython. I want the gear to ...
AKKJ's user avatar
  • 1
3 votes
1 answer
905 views

Before I say it, Sorry for my poor English. I'm making an orbit simulation with vpython, because the earth science teacher asked me to. The link below is the result of my work so far. https://...
sungho's user avatar
  • 99
0 votes
1 answer
369 views

I'm making a simulation about two springs and one mass. I've made it through VPython using some graphics elements. I used the slider function from Vpython to try to change the variables of radius and ...
Martín Zuluaga's user avatar
0 votes
0 answers
217 views

I don't have much experience with Python. Don't judge me for that. I just beg you to tell me how to take use of VPython. I already have Python installed on Mac. Version 3.9.8. At least I believe to ...
Leon's user avatar
  • 132
2 votes
4 answers
1k views

I want to build physics simulations using VPython. Although, VPython works great on websites like trinket.io, I'd like to use a nicer IDE than the web one, and I'd like to use real python modules as ...
Shai Avr's user avatar
  • 1,420
1 vote
0 answers
164 views

I want to run a vypthon simulation in Flask. I have no idea how, since a lot of different things I have tried always lead to errors. This is just one example of many things I have tried: from vpython ...
nitau's user avatar
  • 888
1 vote
1 answer
837 views

I just bought a new computer so I decided to install python. I installed the last version which is 3.10. Afterwards I decided to installed all the libraries I ussually use. One of my main projects ...
SGD's user avatar
  • 55
0 votes
1 answer
200 views

I am going to create a GUI interface to calculate time period by taking mass(m) and stiffness(k) as input values from a user. I have tried to create the interface in glowscript but at the time to ...
Manasi Juwalekar's user avatar
0 votes
2 answers
1k views

I tried installing pip install vpython Getting error like restart kernel and 'C:\Users\HP' is not recognized as an internal or external command, operable program or batch file.
Mubashra's user avatar

1
2 3 4 5
7