Geometric code