A Virtual World - JavaScript Course: Lesson 7 / 11 [Road Marking Editor with JavaScript] @Radu
A Virtual World - JavaScript Course: Lesson 7 / 11 [Road Marking Editor with JavaScript]  @Radu
Uploaded November 2023 | Updated September 2026, 2 weeks ago
Welcome to the course where we build a self-driving car simulation in a virtual world using HTML, CSS and JavaScript. Now, it's time to introduce road markings to enforce traffic rules. These rules are not just about creating realistic road behavior; they are the key to unlocking the full potential of phase 3, where we dive into more advanced AI techniques.

Given that our world remains predominantly 2D, we'll implement these rules as markings on the road. These markings will snap to the road and always maintain the correct orientation. The philosophy is simple: users should have to do as little as possible to create something nice. This user-centric approach is a guiding principle in all UI development.

Have Fun! :-) 🚗🛣️

⭐PLAYLIST⭐
youtube.com/playlist?list=PLB0Tybl0UNfZtY5IQl1aNwcoOPJNtnPEO

⭐FINAL APP⭐
radufromfinland.com/projects/virtualworld

💻CODE💻
github.com/gniziemazity/virtual-world
6. Fake3D = follow along
7. Markings = code after this lesson (including the part for channel members)

⭐ALL PREREQUISITES⭐
youtube.com/playlist?list=PLB0Tybl0UNfZ3nnHVg8SJ4uK3R4QD6R0H

⭐Emojis I used in the video⭐
🌐🛑🚶🚙🅿️🚦⚠️🎯

☕Buy me a Coffee?☕
buymeacoffee.com/radum

⚡️Join this Channel⚡️
youtube.com/@radu/join

⭐Timestamps⭐
00:00:00 Introduction
00:01:09 Preparing for 2 Editors
00:08:44 Bind in JavaScript
00:14:53 Implementing the Stop Editor
00:40:10 Implementing the Crossing Editor
00:48:51 Refactoring using Inheritance
01:01:13 Implementing the Start Editor
01:04:26 Four more Markings
A Virtual World - JavaScript Course: Lesson 7 / 11 [Road Marking Editor with JavaScript]Machine Learning Course - Lesson 8: Decision Boundaries in JavaScriptCan You Draw Yellow with Red and Green Pixels?Procedural Bag Generator with HTML, CSS, and JavaScript | Coding on Turkish AirlinesJavaScript 🎄 Christmas Calendar 📅 Day 24 🎄Machine Learning Course - Lesson 17: Deep Neural NetworksAR Dragon Ball - Vanilla JavaScript - 3h Live Stream (in memory of Akira Toriyama)🎃Scary Maze🎃Halloween JavaScript TutorialDrawing the Twitter Logo with JavaScriptBuild a Chart using JavaScript (No Libraries)Blindfolded Live Coding @Vsauces Emordnilap Machine in JS (we also talk about the channel ending)Learn 2D Vectors with JavaScript
Radu Mariescu-Istodor |

A Virtual World - JavaScript Course: Lesson 7 / 11 [Road Marking Editor with JavaScript]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER