Coding Challenge #142.2: Rubik’s Cube Part 2

In part 2 of the Rubik’s Cube challenge, I simulate rotations of the cube’s faces using matrix operations. I also refactor the code to include a separate Face class (from the Cubie class). πŸ’» πŸ”— I am the cube: πŸ”— Rotation matrix on Wikipedia: πŸŽ₯ Rubik’s Cube Part 1: πŸŽ₯ Rubik’s Cube Live Stream: πŸŽ₯ […]

Continue Reading

Coding Challenge #143: Quicksort Visualization

πŸ”— This video is sponsored by Brilliant: In this video, I implement a Quicksort algorithm in JavaScript visualize the sorting with p5.js. πŸ’» πŸ”— Quicksort on Wikipedia: πŸŽ₯ Bubble Sort Visualization: πŸŽ₯ 15 Sorting Algorithms in 6 Minutes: πŸŽ₯ async/await: πŸš‚ Website: πŸ’– Patreon: πŸ›’ Store: πŸ“š Books: πŸŽ₯ Coding Challenges: πŸŽ₯ Intro to Programming: […]

Continue Reading

Rubik’s Cube continued…

To learn more about Brilliant, go to and sign up for free. The first 200 people that go to that link will get 20% off the annual Premium subscription. πŸ’» πŸ’» πŸš‚ Website: πŸ’– Patreon: πŸ›’ Store: πŸ“š Books: πŸŽ₯ Coding Challenges: πŸŽ₯ Intro to Programming: πŸ”— p5.js: πŸ”— Processing:

Continue Reading

Coding Challenge #142.1: Rubik’s Cube Part 1

This is the first video in a series about simulating and solving a Rubik’s Cube in Processing (Java). πŸ’» πŸ”— peasycam: πŸŽ₯ Code Bullet: πŸŽ₯ Matrix Transformations: πŸš‚ Website: πŸ’– Patreon: πŸ›’ Store: πŸ“š Books: πŸŽ₯ Coding Challenges: πŸŽ₯ Intro to Programming: πŸ”— p5.js: πŸ”— Processing:

Continue Reading

Rubik’s Cube and Quicksort Visualization

To learn more about Brilliant, go to and sign up for free. The first 200 people that go to that link will get 20% off the annual Premium subscription. πŸ’» πŸ’» πŸš‚ Website: πŸ’– Patreon: πŸ›’ Store: πŸ“š Books: πŸŽ₯ Coding Challenges: πŸŽ₯ Intro to Programming: πŸ”— p5.js: πŸ”— Processing:

Continue Reading