builtree/simulate

simulations: toothpick: make toothpick pattern more space efficient

yashlamba opened this issue · 0 comments

Right now we save the toothpick states in a list of lists to keep track of the previous state for marking them red when moving back a step. We can maybe utilize canvas.save for saving previous states.