Coding Challenge

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

Can I build an interactive 3D Rubik's cube in Processing? Yes! Someday I hope to return to this project and add an AI solver! Code: https://thecodingtrain.com/challenges...

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

Other Parts of this Challenge:
📺 Rubik's Cube - Part 1:    • Coding Challenge #142: Rubik's Cube P...  
📺 Rubik's Cube - Part 3:    • Coding Challenge #142: Rubik's Cube P...  

🎥 Previous video:    • Coding Challenge #141: Calculating Di...  
🎥 Next video:    • Coding Challenge #143: Quicksort Visu...  
🎥 All videos:    • Coding Challenges  

References:
📹 peasycam: http://mrfeinberg.com/peasycam/
🟥 I am the cube: https://iamthecu.be
🔗 Rotation matrix on Wikipedia: https://en.wikipedia.org/wiki/Rotatio...

Videos:
🎥 Code Bullet:    • A.I. Solves a 55 x 55 x 55 Rubik's Cube  
🎥 Matrix Transformations:    • How to Rotate Shapes in p5.js (transl...  
🎥 Matrix Multiplication for 3D Rendering:    • Matrix Multiplication for 3D Rendering  
🔴 Coding Train Live 174:    • Coding Train Live 174: Rubik's Cube c...  

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

Timestamps:
0:00:00 Introduction
0:01:30 Continuing From Part 1
0:02:57 Representing Each Cubie In a Matrix
0:09:43 Finding Each Cubie
0:11:01 Applying Rotation
0:25:30 Coloring The Faces
0:33:59 Updating The Positions
0:40:33 Adding Directions For Each Turn
0:44:03 Testing If Everything Works

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...

#rubikscube #rotationmatrix #peasycam #simulation #processing

Комментарии

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