@BoredInSchool(View Post) TPT works using a map of pixels. Basically, take your average math notebook(Squared). Colour some squares, then try to make the object fall as whole. An easy way would be to cut out the object and then move it as whole. Rotating would work with it as a whole. Then again, having every particle as an object would be ever-so slow.
If the source doesn't get put on github, I might try doing it myself using the source in the first post. It shouldn't be that hard to convert it to c.
@The-Fall(View Post) I compiled it in the exact same way as tpt, using the same libraries. If your using visual studio, there are a lot of errors to fix though.