simplify xy <-> sv transformation,
approximate color to triangle edge