Compare commits
2 Commits
c984528075
...
1f24aca5a3
Author | SHA1 | Date | |
---|---|---|---|
1f24aca5a3 | |||
70a8959fba |
|
@ -184,16 +184,6 @@ type SemanticPosition = {
|
||||||
hands?: Map<Hand, HandConnection>,
|
hands?: Map<Hand, HandConnection>,
|
||||||
balance?: BalanceWeight,
|
balance?: BalanceWeight,
|
||||||
};
|
};
|
||||||
type LowLevelPosition = {
|
|
||||||
kind: PositionKind.Circle,
|
|
||||||
} | {
|
|
||||||
kind: PositionKind.ShortLines,
|
|
||||||
};
|
|
||||||
|
|
||||||
interface SemanticPositionAtBeat {
|
|
||||||
position: SemanticPosition,
|
|
||||||
beat: number,
|
|
||||||
}
|
|
||||||
|
|
||||||
enum SemanticAnimationKind {
|
enum SemanticAnimationKind {
|
||||||
StandStill = "StandStill",
|
StandStill = "StandStill",
|
||||||
|
@ -587,16 +577,17 @@ function moveAsLowLevelMoves(move: Move, startingPos: Map<DancerIdentity, Semant
|
||||||
res.set(id, combine([
|
res.set(id, combine([
|
||||||
{
|
{
|
||||||
beats: 1,
|
beats: 1,
|
||||||
endPosition: { ...startPosition, dancerDistance: DancerDistance.Compact },
|
endPosition: { ...startPosition, dancerDistance: swingRole },
|
||||||
movementPattern: { kind: SemanticAnimationKind.Linear, },
|
movementPattern: { kind: SemanticAnimationKind.Linear, },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
beats: move.beats - 2,
|
beats: move.beats - 2,
|
||||||
endPosition: { ...endPosition, dancerDistance: DancerDistance.Compact },
|
endPosition: { ...endPosition, dancerDistance: swingRole },
|
||||||
movementPattern: {
|
movementPattern: {
|
||||||
kind: SemanticAnimationKind.RotateAround,
|
kind: SemanticAnimationKind.Swing,
|
||||||
minAmount: 360,
|
minAmount: 360,
|
||||||
around: startPos.which.leftRightSide(),
|
around: startPos.which.leftRightSide(),
|
||||||
|
endFacing: startPos.which.leftRightSide() === CircleSide.Left ? Facing.Right : Facing.Left,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user