Utility for teaching and experimenting with the Corner Table representation of a triangle mesh in 2D.
Click and drag to move vertices.
"f" will rescale and center the shape in the window
"e" will even out the interior vertices
"n' will move the current corner (dot) to the next corner
"p' will move the dot to the previous corner
"o" ill move the dot to the opposite corner
"l" short-cut for "n"+"o"
"r" short-cut for "p"+"o"
"?" will print the variables of the current corner (dot)
"w" will print all corners
"s" will save the current mesh
"g" will get back the last saved mesh
The "gate" is the opposite edge of the current corner when it has no opposite
"C" will attach a new triangle to the gate having as tip a new vertex
"L" will attach a new triangle to the gate having as tip vertex the left neighbor along the border
"R" will attach a new triangle to the gate having as tip vertex the right neighbor along the border