Загрузка страницы

Coding Challenge #145: 2D Raycasting

In this video, I implement a basic ray casting engine with line segment "surfaces" and vector "rays." The result simulates a light source casting shadows in a 2D canvas.

💻 Code: https://thecodingtrain.com/CodingChallenges/
🎥Next video: https://youtu.be/vYgIKn7iDH8

Links discussed in this video:
🔗 SIGHT & LIGHT by Nicky Case: https://ncase.me/sight-and-light/
🔗 2d Visibility from Red Blob Games: https://www.redblobgames.com/articles/visibility/
🔗 p5.collide2D: https://github.com/bmoren/p5.collide2D
🔗 Line–line intersection: https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection
🎥 Coding Adventure: Ray Marching by Sebastian Lague: https://youtu.be/Cp5WWtMoeKg
🎥 Matrix Math: https://youtu.be/uSzGdfdOoG8

🚂Website: https://thecodingtrain.com/
💡Github: https://github.com/CodingTrain
💖Membership: https://youtube.com/thecodingtrain/join
🛒Store: https://www.designbyhumans.com/shop/codingtrain/
📚Books: https://www.amazon.com/shop/thecodingtrain
🖋️Twitter: https://twitter.com/thecodingtrain

🎥Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
🌐Help us caption and translate: http://www.youtube.com/timedtext_cs_panel?c=UCvjgXvBlbQiydffZU7m1_aw&tab=2
🚩Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
👾Share your contribution: https://thecodingtrain.com/Guides/community-contribution-guide.html

🔗 p5.js: https://p5js.org
🔗 Processing: https://processing.org

#ray #casting #simulation

Видео Coding Challenge #145: 2D Raycasting канала The Coding Train
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
8 мая 2019 г. 18:21:47
00:36:02
Яндекс.Метрика