Beispiel #1
0
def interlude2(view):
    val = [moose.getField(i, view.mooField, "double") * view.mooScale for i in view.mooObj]

    view.mooGroup.set("color", val, view.mapper)
    view.yaw(rotation)
    if moose.element("/clock").currentTime >= runtime:
        view.stop()
Beispiel #2
0
def interlude(view):
    moose.start(moogliDt)
    val = [moose.getField(i, view.mooField, "double") * view.mooScale for i in view.mooObj]
    # print "LEN = ", len( val ), "field = ", view.mooField

    view.mooGroup.set("color", val, view.mapper)
    view.yaw(rotation)
    # print moogliDt, len( val ), runtime
    if moose.element("/clock").currentTime >= runtime:
        view.stop()