Constructor
new SacredCircles()
- Description:
- Create a SacredCircles template
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
point |
Point | X & Y axis coordinates | ||
radius |
number |
<optional> |
25
|
Radius of circle |
iterations |
number | Amount of iterations | ||
strokes |
Rgb | Stroke | Queue | Stroke colors | ||
fills |
Rgb | Fill | Queue | Fill colors | ||
degrees |
Queue | Degrees for generation | ||
master |
Object | Master object |
Methods
degrees(value)
- Description:
- Set degrees value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Array | Array of degrees |
degrees() → {Queue}
- Description:
- Get degrees value
- Source:
Returns:
Queue of degrees
- Type
- Queue
fills(value)
- Description:
- Set fills value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Array | Array of fills |
fills() → {Queue}
- Description:
- Get fills value
- Source:
Returns:
Queue of fills
- Type
- Queue
init()
- Description:
- Sets this template
- Source:
iterations(value)
- Description:
- Set iterations value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
number | Number of iterations |
iterations() → {number}
- Description:
- Get iterations value
- Source:
Returns:
Number of iterations
- Type
- number
master(value)
- Description:
- Set master object
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
value |
clObject | Canvas Lab object |
master() → {clObject}
- Description:
- Get master object
- Source:
- See:
Returns:
Master Canvas Lab object
- Type
- clObject
point(value)
- Description:
- Set point
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
value |
Point | X & Y coordinates |
point() → {Point}
- Description:
- Get point
- Source:
- See:
Returns:
X & Y coordinates
- Type
- Point
radius(value)
- Description:
- Set radius
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
value |
number | Radius of circle |
radius() → {number}
- Description:
- Get radius
- Source:
- See:
Returns:
Radius of circle
- Type
- number
strokes(value)
- Description:
- Set strokes value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Array | Array of strokes |
strokes() → {Queue}
- Description:
- Get strokes value
- Source:
Returns:
Queue of strokes
- Type
- Queue
totalObjects() → {number}
- Description:
- Get number of total objects
- Source:
Returns:
Number of total objects
- Type
- number
transitions(value)
- Description:
- Set transitions
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
value |
Transitions | Transitions object |
transitions() → {Transitions}
- Description:
- Get transitions
- Source:
- See:
Returns:
Transitions object
- Type
- Transitions