figure - shows what the output will look like when you run hourglass py figure - the output of the hourglass program with sand falling how it works the hourglass program implements rudimentary physics engine physics engine is software that simulates physical objects falling under gravitycolliding with each otherand moving according to the laws of physics you'll find physics engines used in video gamescomputer animationand scientific simulations on lines to each "grainof sand checks if the space beneath it is empty and moves down if it is otherwiseit checks if it can move down and to the left (lines to or down and to the right (lines to of coursethere is much more to kinematicsthe branch of classical physics that deals with the motion of macroscopic objectsthan this howeveryou don' need degree in physics to make primitive simulation of sand in an hourglass that is enjoyable to look at """hourglassby al sweigart al@inventwithpython com an animation of an hourglass with falling sand press ctrl- to stop view this code at tagslargeartisticbextsimulation"" import randomsystime try import bext except importerror print('this program requires the bext modulewhich you' project #