Introduction
Use the Robo-Dancers app to code your own dance moves.

Step 1: Getting started
Choose a robot and some music to dance to.
Activity Checklist
- Go to the Robo-Dancers webpage at jumpto.cc/robo, and click ‘Make Something’ to get started.

- Press the left and right arrows to choose your dancer, and click ‘Let’s dance’ when you’ve chosen one.

- You can also choose the music that your robot dances to.

Step 2: Customising your dance
Control how your robot dances.
Activity Checklist
- Click and drag the yellow sliders to change how different body parts move.

You can alter the amount of movement and the starting angle of your robot’s body parts.
Challenge: Don’t lose your head
Can you use the sliders to make your robot’s head spin out of control?

Step 3: Code mode
Let’s code your robot’s dance.
Activity Checklist
- Click ‘Code Mode’ to start coding your robot.

- Scroll down, and for each body part you’ll see a number of variables.

- Change the
rightUpperArm_reverse
variable fromfalse
totrue
.
rightUpperArm_reverse = true
Click ‘Run the code’, and you should see the right arm move in the opposite direction.
- Set the
rightUpperArm_tempoMultiplier
to2
and click ‘Run the code’.
rightUpperArm_tempoMultiplier = 2;
This will make the right upper arm move twice as fast as the music. You can use a value like 0.5
to make the arm move at half the speed of the music.
- You can also change the
amount
andangle
of movement.
rightUpperArm_amount = 98;
rightUpperArm_angle = 129
The amount
can be between 0
and 150
, and the angle between 0
and 360
degrees.
Challenge: Create your own dance
Can you change the values of the variables to code your own dance?
Step 4: Dancing to bars
Make your robot dance differently to different parts of the music.
Activity Checklist
- A bar is a set of 4 beats.
If you look at the top of the code, you’ll see that a variable called bar
changes from odd to even every 4 beats.

You can use this variable to change how your robot dances in odd and even bars.
- This code decides how fast the hips move:

This means that the hips move at normal speed during even
bars and at half speed during odd
bars.
- You can copy and paste any variables into this code, to make the robot dance differently during odd and even bars.
For example, you can just make the hips move during odd bars:
if (bar == "even") {
hips_tempoMultiplier = 1;
hips_leftRight = 0;
} else {
hips_tempoMultiplier = 0.5;
hips_leftRight = 10;
}
Challenge: Changing dance
Create a dance that changes during odd and even bars.
Save your project
If you have a ‘mixital’ login, you can click ‘Save’ to store your dance or share it with your friends.
