Green Flag. This kaleidoscope has mirrors at 60 degree angles. As two points move within a little triangle (the one to the right of and above the origin) we draw a line segment between them and also all the reflections in the mirrors. This gives us an image in each of the 24 little triangles.
I figured out the math on pen and paper and wrote the code myself. I should add a hidden sprite showing the mirror equations and math sometime. Main mathematics used: 1, 2, sqrt 3 triangles (30,60,90 triangles) Reflecting points in a line y=mx+c. A line perpendicular to y=mx+c will have gradient -1/m. A very good description of the maths to reflect a point in a line here: https://martin-thoma.com/reflecting-a-point-over-a-line/ One of the points moves part of the time around a Lissajous Curve to make nice patterns. https://en.wikipedia.org/wiki/Lissajous_curve