TWIST AND FLIP ENCRYPTION ALGORITHM



This is a patented algorithm used for encryption. My program investigates what happens to an object of points (in this case a sqaure) after different numbers of mutations in the twist and flip algorithm. All points are rotated around a given point (the user can click on any point) by an angle given by the distance between the two points. Then it is flipped across the origin.
Source Code

0 iterations

1 iteration

2 iterations

3 iterations

12 iterations



20 iterations

20 iterations

20 iterations