Text this: Fundamentals of traffic simulation