Example showing how to use a beating heart as a life meter