     b.save("/tmp/polygon.png", open:true)
 }
 
-//switzerland()
-
-bitmap()
-points()
-lines()
-rects()
-ellipse()
-text()
-image()
-bezier()
-cgContext()
-colors()
+switzerland()
+
+//bitmap()
+//points()
+//lines()
+//rects()
+//ellipse()
+//text()
+//image()
+//bezier()
+//cgContext()
+//colors()
 voronoi()
-polygon()
+//polygon()
 
 //let b = BitmapCanvas(6000,6000, "SkyBlue")
 //b.fill(P(270,243), color: NSColor.blueColor())
 //b.save("/tmp/out.png", open: true)
 
-X11Colors.dump("/opt/X11/share/X11/rgb.txt", outPath:"/tmp/X11.clr")
+//X11Colors.dump("/opt/X11/share/X11/rgb.txt", outPath:"/tmp/X11.clr")


func voronoi() {
    
    let n = 25
    
    var b = BitmapCanvas(256, 256)
    
    var pointsColors : [(NSPoint, NSColor)] = []
    

    }
    
    for (p,_) in pointsColors {
        let rect = R(p.x-1, p.y-1, 3, 3)
        b.ellipse(rect, stroke:"black", fill:"black")
    }
    
