metric ruler simulation