Distance and Mapping

Embodiment Movement

Take a breath and try to respond the cues with a couple of movement.

Cue 1: “Imagine moving as if you’re in a small, confined space. Explore the sensation of being close, compact, and contained.”

Cue 2: “Now, let your movements expand. Take larger moves, reaching and stretching through space. Explore the sensation of covering a greater distance.”

Cue 3: “Find a balance between the previous qualities. Move with moderate steps, neither too short nor too long. Observe how this moderate distance feels in your body.”

Discussion

  • “What did you notice about your movements?”
  • “What two parts of your bodies are ‘distanced’? Your two wrists, your wrist and your ankle, or something else?”
  • “How did your body respond to the different qualities of distance?”
  • “Did any emotions or images come to mind as you explored the different distances?”

Distance

We briefly talked about distance function in the previous session. Today, we will dive deeper into the idea.

There can be two types of distances when observing in danceON. One is the distance between things on the canvas. The other is the distance from camera. These two types are distinguished differently in danceON.

Horizontal and Vertical Distance

The distance on the canvas can be calculated via the distance formula.

\[ d = \sqrt {\left( {x_1 - x_2 } \right)^2 + \left( {y_1 - y_2 } \right)^2 } \]

For an example, the below code should draw a circle based on the distance between your two wrists.

(pose) => [{
            what: 'circle',
            where: {
                    x: pose.nose.x,
                    y: pose.nose.y,
            },
            how: {
                d: Math.sqrt( 
                    (pose.rightWrist.x-pose.leftWrist.x)*(pose.rightWrist.x-pose.leftWrist.x) + 
                    (pose.rightWrist.y-pose.leftWrist.y)*(pose.rightWrist.y-pose.leftWrist.y)),
                fill: [color(255,0,0),color(0)]
                }
            }]

Another example would be using this distance in the conditional. This example will draw a clown nose on you when you open your arms.

(pose) => {
    let distaneOfWrsits = Math.sqrt( 
                    (pose.rightWrist.x-pose.leftWrist.x)*(pose.rightWrist.x-pose.leftWrist.x) + 
                    (pose.rightWrist.y-pose.leftWrist.y)*(pose.rightWrist.y-pose.leftWrist.y));
     return [{
            what: 'circle',
            when:  distaneOfWrsits>500 ,
            where: {
                    x: pose.nose.x,
                    y: pose.nose.y,
            },
            how: {
                d: 30,
                fill: color(255,0,0)
                }
           
            }]}

Mapping

Sometime we want to use distance indirectly. Mapping is a great way to get proportional numbers. The below code should be similar things as the previous example codes, except the circle on the nose is sized based on the distance of your wrists.

(pose) => {
    let distaneOfWrsits = Math.sqrt( 
                    (pose.rightWrist.x-pose.leftWrist.x)*(pose.rightWrist.x-pose.leftWrist.x) + 
                    (pose.rightWrist.y-pose.leftWrist.y)*(pose.rightWrist.y-pose.leftWrist.y));
     return [{
            what: 'circle',
            where: {
                    x: pose.nose.x,
                    y: pose.nose.y,
            },
            how: {
                d: map(distaneOfWrsits, 0,200,1,20),
                fill: color(255,0,0)
                }
           
            }]}

Exercise

Apply the idea of a distance calculation and create a movement. Teach that movement to your peers, design a movement that is playing with the idea of distance.