Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Add port to p5.js of Coding Challenge 142.1: Rubiks Cube 1 #2181

Merged
merged 4 commits into from
Apr 18, 2020

Conversation

edorfaus
Copy link
Contributor

This is a straight port, except for using p5.EasyCam instead of PeasyCam, and having to deal with QUADS not being supported in WebGL mode (this issue: processing/p5.js#4401).

I left the workaround for that last bit as a separate commit, to make it easy to revert when that support has been implemented.

This is a workaround for issue p5.js#4401 : in WebGL mode, the QUADS
mode of beginShape() has not been implemented yet. As a replacement,
this code now uses a separate shape for each face of the cubie.
@gruselhaus gruselhaus requested a review from shiffman March 30, 2020 18:08
@gruselhaus gruselhaus merged commit 15244a8 into CodingTrain:master Apr 18, 2020
@shiffman
Copy link
Member

Thank you so much for this!!

@edorfaus edorfaus deleted the cc/142.1-port-to-p5js branch May 27, 2020 18:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants