def begin_shape(kind=None):
    """
	Begin shape drawing.  This is a helpful way of generating custom shapes quickly.

	:param kind: POINTS, LINES, TRIANGLES, TRIANGLE_FAN TRIANGLE_STRIP, QUADS, or QUAD_STRIP
	:type kind: str
	"""
    global shape_kind, vertices, contour_vertices, vertices_types, contour_vertices_types, is_contour
    if (kind == 'POINTS' or kind == 'LINES' or kind == 'TRIANGLES' or kind ==
        'TRIANGLE_FAN' or kind == 'TRIANGLE_STRIP' or kind == 'QUADS' or 
        kind == 'QUAD_STRIP'):
        shape_kind = kind
    else:
        shape_kind = None
    is_contour = False
    vertices = []
    contour_vertices = []
    vertices_types = []
    contour_vertices_types = []
