Category Archives - Fractals

Linear Mapping Between Two Triangles

December 6, 2015 12 Comments

Here is unoptimized Swift code for generating the linear transformation between two triangles. It’s extremely easy to miss dealing with some corner cases. I’m pretty sure this is correct. I’ve used it to generate dozens