An example is when a couple are forming a unit using the 'two hand hold' in the pousette in the Flowers of Edinburgh. You will see that the hands are held at positions that are equidistant from each person and 20 grid points out to the side. The hands are maintained in this position from the time the unit is formed to the time it is disbanded.
2. When people are not in a unit, hand taking is a little more complicated. The people who are taking hands may be moving relative to each other. The position of the hands is going to move, both relative to the dance floor and relative to the dancers. This would make it difficult for the XML coder to specify the location of the hands. Therefore we do not allow the location of the hands to be specified. The hands are assumed to be held at a comfortable position. This means hands cannot be held in, say, an allamande position. However, hand holds such as the allamande are, in practice, only done when the participants are forming a unit so this is not a practical limitation.
It may also be difficult for the XML coder to determine the exact time at which hands should be taken. Take, for example, mirror reels on the sides, taking hands with partners when near the center line. It would be inconvenient for the XML coder to have to specify the exact times at which hands should be taken and the exact times at which hands should be dropped. The XML coder would find it easier if she could simply indicate that two people should take hands whenever they are close enough to comfortably do so, and drop hands when they become too far apart. Therefore this is just what the
Consider rights and lefts (cirular hay with hands, to English dancers) involving two couples, each couple starting by crossing with the right hand. You can specify this by telling man 1 that he takes right hand with woman 1 for all eight bars and left hand with man 2 for all eight bars. Hands will only be taken when 'in range' so this will work.
Consider a grand chain (cirular hay with hands, to English dancers) involving three couples. Couple 1 start facing each other, couple 2 start facing down, couple 3 start facing up. So man 1, woman 2, and man 3 are travelling clockwise while woman 1, man 2, and woman 3 are travelling counterclockwise. The same trick will not work here because man 1 gives right hand to woman 1 the first time and give left hand the second time they pass. They would be trying to give both hands on both passes! Hands have to be specified for each passing (i.e. for each period of 2 or 4 bars).
Consider a couple making an arch. To get other couples through the arch, the two people making the arch must be positioned at such a distance apart that they may be out of the range in which hands would be taken. When people are too far apart to take hands, hands are completely withdrawn. They are not reached as far as possible. The solution in this case is to create a unit for the arch. In units, hands are always taken when indicated, regardless of the distance. The arms just get very long!
In the examples above there are two hands involved at each hand hold. You may specify more hands. For example, in 'three hands across' you would have three hands involved at a single hand hold. There is no limit to the number of hands that may be involved in a single hand hold though it is unlikely that any dance would have more than four hands at a single point. You may not have a hand hold with a single hand (country dances do not have moves that involve hold out hands without taking someone else's hand). A person is not allowed to have both of his/her hands participating in the same hand hold (this does not happen in country dances so would likely indicate an error by the coder of the XML).
The persons within the unit must remain in the same position relative to each other although the unit as a whole may move, rotate, or shift just like a person. Persons in the unit may take hands. Although in most cases hands are taken, there are cases where hands are not taken. For example, in some Scottish and English dances a couple will dance a reel or hey 'in tandem', or 'as a unit'. One dancer will follow the other closely behind. Note that the first couple in the Pelorous reels in Pelorous Jack do not form a unit. Even if the first couple always maintain the same distance from each other, they are not facing the same direction relative to each other - sometimes the man is facing the woman's back and sometimes the woman is facing the man's back.
Once a unit is formed it may be moved around as a single entity. A unit may moved, rotated, shifted, and may participate as a single participant in a figure. In fact a unit may do anything a person can do except that
A unit may be specified in the list of participants of a figure. However, a unit may not be specified as a participant in a figure if that participant is required by the figure to either take hands or to form a unit.
People in a unit may take hands with other people in the unit. The hand holds are part of the unit definition. If people in a unit take hands then they must take hands in the same way whenever the unit is formed.
One way of dealing with this in the XML would be to change the 'lead down and back' figure so that it leaves the couple positioned in the center. This would mean many definitions of 'lead down and back' and the XML coder would have to select the appropriate one depending on which figure followed. Also, the start of the 'lead down and back' figure may also have to be varied depending on the preceding figure causing the number of variation of 'lead down and back' to multiply.
Another solution would be to define the 'lead down and back' figure for just the middle 6 bars, say. The movements for the first and last bar are not considered part of the figure and must be made before and after the figure is used. This is still not ideal. In some uses of a figure there may be a long transition needed and in other cases a short transition. Figures would have to be defined for the uses that require the longest transitions, sometimes leaving half the figure to be specified outside the figure definition. This is not great when in most uses of the figure there may be no transition necessary.
The solution is to allow two figures to be used where the first figure leaves someone in one place and the second figure starts with that same person in a different place. A transition will be calculated. The XML coder must place a
The animator program will calculate where the person is at the start and at the end of the transition period. It will then effectively replace the movements that would have occured during the transition period with a single 'move'.
If a person is forming a unit then no transition period can extend into the time in which a person forms a unit. That means, for example, if a figure starts with a unit then any transition for people in that unit cannot have the 'after' attribute specified. Likewise if a figure ends with a unit then the 'before' attribute cannot be specified. The reason for this is that no one can form a unit on their own and they would be left dangling if the other person were transitioning when supposed to be in the unit.
This is the planned implementation of transitions. There will almost certainly need to be improvements to this. For example, if figures start or end with shifts and rotations then a move may not be the best form of transition.
Units
In many dances a group of people act as a unit, all moving together while staying in the same position relative to each other. An example is a couple taking a two-hand hold and reeling with two other persons such as in ... A less obvious use of a unit is when defining the pousette.
Transitions
Each movement (or rotation, or shift) starts where the previous movement left the person. This ensures that no one suddenly 'jumps' from one position to another. However, where standard figures are used, one figure may end with a person in one position and the immediatly following figure may start with the person somewhere else. For example, consider the Flowers of Edinburgh where the 'lead down and back' leaves the first couple at their original postions on the sides but the pousette starts with them positioned in the middle already taking hands. There is no time in the middle to transition from one figure to the next. When dancing the dance, dancers adjust the end of the 'lead down and back' figure so that they end in the middle. They never actually go back to their positions on the sides.