Updated mathematics library including polygon and various trigonometry functions.

Comments, 896 Votes - submitted on 08/03/2014 view repo

App creates star polygons at random locations. A tap on the polygon calls a general-purpose triangulator, adds the triangles as physics bodies, and gives them a spin to simulate an explosion. When all the fragments have flown off the screen, a new star is created.

The triangulator code can easily be snipped for other purposes.

Comments, 384 Votes - submitted on 05/03/2014 view repo