Magnetic Fields in Augmented Reality @grae_n
Magnetic Fields in Augmented Reality  @grae_n
Uploaded February 2022 | Updated November 2026, 3 hours ago
This video discusses some common misconceptions about earth magnetic field. This video is also a tutorial about placing magnetic fields vectors in an augmented reality scene (that was a mouthful). Basically it converts the magnetic field from your phones reference frame into a more inertia local reference frame then plots them in AR. This allows you to more easily compare magnetic measurements.

I'm super curious if anyone decides to extend this project. There's a lot of possibilities from trying to calculate field lines, metal detecting, and finding the tesla of nearby magnets.

Working Github page (mobile+a bunch of permissions+ flags enabled only):
graemeniedermayer.github.io/arMagneticField

Code:
github.com/graemeniedermayer/ArExperiments/blob/main/javascript/arMagneticField.js
Magnetic Fields in Augmented Realitysmoothly relighting AI artPlane Detection in webxrNormal Maps for Stable DiffusionAI Word Art and Fonts with Stable DiffusionImage Tracking with WebxrJarvis Visualization (AlexNet mapped)Differential Eq + Depth #1The Crazy World of Neural RenderingStable Fluids in Augmented RealityAccessing the camera in webxrDepth Information onto a Grid
Grae n |

Magnetic Fields in Augmented Reality

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER