Question: Done in VPython. Web VPython 3 . 2 from visual import * x = vector ( 1 , 0 , 0 ) y = vector
Done in VPython.
Web VPython
from visual import
x vector
y vector
z vector
xaxis cylinderpos vector axis x color color.red, radius length
yaxis cylinderpos vector axis y color color.green, radius length
zaxis cylinderpos vector axis z color color.blue, radius length
object sphereposvector radius colorcolor.red, opacity
t
dt
while t :
rate
t t dt
object.opacity object.opacity
pointing arrowposvector axisobject.pos, shaftwidth
Task : Alter your code so that after the object fades out, it fades back in again at a different location in three dimensional space. Teleportation! which is not physics, but it is fun. If possible, try to choose the new location to be esthetically pleasing.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
