A Virtual World - JavaScript Course: Lesson 1 / 11 [Spatial Graphs] @Radu
A Virtual World - JavaScript Course: Lesson 1 / 11 [Spatial Graphs]  @Radu
Uploaded September 2023 | Updated September 2026, 2 weeks ago
Welcome to Phase 2 of my Self-Driving Car Course!

You don't need to have watched Phase 1 to start this course. "A Virtual World" is a standalone course where we'll construct a virtual environment entirely from the ground up. Get ready to use basic HTML, CSS, and JavaScript to craft this world where self-driving cars (or anything you desire, like Pokémon :-D) can roam freely. Our primary focus will be on generating this dynamic world, with the integration of self-driving car code coming at the end.

This course serves as preparation for Phase 3, "Understanding AI," where we'll delve into neural networks and other advanced AI techniques. By the end of Phase 3, you'll comprehend the inner workings of neural networks, the importance of hidden layers, and more. But to get there, we need this sophisticated world to create complex scenarios, as our previous one was too simplistic. So, if you're eagerly anticipating neural networks, please be patient and enjoy Phase 2 in the meantime.

In this phase, you'll acquire valuable skills, including mathematics, algorithms, programming, and design—skills that greatly benefited me during my PhD and my time at Microsoft. I'm confident they'll boost your career as well.

Here's what you'll learn:
* Building a spatial graph from scratch and creating an editor with a dynamic viewport.
* Understanding the mathematics and logic behind user-friendly interfaces in modern software.
* Generating road borders, buildings, and trees using geometry and creating a 3D illusion.
* Implementing road markings to prepare for advanced self-driving challenges.
* Enhancing the world editor for user convenience and maximizing auto-generated content.
* Loading real-world data from openstreetmap for city-based simulations.
* Creating a minimap for navigation in expansive worlds.

Have Fun! :-)

⭐PLAYLISTS ⭐
Phase 1: youtube.com/playlist?list=PLB0Tybl0UNfYoJE7ZwsBQoDIG4YN9ptyY
Phase 2: youtube.com/playlist?list=PLB0Tybl0UNfZtY5IQl1aNwcoOPJNtnPEO

💻CODE💻
github.com/gniziemazity/virtual-world

⭐FINAL APP⭐
radufromfinland.com/projects/virtualworld

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

⭐Pythagorean Theorem Video⭐
youtu.be/iqSlzYXdFzw

⭐Euclidean Distance Video⭐
youtu.be/3rPwfmrCwVw

⭐App from Phase 1⭐
radufromfinland.com/projects/selfdrivingcar

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

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

⭐Timestamps⭐
00:00 Introduction
05:57 HTML Canvas Project Setup
10:52 What are Spatial Graphs?
12:27 Implementing a Spatial Graph in JavaScript
20:41 Implementing the Graph Functionality
48:28 Outro and Special Thanks to prof. Căiniceanu
A Virtual World - JavaScript Course: Lesson 1 / 11 [Spatial Graphs]A Surprising Visual Demo with JavaScript & HTML CanvasMachine Learning Course - Lesson 12: Elongation FeatureDecode the Drawings - Status & Prize UpdateJavaScript 🧤 Christmas Calendar 📅 Day 9 🎄Drawing CIRCLES in 10 Different Ways with JavaScriptAnimated Counter using Google Chrome Dev Tools and JavaScript (Fake Subscriber Count)JavaScript 🔔 Christmas Calendar 📅 Day 6 🎄JavaScript 🍭 Christmas Calendar 📅 Day 4 🎄Basic PHP web server for Game (Backend Part 2)BRIO Train Track Piece Generator in JavaScript🚙Self-driving Car🚗🏢DRIVING INSIDE BUILDINGS🏢🚗 Easter Egg 🐰🎅
Radu Mariescu-Istodor |

A Virtual World - JavaScript Course: Lesson 1 / 11 [Spatial Graphs]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER