This is actually a tool used in construction. A chamber filled with chalk and a coiled line. You hook the line to one end of your item, pull the chamber across, make it tight, snap the line.
https://www.homedepot.com/p/Milwaukee-100-ft-Bold-Line-Chalk...