Additive/multiplicative rules

This commit is contained in:
Grant Sanderson
2016-04-30 15:08:53 -07:00
parent dbb31980da
commit e5dc0db8ef
7 changed files with 320 additions and 33 deletions

View File

@ -129,6 +129,8 @@ class Camera(object):
if len(points) == 0:
continue
coords = self.points_to_pixel_coords(points)
if np.all(~self.on_screen_pixels(coords)):
return result
start = "M%d %d"%tuple(coords[0])
#(handle1, handle2, anchor) tripletes
triplets = zip(*[