 
 import UIKit
 import PASTA
+import Metron
 
 class ViewController: UIViewController {
 
     var tangibles = Set<PASTATangible>()
+    var orientationLabels = [PASTATangible: (UILabel, UILabel)]()
+    let labelOffset: CGFloat = 40
 
     @IBOutlet weak var tangibleView: PASTAView!
 

        tangible.layer.cornerRadius = tangible.radius
        tangible.layer.borderWidth = 2.0

        print("✅", tangible.patternIdentifier ?? "no identifier")
        print("✅", tangible)



    func tangibleMoved(_ tangible: PASTATangible) {
        tangible.layer.cornerRadius = tangible.radius

        if let (initial, fixed) = orientationLabels[tangible] {
            initial.center = tangible.center + tangible.initialOrientationVector * (tangible.radius + labelOffset)
            if let orientationVector = tangible.orientationVector {
                fixed.center = tangible.center + orientationVector * (tangible.radius + labelOffset)
            }
        }
    }

    func tangibleDidBecomeActive(_ tangible: PASTATangible) {
