# Path: MultiNEAT/viz.py
# def Draw(x, size=(300,300)):
#     img = np.zeros((size[0], size[1], 3), dtype=np.uint8)
#     img += 10
# 
#     if isinstance(x, NeuralNetwork):
#         DrawPhenotype(img, (0, 0, 250, 250), x )
#     else:
#         nn = NeuralNetwork()
#         x.BuildPhenotype(nn)
#         DrawPhenotype(img, (0, 0, 250, 250), nn )
# 
#     return img


import sys
import time
import random as rnd
import cv2
import numpy as np
import math
import MultiNEAT as NEAT
import pygame
import pymunk as pm
from MultiNEAT.viz import Draw
from pygame.locals import *
from pygame.color import *
from pymunk import Vec2d
from pymunk.pygame_util import draw, from_pygame
#!/usr/bin/python3
# sys.path.insert(0, '/home/peter/code/projects/MultiNEAT') # duh



collision_type_wall = 0
collision_type_nn = 1
collision_type_ball = 2
collision_type_floor = 3

params = NEAT.Parameters()

# Path: MultiNEAT/viz.py
# def Draw(x, size=(300,300)):
#     img = np.zeros((size[0], size[1], 3), dtype=np.uint8)
#     img += 10
# 
#     if isinstance(x, NeuralNetwork):
#         DrawPhenotype(img, (0, 0, 250, 250), x )
#     else:
#         nn = NeuralNetwork()
#         x.BuildPhenotype(nn)
#         DrawPhenotype(img, (0, 0, 250, 250), nn )
# 
#     return img


# Path: examples/ball_keeper.py
import sys
import time
import random as rnd
import cv2
import numpy as np
import math
import MultiNEAT as NEAT
import pygame
import pymunk as pm
from MultiNEAT.viz import Draw
from pygame.locals import *
from pygame.color import *
from pymunk import Vec2d
from pymunk.pygame_util import draw, from_pygame

#!/usr/bin/python3
# sys.path.insert(0, '/home/peter/code/projects/MultiNEAT') # duh



collision_type_wall = 0
collision_type_nn = 1
collision_type_ball = 2
collision_type_floor = 3

params = NEAT.Parameters()

params.PopulationSize = 150