コード例 #1
0
import Recorder
import sys
sys.path.insert(
    0,
    'C:\Users\Thomas\Desktop\Leap_Motion_SDK_Windows_2.3.1\LeapDeveloperKit_2.3.1+31549_win\LeapSDK/lib'
)
sys.path.insert(
    0,
    'C:\Users\Thomas\Desktop\Leap_Motion_SDK_Windows_2.3.1\LeapDeveloperKit_2.3.1+31549_win\LeapSDK/lib/x64'
)
import Leap
from pygameWindow_Del03 import PYGAME_WINDOW

recorder = Recorder.RECORDER(Leap.Controller(), PYGAME_WINDOW(), 500, 600,
                             -100.0, 100.0, 0.0, 700.0, 0, 0, 0, 1000)
Recorder.RECORDER.Run_Forever(recorder)
コード例 #2
0
from __future__ import division
import sys

sys.path.insert(0, '..')
import Leap
from pygameWindow_Del03 import PYGAME_WINDOW
import random
import constants
import Recorder

obj = Recorder.RECORDER()
obj.Run_Forever()