         
         let pinch = UIPinchGestureRecognizer(target: self, action: #selector(pinchHandler))
         addGestureRecognizer(pinch)
+        
+        let pan = UIPanGestureRecognizer(target: self, action: #selector(panHandler))
+        addGestureRecognizer(pan)
         
         addSubview(segmentedControl)
         segmentedControl.addTarget(

        resetPointIndex = true
    }

    func pinchHandler(recogniser: UIPinchGestureRecognizer)
    {
        switch recogniser.state

        
        currentDrawable?.present()
        
        if !panning {
            angle += 0.005
        }
    }
    
    func rnd() -> Float
