NOT ACTUAL COLLISIONS! This is just a test to see if it looks like collisions when you set the radius of a circle to its x distance from the centre. Tell me if you have any ideas for games/projects with this. Press space...
Might add an explanation of the code if you ask for it in the comments, and could also make it more user friendly if enough people are interested. I noticed this when I was playing around with the Pen Circle project, and when you change the radius with the slider, one end of the circle looks glued to the same x position.