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
💻 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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Coding Challenge #146: Rendering RaycastingWhat is Ray Tracing?Coding Adventure: Ray MarchingLine Of Sight or Shadow Casting in 2DCoding Challenge #11: 3D Terrain Generation with Perlin Noise in ProcessingCoding Challenge #139: Calculating Digits of Pi with CollisionsWolfenstein 3D's map renderer1.1: Code! Programming for Beginners with p5.jsCoding Challenge #100.3: Neuroevolution Flappy Bird - Part 3Make Your Own Raycaster GameRay Tracing Essentials, Part 1: Basics of Ray TracingField of view visualisation (E01)Coding Challenge #144: 2D Black Hole VisualizationCoding Challenge #132: Fluid SimulationCoding Challenge #130.1: Drawing with Fourier Transform and EpicyclesCoding Challenge #142.1: Rubik's Cube Part 1Coding Adventure: CloudsBehind the Scenes of The Coding Train: How I LivestreamCoding Challenge #29: Smart Rockets in p5.js