The fireworks look nice.
Thanks! First I just used single particles (like in the Particles example), but it didn't look good and I spent some time to make "tails"
I tried the other examples too for the first time (not only reading through the sources this time) and discovered a bug in the triangulation example. See attached file for a screenshot. The lower right point was added last.
Assuming you mean the lines that exceed the convex hull: This is not a triangulation bug, but a SFML shape issue. I noticed this behavior already when I tested the triangulation, but considered it a SFML-given limitation and didn't think anymore about it. But I opened
a thread now.
Are there any plans on your side to add the 3rd dimension?
Generally, Thor as an SFML extension doesn't really provide 3D functionality (apart from basic vector operations that might be useful for SFML sound spatialisation). I don't know if the generalization would complicate the algorithm a lot. If not, I might indeed reflect about it, but there are many more important points to be done before.
Thor's triangulation functionality was originally needed for
thor::ConcaveShape, but I thought there might be more applications and as I already implement it anyway, I could put it into the API. But I'm not a graph theorist, so there are certainly more optimized implementations out there. Maybe
LEMON (a very nice graph library I use) has something, I also heard that Delaunay triangulation might be a candidate for Boost.Geometry.