Lines Matching refs:visual
1105 import visual
1107 class IPsphere(visual.sphere):
1109 visual.sphere.__init__(self, **kargs)
1120 …self.label=visual.label(text=txt, pos=self.pos, space=self.radius, xoffset=10, yoffset=20, visible…
1124 visual.scene = visual.display()
1125 visual.scene.exit = True
1126 start = visual.box()
1149 col = visual.color.green
1151 col = visual.color.blue
1153 … s = IPsphere(pos=((l-1)*visual.cos(2*i*visual.pi/l),(l-1)*visual.sin(2*i*visual.pi/l),2*t),
1165 visual.cylinder(pos=start,axis=ip.pos-start,color=col,radius=0.2)
1170 visual.rate(50)
1171 if visual.scene.kb.keys:
1172 k = visual.scene.kb.getkey()
1175 if visual.scene.mouse.events:
1176 ev = visual.scene.mouse.getevent()
1202 visual.scene.center -= visual.scene.mouse.pos-movcenter
1203 movcenter = visual.scene.mouse.pos