Skip to content

Instantly share code, notes, and snippets.

@CalvinLogan
Created December 10, 2018 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CalvinLogan/5401df22d0969a3a02e69573bbe05a48 to your computer and use it in GitHub Desktop.
Save CalvinLogan/5401df22d0969a3a02e69573bbe05a48 to your computer and use it in GitHub Desktop.
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