Coding Challenge

Описание к видео Coding Challenge

In this coding challenge, I visualize a 4D Hypercube (aka "Tesseract") in Processing (Java). Code: https://thecodingtrain.com/challenges...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous video:    • Coding Challenge #112: 3D Rendering w...  
🎥 Next video:    • Coding Challenge #114: Bubble Sort Vi...  
🎥 All videos:    • Coding Challenges  

References:
🔢 Matrix Multiplication: http://matrixmultiplication.xyz
🗄 Rotation Matrix on Wikipedia: https://en.wikipedia.org/wiki/Rotatio...
🗄 3D Projection on Wikipedia: https://en.wikipedia.org/wiki/3D_proj...
🗄 Tesseract on Wikipedia: https://en.wikipedia.org/wiki/Tesseract

Videos:
🎥 Understanding 4D -- The Tesseract:    • Understanding 4D -- The Tesseract  
🚂 3D Rendering with Rotation and Projection:    • Coding Challenge #112: 3D Rendering w...  
🚂 Matrix Math:    • 10.6: Neural Networks: Matrix Math Pa...  
🚂 Matrix Multiplication for 3D Rendering:    • Matrix Multiplication for 3D Rendering  
🔴 Coding Train Live 148.2:    • Coding Train Live #148.2: 4D Hypercube  

Related Coding Challenges:
🚂 #112 3D Rendering with Rotation and Projection:    • Coding Challenge #112: 3D Rendering w...  

Timestamps:
0:00 Introducing today's topic: rendering a 4D hypercube
7:30 Create a P4Vector class
9:43 Extend the points array to have 16 points
13:06 Create the projection matrix
16:16 Stereographic projection
18:04 Connect the points
22:17 Add an offset to the connect function
26:26 Create rotation in the 4th dimension
29:49 Create a rotationXY matrix
36:52 Rotate around the w axis
40:23 We have now entered the 4th dimension!!
40:58 What dimension could you visualize?

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#3drendering #orthographicprojection #rotationmatrix #4dhypercube #tesseract #processing

Комментарии

Информация по комментариям в разработке