Spatial Computing
When Apple announced the Vision Pro headset in June 2023 at a starting price of $3,499, they did not call it a VR headset or an AR device. They called it a 'spatial computer.' The framing was deliberate: spatial computing is not a display technology โ it is a computing paradigm in which digital information is positioned and manipulated in three-dimensional physical space. A surgeon overlaying MRI data onto a patient's skull, an architect walking through a building that exists only as a 3D model, a student pulling apart a holographic human heart โ all of these are spatial computing, regardless of whether a headset, a phone, or a wall-sized display delivers the experience.
What You'll Learn
By the end of this lesson you will be able to: โข Define spatial computing and distinguish it from traditional 2D screen-based computing โข Explain the four core enabling technologies: SLAM, depth sensing, spatial anchors, and hand tracking โข Describe concrete real-world applications in medicine, construction, education, and retail โข Identify the major development frameworks (ARKit, ARCore, WebXR) and when to choose each
What Makes Computing Spatial?
Traditional computing is flat. You interact with pixels arranged on a 2D plane using a mouse, keyboard, or touchscreen. The device has no model of the physical world around it โ it does not know where it is in a room, how far away you are, or what surfaces exist nearby. Spatial computing adds a third dimension by making the device context-aware: it continuously tracks where it is in physical space, builds a model of the surfaces and objects nearby, and can place persistent digital content at specific real-world coordinates. The spectrum runs from fully transparent to fully synthetic: Augmented Reality (AR) โ the real world is primary; digital elements are overlaid. Your phone camera sees your kitchen table and places a virtual coffee cup on it. Mixed Reality (MR) โ digital objects interact physically with real surfaces. A holographic ball rolls down an actual physical ramp; your hand reaches into a virtual drawer. Microsoft HoloLens 2 operates here. Virtual Reality (VR) โ the real world is entirely replaced. Meta Quest 3 and PlayStation VR2 create fully synthetic environments. Spatial awareness of the physical room is still needed for safety (the passthrough cameras on Quest 3 prevent you from walking into walls).
Four Core Technologies
Spatial computing depends on four interacting hardware and software systems: 1. SLAM (Simultaneous Localization and Mapping) โ the algorithm that allows a device to determine its own position and orientation in a physical space while simultaneously building a 3D map of that space, in real time, without GPS. It fuses data from cameras and an IMU (inertial measurement unit). The Apple Vision Pro runs SLAM at 90 Hz across 12 cameras to maintain sub-millimeter positional accuracy. SLAM was first formally described by Hugh Durrant-Whyte and John Leonard in 1986 and now runs in Roomba vacuums, Tesla Autopilot, and Mars rovers as well. 2. Depth sensing โ hardware that measures the exact 3D distance to every point in the scene. Methods: structured light (project a pattern onto the scene, measure how it deforms โ used in iPhone Face ID), time-of-flight (pulse a laser and time the return echo), and stereo cameras (triangulate depth from two offset images). LiDAR scanners on iPad Pro and iPhone 15 Pro use time-of-flight at centimeter accuracy up to about 5 m. 3. Spatial anchors โ persistent digital markers tied to a real-world location or surface. An anchor records that 'the virtual whiteboard lives on this specific wall at these world coordinates.' When you close the app and return 6 hours later, the anchor is still there. Microsoft Azure Spatial Anchors and Apple's ARWorldMap both support cross-session and multi-user anchor persistence. 4. Hand tracking โ cameras detect the 3D position of all 21 joints in each hand without gloves or physical controllers. Meta Quest 3 and Apple Vision Pro both use machine-learning models trained on tens of millions of hand pose images to infer finger position and gesture in real time at 90 fps.
SLAM is not just in headsets. iRobot Roomba models since 2015 use SLAM variants to map your home and avoid retracing paths. Tesla Autopilot uses a camera-only SLAM-adjacent system instead of LiDAR. NASA Mars rovers use SLAM to navigate terrain with 20-minute communication delays โ no GPS exists on Mars. It is one of the most deployed algorithms in the world.
Real-World Applications
Medicine โ AccuVein projects a live map of the patient's subsurface veins directly onto their skin using near-infrared imaging and AR overlay, reducing first-attempt IV insertion failures by 3.5 times. Medivis and Surgical Theater allow neurosurgeons to plan tumor resections by walking through a 3D holographic reconstruction of the patient's MRI before the first incision. The HoloLens 2 is FDA-cleared for use inside the operating room. Construction โ Trimble XR10 (a hardhat-integrated HoloLens 2 variant) overlays BIM (Building Information Model) blueprints at 1:1 scale on a building under construction, flagging deviations from spec in real time. AECOM and Skanska report 40-50% reductions in rework costs on pilot projects. Education โ Case Western Reserve University's HoloAnatomy app replaced cadaver labs with a holographic human body students can disassemble layer by layer, from skin to bone to neurovascular bundle. Over 100 medical schools worldwide licensed it by 2024. Retail โ IKEA Place uses ARKit to drop photorealistic 3D furniture models at accurate scale into the customer's actual room. Wayfair reports a 3.4 times reduction in return rates for products previewed in AR before purchase, because customers can verify fit and color before buying.
Development Frameworks
Choosing how to build a spatial app depends on your target platform: ARKit (Apple) โ the most mature and highest-fidelity AR framework for iOS and visionOS. Offers advanced scene understanding, person segmentation, LiDAR support on Pro hardware, and tight integration with RealityKit for 3D rendering. iOS and macOS only โ no Android support. ARCore (Google) โ Google's AR framework for Android. Strong persistent anchor support and the Geospatial API allows AR objects to be pinned to GPS coordinates at city scale (used for outdoor AR experiences and navigation overlays). Works on 400+ certified Android devices. WebXR โ an open W3C web standard that lets AR and VR experiences run inside a browser tab. Supported in Chrome (best), Firefox, and Safari (partial). No app install required โ distribute an AR experience as a URL. Performance is lower than native, but the zero-friction distribution model is a major advantage for consumer applications. Unity and Unreal Engine โ both provide AR Foundation plugins that target ARKit, ARCore, HoloLens, and Meta Quest from a single shared codebase. Most commercial spatial applications use Unity or Unreal because writing to one codebase and deploying to multiple platforms is far more efficient than maintaining separate native codebases.
If you are new to spatial development, WebXR with Three.js or A-Frame is the lowest-friction path to a working prototype. You can create a simple AR scene with basic JavaScript, test it in Chrome on any ARCore-capable Android device, and share it as a URL โ no developer accounts, no app store submissions, no headset required.
Match each spatial computing concept to its correct description.
Terms
Definitions
Drag terms onto their definitions, or click a term then click a definition to match.
A surgeon using a HoloLens 2 needs a holographic tumor model to stay perfectly aligned with the patient's head as the surgeon moves around the operating table. Which technology is most directly responsible for maintaining that alignment?
A developer wants to let any smartphone user visit a virtual sculpture garden placed in a real outdoor park โ no app download required, and it must work on both Android and some iPhones. Which technology stack best fits all three constraints?
Prototype a Marker-Based AR Scene
You do not need a headset for this exercise. Use AR.js Studio (ar-js-org.github.io/AR.js-Website/) โ it is free and runs in a browser. 1. Sketch on paper: what 3D object or information do you want to appear when a camera looks at a marker? (A rotating logo, a 3D label, a simple animation?) 2. Open AR.js Studio and select 'Marker-based' mode. Upload a custom image as your marker, or use the default Hiro marker. 3. Attach a 3D object from the built-in library to your marker. Adjust the scale and position. 4. Copy the generated URL and open it in Chrome on an Android phone (or use the built-in AR.js viewer). 5. Point the camera at your printed marker and observe the AR overlay. 6. Write a one-paragraph reflection: What worked as expected? What surprised you? What would you need to learn next โ SLAM-based tracking, persistent anchors, or hand interaction โ to build the spatial app you actually want to create?
Want to keep learning?
Sign up for free to access the full curriculum โ all subjects, all ages.
Start Learning Free