Tank simulation by Joe Pirocco