Chaikin's corner cutting algorithm in Python using Pygame and in R. Controls (only in the Python version): Press Enter to cut the corners. Press Backspace to undo the last step. Thanks to https://sighack.com/post/chaikin-curves for for the tutorial.