标签:
使用VPython,python(x,y)中已安装VPython模块
from visual import *
cylinder(pos=(0,1,0), axis=(0,1,0), radius=0.1, color=(0,1,0))
box = box(length=4, height=0.5, width=4, color=color.blue)
ball = sphere(pos=(0,4,0), color=color.red)
http://vpython.org/contents/docs/display.html
安装目录下文件夹中
标签:
原文地址:http://www.cnblogs.com/fly2wind/p/5943970.html