Esempio n. 1
0
from visualizer.quickstart import *

quickstart("sample.fdl")
Esempio n. 2
0
from visualizer.quickstart import *

quickstart("Rx(alpha) tr(x,y,z)*Ry(beta) Rz(gamma)")
Esempio n. 3
0
from visualizer.quickstart import *

quickstart("sample.fdl","decorators.py:foo")
Esempio n. 4
0
from visualizer.quickstart import *


def dec(s):
    s.addObject(0, Axes(color='white'))
    s.addObject(0, Box(x=1, y=1, z=1, color='green'))
    s.addObject(1, Box(x=1, y=1, z=1, T=tr(0, 0, 1), color='red'))
    s.addObject(1, Box(x=1, y=1, z=1, T=Ry(pi), color='blue'))


quickstart("tr(2,0,0) tr(2,0,0) tr(2,0,0)", dec)
Esempio n. 5
0
from visualizer.quickstart import *

def dec(s):
  s.addObject(0,Axes(color='white'))
  s.addObject(0,Box(x=1,y=1,z=1,color='green'))
  s.addObject(1,Box(x=1,y=1,z=1,T=tr(0,0,1),color='red'))
  s.addObject(1,Box(x=1,y=1,z=1,T=Ry(pi),color='blue'))
  
quickstart("tr(2,0,0) tr(2,0,0) tr(2,0,0)",dec)
Esempio n. 6
0
from visualizer.quickstart import *

quickstart("sample.fdl", "decorators.py:foo")