Description
This project follows the style of classic driving simulation games. You can play the role of a driver moving around the city on the road. You can go forward, backward, left, or right and use the mouse to view the city from different angles. In fact, in 'DriveX' , you engage in exploring and moving around a rural-urban environment.
___________________________
But how should you take control of the vehicle? Until you click on the screen, the vehicle moves around the city as an animation. So, to activate the interactivity, you need to tap on the screen once. After activating interactivity, you can use the keys A,S,D,W (similar to the previous project, Rainbow Scape) to move on the road and navigate left, backward, right, and forward. By moving the mouse across the screen, you can also observe different angles within the environment.
__________________________
There are two main lighting spectrums: day and night. During the night, lights illuminate the surroundings, while during the day, guardrails along the road help define the boundaries. Please note that for safety reasons, the possibility of the vehicle leaving the road is not allowed! This means no matter how much you turn left or right, you cannot exit the road boundaries. However, your viewing angle can extend beyond the road.
__________________________
This project has been coded in 3D space(WEBGL) using p5.js. I hope this city-level driving experience brings you peace and relaxation.