cubing.js — API Reference - v0.61.1-dev
Go to main documentation 🔗
Preparing search index...
twisty
SimpleAlgIndexer
Class SimpleAlgIndexer
Implements
AlgIndexer
Index
Constructors
constructor
Methods
alg
Duration
get
Anim
Leaf
index
To
Move
Start
Timestamp
move
Duration
num
Animated
Leaves
pattern
At
Index
timestamp
To
Index
transformation
At
Index
Constructors
constructor
new
SimpleAlgIndexer
(
kpuzzle
:
KPuzzle
,
alg
:
Alg
)
:
SimpleAlgIndexer
Parameters
kpuzzle
:
KPuzzle
alg
:
Alg
Returns
SimpleAlgIndexer
Methods
alg
Duration
algDuration
()
:
ExperimentalMillisecondDuration
Returns
ExperimentalMillisecondDuration
get
Anim
Leaf
getAnimLeaf
(
index
:
number
)
:
Move
Parameters
index
:
number
Returns
Move
index
To
Move
Start
Timestamp
indexToMoveStartTimestamp
(
index
:
number
)
:
ExperimentalMillisecondTimestamp
Parameters
index
:
number
Returns
ExperimentalMillisecondTimestamp
move
Duration
moveDuration
(
index
:
ExperimentalLeafIndex
)
:
ExperimentalMillisecondDuration
Parameters
index
:
ExperimentalLeafIndex
Returns
ExperimentalMillisecondDuration
num
Animated
Leaves
numAnimatedLeaves
()
:
ExperimentalLeafCount
Returns
ExperimentalLeafCount
pattern
At
Index
patternAtIndex
(
index
:
number
)
:
KPattern
Parameters
index
:
number
Returns
KPattern
timestamp
To
Index
timestampToIndex
(
timestamp
:
ExperimentalMillisecondTimestamp
,
)
:
ExperimentalLeafIndex
Parameters
timestamp
:
ExperimentalMillisecondTimestamp
Returns
ExperimentalLeafIndex
transformation
At
Index
transformationAtIndex
(
index
:
number
)
:
KTransformation
Parameters
index
:
number
Returns
KTransformation
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
alg
Duration
get
Anim
Leaf
index
To
Move
Start
Timestamp
move
Duration
num
Animated
Leaves
pattern
At
Index
timestamp
To
Index
transformation
At
Index
Go to main documentation 🔗
cubing.js — API Reference - v0.61.1-dev
Loading...