Rough import from demo-jam/augmented-reality.html