lentil.spider#

lentil.spider(shape, width, angle=0, shift=(0, 0), antialias=True)[source]#

Draw a spider

Parameters:
  • shape (array_like) – Size of output in pixels (nrows, ncols)

  • width (float) – Width of rectangle in pixels

  • angle (float, optional) – Rotation of spider in degrees counterclockwise from horizontal. Default is 0.

  • shift (tuple of floats, optional) – How far to shift center in (rows, cols). Default is (0, 0).

  • antialias (bool, optional) – If True (default), the spider edges are antialiased.

Return type:

ndarray