Skip to content

Traffic Simulation in lua, optimized with binary searches, table memory allocation, and much more. Can simulate and visualize up to 10,000 cars at 60 fps.

Notifications You must be signed in to change notification settings

HiddenKaiser/trafficsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

trafficsim

Traffic Simulation in lua, optimized with binary searches, table memory allocation, and much more. Video is simulating 10,000 cars at 60 fps. Recorded with gyazo gif. Most impressive code is in src/TrafficController/Lane.lua

Structure:

image

680325f471641edfd223c99bf32cfa09.mp4

About

Traffic Simulation in lua, optimized with binary searches, table memory allocation, and much more. Can simulate and visualize up to 10,000 cars at 60 fps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages