Tutorial ufficiale https://www.glowscript.org/docs/VPythonDocs/VPython_Intro.pdf https://www.vpython.org/contents/docs/VPython_Intro.pdf https://www.xn--fz-jlich-95a.de/SharedDocs/Downloads/JULAB/DE/Material_Simulationsrechnen_ball%20in%20a%20box.pdf;jsessionid=76D36C4A9EBEBE17782266CABBE25DBE?__blob=publicationFile https://www.glowscript.org/#/user/GlowScriptDemos/folder/Examples/program/Bounce-VPython … Una pallina bianca from vpython import * sphere() Una pallina azzura e una parete verde a destra from vpython import * ball = sphere(pos=vector(-5,0,0), radius=0.5, color=color.cyan) wallR = box(pos=vector(6,0,0), size=vector(0.2,12,12), color=color.green) La posizione della palla dipende dal tempo: ball.pos=ball.pos+ball.velocity*deltat from vpython import * ball = sphere(pos=vector(-5,0,0), radius=0.5, color=color.cyan) … Leggi tutto