physics as a game loop. part 1: objects and waves

suppose you're developing a theory of how the world works. if you're a software developer, you might be familiar with a concept of a game loop . you have some state and update function. you call the update function in a loop, and so the state changes over time. in a sense, a game loop describes the world of your game. most games are pretty complex but here's a very simple one — a counter: let…