Example #1
0
import sys
sys.path.insert(0, "..")
import Leap
from pygameWindow_Del03 import PYGAME_WINDOW
from Recorder import RECORDER
import random
import pygame
import os

new_derivable = RECORDER(PYGAME_WINDOW(), Leap.Controller(), 540, 360, 1000,
                         1000.0, -1000.0, 1000.0, -1000.0)
new_derivable.Run_Forever()
Example #2
0
import sys
sys.path.insert(0, "..")
import Leap
import constants

import random
from pygameWindow_Del03 import PYGAME_WINDOW
from Recorder import RECORDER

deliverable = RECORDER(Leap.Controller(), PYGAME_WINDOW(), 400, 400, 800, -800,
                       800, -800)

deliverable.Run_Forever()
Example #3
0
# import sys
# sys.path.insert(0, '..')
#
# import Leap
# import pygame
# from pygameWindow import PYGAME_WINDOW
# import Deliverable
# deliverable = Deliverable.DELIVERABLE()

from Recorder import RECORDER

deliverable = RECORDER()
deliverable.delete()
deliverable.Run_Forever()

#
# def Run_Forever():
#     pygameWindow = PYGAME_WINDOW()
#     run = True
#     while run:
#
#         for event in pygame.event.get():
#             if event.type == pygame.QUIT:
#                 run = False
#         pygameWindow.Prepare()
#
#         controller = Leap.Controller()
#         frame = controller.frame()
#
#         handlist = frame.hands
#         if not handlist:
Example #4
0
from Recorder import RECORDER

d = RECORDER()
d.Run_Forever()
Example #5
0
import sys
sys.path.insert(0, '..')
from Recorder import RECORDER
import pygame
from pygameWindow_De103 import PYGAME_WINDOW
from constants import pygameWindowDepth, pygameWindowWidth
from Reader import READER

pw = PYGAME_WINDOW()
x = pygameWindowWidth - pw.screen.get_width() // 2
y = pygameWindowDepth - pw.screen.get_height() // 2
xMin = 1000.0
xMax = -1000.0
yMin = 1000.0
yMax = -1000.0

reader = READER(pw)
reader.Restart_Directory()
deliverable = RECORDER(pw, x, y, xMin, xMax, yMin, yMax)
deliverable.Run_Forever()
exit()
Example #6
0
##########################################

#import random
from Recorder import RECORDER

RecInstance = RECORDER()
RecInstance.Run_Forever()
Example #7
0
import sys
#Add path to PATH
sys.path.insert(0, '../x86')

from Recorder import RECORDER

new_recorder = RECORDER()

#Initialize
new_recorder.Remove_Dir()
new_recorder.Make_Dir()

#Infinite Loop
new_recorder.Run_Forever()

print(pygameWindow)
Example #8
0
from Recorder import RECORDER

recorder = RECORDER()
recorder.Run_Forever()

















Example #9
0
from Recorder import RECORDER

r = RECORDER()
r.Run_Forever()
exit()
Example #10
0
import sys
sys.path.insert(0, '..')
from Leap import *

from pyGameWindow_Del03 import PYGAME_WINDOW
from constants import CONSTANTS
from Recorder import RECORDER

myConstants = CONSTANTS()

recorder = RECORDER(Controller(), PYGAME_WINDOW(),
                    int(myConstants.pygameWindowWidth / 2),
                    int(myConstants.pygameWindowDepth / 2), 1000, -1000, 1000,
                    -1000)
recorder.Run_Forever()
Example #11
0
import sys
sys.path.insert(0, '..')
sys.path.insert(1, '../x86')

import Leap

import constants
from pygameWindow_Del03 import PYGAME_WINDOW_Del03

from Recorder import RECORDER


# Creating an instance of the DELIVERABLE class
recorder = RECORDER(constants.x, constants.y, constants.xMin, constants.xMax, constants.yMin, constants.yMax)

recorder.Clear_User_Data()

recorder.Run_Forever()