Meet Root, the robot that helps students understand programming

It's like a real life Karel
 By 
Kellen Beck
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Kids need to learn how to code.

It’s the common adage around modern education. And of course it would be great if all kids learned a programming language or two before they graduated high school, but there’s a steep learning curve you have to break through before you can really get a solid grasp on coding.


You May Also Like

Root is a robot that smooths out that curve, allowing anyone who’s new to coding to make sense of the often-unintuitive nature of programming languages. Designed by the Wyss Institute at Harvard University, the magnetic robot glides along metal-backed whiteboards or any horizontal surface, drawing and erasing lines, scanning colors, playing musical notes and displaying different color lights -- all of which you control with a unique programming app.

Via Giphy

Connecting with coding

You control Root with Square (Square, Root, get it?), an iOS tablet app that has multiple proficiency levels to help people learn the principles of programming.

The first level of proficiency uses graphical drag-and-drop boxes to show what Root will do if you place in a certain event, like "turn left." Level two uses drag-and-drop boxes with programming language to give an idea of how these different events appear in coding. Level three, the highest level, is traditional text coding.

Zivthan Dubrovsky, a bio-inspired robotics team lead at Harvard University, told Mashable you can switch between the different levels whenever you want. 

"So a program you made in level one, you can convert to level two, and than you can convert that to JavaScript [level three]," he said.


Via Giphy

By sliding between each proficiency level, Square allows you to clearly see how lines of code make Root perform different tasks.

"So when somebody's coding in JavaScript, they now have a visual mindframe of what loops, sequences, functions, priorities and variables are," Dubrovsky said.

A revolutionary way to learn

There are many ways to learn programming and work your way up from writing simple addition programs to creating gravitationally accurate solar system simulations. Drag-and-drop programming applications exist, like GameSalad, but they don't allow you to see any actual script. There are beginner languages that use simplified script, like Karel, but that could still prove difficult for elementary-level students to wrap their heads around.

learn the ins and outs of coding without switching between different software and languages

Root and Square put these ideas together into a single system, allowing students to learn the ins and outs of coding without switching between different software and languages.

At level one, Root sticks to pretty basic object-oriented programming and is very similar to Karel, which is often students' introduction to coding languages like JavaScript or Python. This kind of programming is a good starting point for beginners, and being able to translate from drag-and-drop coding to text coding is a smart way to show kids how code works.

What Root can do

In the first proficiency level, Root can do some simple but fun things based on what you program it to do. You can have it spell your name, for example, which may not be as simple as you think.

"How would you code the robot to draw an 'M' on the board?" Dubrovsky said. "The students have to think through: when are they going to drop the pen, when are they going to lift the pen, what are the angles the robot has to turn, visualizing and projecting in their mind where the robot will be in space at what time."

Dubrovsky said you can also draw a racetrack on a whiteboard that Root can follow. You can program the robot to use its color sensors to stay within two lines.

Via Giphy

Root can run programs from Square that are practical too, like erasing the whiteboard at the end of class time.

When you're coding in levels two or three, the possibilities are essentially limitless. Dubrovsky said you can play your own version of Angry Birds on the board with Root by drawing a marker line of varying length, having Root read that line and gather trajectory angle and speed variables from that line, which it can convert into its own movement path.

Bringing Root to the classroom

The team behind Square and Root is working on bringing its product to classrooms, Dubrovsky said. The first part of that plan is building awareness, and the next part is to reach out to superintendents and policymakers to find pilot schools to try this out with.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

The team is looking to make Square and Root a national standard, and want to make current code-learning platforms like Code.org and Tynker be compatible with Root.

Dubrovksy said the team is currently looking for partners and investors to help bring Square and Root to the world. You can reserve your own Root for $199 and join the mailing list to stay up to date on launch dates and news.

Have something to add to this story? Share it in the comments.


Mashable Image
Kellen Beck

Kellen is a science reporter at Mashable, covering space, environmentalism, sustainability, and future tech. Previously, Kellen has covered entertainment, gaming, esports, and consumer tech at Mashable. Follow him on Twitter @Kellenbeck

Mashable Potato

Recommended For You
Get the budget-priced Eufy 11S Max robot vacuum for 50% off
Eufy 11S Max robot vacuum on pink and orange abstract background



Make short work of tidying your home with 50% off the Shark AI Ultra Voice Control Robot Vacuum
Shark AI Ultra Voice Control Robot Vacuum on orange and pink abstract background

The Dreame Aqua10 Ultra Roller robot vacuum and mop is back at its lowest price ever — save over $500
the Dreame Aqua10 Ultra Roller robot vacuum and mop in white on a pink, orange, and brownish background

More in Life
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 4, 2026
Connections game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

Wordle today: Answer, hints for April 4, 2026
Wordle game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!