AR in the classroom: teaching maths with ARKit and ARCore

Augmented reality can put a maths idea on the classroom floor where students can walk around it. Here's which topics it suits, how an AR maths game works on iPads and Android tablets, and what a real classroom changes, with lessons from building Slope Hunter.

Some maths ideas are hard on paper because they’re really about space. Slope is one: a line on a grid is abstract, but a ramp is something every student has walked up. Augmented reality (AR) closes that gap by drawing the maths onto the real room through a phone or tablet camera. This article explains where AR helps in maths teaching, how it works, and what to plan for, using Slope Hunter, an AR maths game we built for a client, as the example.

What AR is good for in maths

AR earns its place when the idea is something you can point at:

  • Slope and gradient, measured between two real points in the room
  • Coordinates, with a grid laid over a desk or the floor
  • Angles, shapes and symmetry, seen from different sides
  • Measurement and scale, compared with real objects

It adds little to practice that is already fine on paper or in an ordinary app, like arithmetic drills. If a worksheet teaches it just as well, AR is an expensive way to do the same job.

How Slope Hunter teaches slope

Slope Hunter turns the room into the exercise:

  • The camera shows the real surroundings, and the game lays a Cartesian coordinate grid over a real surface.
  • The player picks points in the room, the game works out the slope between them, and gives instant feedback with sound and vibration.
  • Levels get harder gradually, so students build up from simple cases.
  • A shop and rewards keep students coming back.
  • Teachers can see how students perform through Unity’s cloud analytics.

How the technology works

Apple and Google each provide the AR layer for their devices: ARKit on iPhones and iPads, ARCore on Android. Both track how the device moves through the room and find flat surfaces like floors and tables.

Building the same game twice would double the work, so Slope Hunter is built in Unity 6 with AR Foundation, Unity’s framework for writing AR once and running it on both. Three of its features do most of the work in a game like this:

  • Plane detection finds the desk or floor to draw on.
  • Ray casts turn a tap on the screen into a point on that real surface.
  • Anchors keep virtual objects fixed in place as the device moves.

What a classroom changes

An AR game that works in an office can still fail in a school. Plan for these:

The devices the school already owns. Not every Android tablet runs ARCore: Google certifies devices and publishes the list of supported models. Check the school’s actual tablets against it before anything is built, and test on the oldest one.

Light and surfaces. AR tracking relies on the camera seeing detail. Plain, shiny desks and dim rooms make overlays drift. In Slope Hunter, getting the coordinate grid to sit naturally on real surfaces was the core technical challenge. Test in a real classroom, not a studio.

Short lessons. A teacher may have ten minutes for the activity. The game has to start quickly, explain itself, and stop cleanly.

Shared tablets and moving children. Several students often share one device, and thirty of them walking around while looking at screens is a safety question. Design activities that work from one spot or a small area.

Teachers need to see results without stopping play. Analytics should collect what a teacher needs, such as who struggled with which level, in the background. In Slope Hunter this had to work without interrupting the player.

Children’s data. Collect as little as you can. Privacy rules for children differ by country, and app stores are stricter with apps made for children. Settle this at the start, not before launch.

The maths has to be right

A learning game is only worth classroom time if it teaches correctly. The balance in Slope Hunter was between game mechanics and academic accuracy: rewards should follow understanding, not speed or luck. Involve a teacher from the first prototype, and tie each level to something in the curriculum.

Game-based learning takes other forms too. In our Minecraft Education welding workshop, the same principles apply inside a game students already know.

Our advice

Start with one concept that is hard to teach on paper. Build a small prototype, put it on the school’s own devices, and watch a real class use it. What you see in those ten minutes will shape the product more than any plan.

If you’re planning an educational AR app or game, tell us about it and we’ll help you find the right first step.

Work mentioned in this article

Your next big idea.
Let’s build it together.

Share your vision with InfoTechsRealm. From websites and apps to immersive digital experiences, we bring design and engineering together to create something your users will love.