Class: W2

W2(mask, options)

Define the W2 Tangle. W2 consists of a grid of squares connected by straight lines to create a woven patten.

Constructor

new W2(mask, options)

Create a new W2.

Parameters:
Name Type Description
mask Array.<Point> | Polygon

Vertices of a polygon used as a mask. Only the portion of the tangle inside the polygon will be visible.

options W2Options

The options list.

Source: