Created
December 10, 2018 02:34
-
-
Save CalvinLogan/5401df22d0969a3a02e69573bbe05a48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colors = ["Red", "Orange", "Yellow", "Green", "Blue", "Pink", "White", "Turqoise"] | |
colorIdx = (data / 2) % 12 | |
color = colors[colorIdx] | |
shapeLists = [Shape1, Shape2, Shape3, Shape4, Shape5, Shape6, Shape7] | |
shapeListIdx = data / 12 | |
shapeList = shapeLists[shapeListIdx] | |
shape = shapeList[color] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment