Daftar Isi:
  • My final project is about Traffic Simulation at a Crossroad using HTML5 canvas and java script programming language. This Crossroad has 12 tracks including turn left, straight, and turn right from every sides and have 4 different colors of the cars. HTML5 canvas is used to display animations and the data structures are using Array and Array2d to manage coordinates, images, x,y tracks, movement of the cars, and all of this are processed by the functions for every step. This Crossroad Simulation can generate more than 48 cars on 12 track models