Physics · RealityKit

Cairn

Stones on a still loch.

Cairn is a calm stacking game built on RealityKit physics. Every stone is made from a seed with its own shape, weight and centre of mass, meshed and painted on the device, and it falls like stone because it is simulated as stone: real density, real grip, real gravity. Drag to carry it over the cairn, twist with two fingers to turn it, and lift your finger to let it go. The breeze grows as the cairn rises. It ships with 48 shores across six lochs, each teaching something new about stone, a daily cairn with the same stones for everyone and a widget, an endless open shore, Steadies that take back the stone that fell, a shore journal of photos and a StoreKit 2 shop, under frosted SwiftUI screens in three lights.

  • Physics
  • RealityKit
  • 48 levels

Every screen, built

Real captures from the iOS Simulator. The menus, the shop and the progress screens ship in the source, not just the board.

  • Title

  • Play

  • Results

  • Level map

  • Journal

Title and Play are open. The other 3 screens are part of SwiftPieces Games. It opens every screen, and the full Xcode project to build them.

What you get

  • Real 3D physics in RealityKit: convex stone bodies with mass from density and friction by kind
  • Procedural river stones from a seed, meshed and painted on the device, nine kinds from greywacke to the heart stone
  • 48 shores across six lochs with three marks each: long stones, the breeze, slippery quartz, a leaning rock, sea gusts
  • A daily cairn with the same stones for everyone, a streak and a Home Screen widget, plus an endless open shore
  • A breeze that grows with the cairn's height and gusts, and Steadies that undo the stone that brought it down
  • A shore journal of photos, a stone collection, four stone sets and three lights: Dawn, Haar and Gloaming
  • Content48 levels
  • Leaderboards3
  • Achievements20
  • Challenges0
  • Swift6,757 lines in 70 files
  • RequiresiOS 17.0, Xcode 26

Shop

  • Sea glass pouches
  • Steady tokens
  • Supporter pack

Built on

  • GameCore
  • Feel
  • GameServices
  • Shaders
  • GameUI

Presets

  • dawn
  • haar
  • gloaming

Plays

48 levels on iPhone and iPad, with VoiceOver menus, Dynamic Type and reduce motion.