Search for question
Question

INSTRUCTIONS You need to overview and change the code to modify the output make it topple into 8 nbrs instead of 4, or save each toppling in a temporary array so that the animation is symmetric. Ideas for modifications: change the initialization of the sand array in fill, change the ARES, change the colors, make it topple all the way to stability in one go. A more interesting modification would be to make it topple into 8 nbrs instead of 4, or save each toppling in a temporary array so that the animation is symmetric.