Updating Augmented content on touch/interaction with AR.js

Setting the scene

The situation: I have 9 markers for an augmented experience showing our Sun and planets to scale. This allows you to put two markers side by side to see the size differences.

The Problem: the key for this is the scale, but because of the sheer scale changes between the first 4 planets and Jupiter it becomes difficult to see any detail of the smaller few,

The fix: when viewing the “to scale” version I will allow the user to touch the planet to grow it to a standard size to allow finer detail to be scene.

The problem, is I don’t know how to code that… and that is now the the journey for this post…..

An excerpt from Updating Augmented content on touch/interaction with AR.js

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.