
Coding Challenge #142: Rubik's Cube Part 3
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/142-rubiks-cube
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Jguv-i8Xj
Other Parts of this Challenge:
πΊ Rubik's Cube - Part 1: https://youtu.be/9PGfL4t-uqE
πΊ Rubik's Cube - Part 2: https://youtu.be/EGmVulED_4M
π₯ Previous video: https://youtu.be/pn2vlselv_g?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/eqo2LxRADhU?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
πΉ peasycam: http://mrfeinberg.com/peasycam/
π₯ I am the cube: https://iamthecu.be
π Rotation matrix on Wikipedia: https://en.wikipedia.org/wiki/Rotation_matrix
Videos:
π₯ Code Bullet: https://youtu.be/f9smvQ5fc7Q
π₯ Matrix Transformations: https://www.youtube.com/watch?v=o9sgjuh-CBM&t=0s
π₯ Matrix Multiplication for 3D Rendering: https://youtu.be/tzsgS19RRc8
π₯ Coding Train Live 174: https://youtu.be/GbHGGYSwVvY?t=7318s
Related Coding Challenges:
π #112 3D Rendering with Rotation and Projection: https://youtu.be/p4Iz0XJY-Qk
Timestamps:
0:00:00 Introduction
0:01:03 Applying the rotation animation
0:08:13 Animating every move
0:19:32 Final results
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: http://thecodingtrain.com/
πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
π‘ GitHub: https://github.com/CodingTrain
π¬ Discord: https://thecodingtrain.com/discord
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ Twitter: https://twitter.com/thecodingtrain
πΈ Instagram: https://www.instagram.com/the.coding.train/
π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π 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-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new
#rubikscube #rotationmatrix #peasycam #simulation #processing