You can move the little scratch points to change the shape of the triangle Press space to make the points invisible
formula of diagonal distance and triangle Credits: Me idk why it squishy like that