For example, the large final knot (at the purple arrow here) can be placed at a corner.
Stretch the cord leading out to knot #8 (blue arrow) straight out taut along the floor.
If the wall is set properly, knot #3 (at the red knot) will meet the wall and there will be no droopy slack in the cord between knots #3 and #8 (the area indicated by the turquoise arrow).
If there’s slack in the cord between #3 and 8, the wall is slanting inward.
If knot #3 can’t meet the wall, the wall is slanting outward.
To do accurate measuring for building purposes (anything larger than a sand box,
I think), you’d want a larger version of this device, created with 6˝ of cord (or even 12˝) between each knot.
The 6˝ version is nifty, because when you fold it in half, it can also measure 36˝ — one yard — in 6˝ increments.
This certainly isn’t high-tech, but it’s a good, graphic way to play with measurements and angles, kids think it’s fun (so do grown-ups) and it fits in the pocket ever so much better than a massive metal T-square, a modern tool that serves the same purpose.