record shape in place of height and width separately

This commit is contained in:
Grant Sanderson
2016-02-27 13:33:46 -08:00
parent 74517d798d
commit 0667e13427
5 changed files with 66 additions and 57 deletions

View File

@ -12,6 +12,9 @@ import re
from constants import *
def color_to_int_rgb(color):
return (255*np.array(Color(color).get_rgb())).astype('uint8')
def compass_directions(n = 4, start_vect = UP):
angle = 2*np.pi/n
return [