Rotating Sierpinski 3D Tetrahedron (Also done with GL thanks to Gigatron) lazarus / 39-Graphics ---------------------------------------------------------------------- Boleeman · 2025-08-06 08:56 A rotating Sierpinski Tetrahedron Used Tbgrabmp. Now also done in GL (thanks Gigatron) It slows right down at level 4 ---------------------------------------------------------------------- Gigatron · 2025-08-06 16:41 Hi I tried to do a conversion with the glLine command, it's good for level 4 and 5 no more. I will send you the source code as soon as I have finished the new version of the glCanvas library. Regards ** Edit *** @Boleeman , here is the project1.zip with the GL version; ---------------------------------------------------------------------- Boleeman · 2025-08-09 01:46 Thanks Gigatron for the GL upgrade. Much appreciated. The rotation is much smoother. Even got level 6 to work reasonably well by lowering the alpha to about 70 and line width to 0.5. At that level and with those settings it takes on a fine glass appearance. I have got to use GL more often for animations, as it seems to be much smoother (buffered). I have seen some excellent WebGL JavaScript animations, also using shaders so it would be nice to learn to do it with Lazarus. I was also curious about Guva's RayLib animation codes, but as I am running out of HDD space of my old laptop, I will need to install that on a newer laptop. Gigatron, I noticed that when I compile your code I get a much smaller exe file (just under 2 Mb) whereas my usual exe size is just over 3Mb. Not sure how you did that? Gigatron, thanks for doing that conversion. I will learn from that, as my GL knowledge it not that great. I did some Koch GL curve ages ago and kinda struggled to get things working. I got it in the end though.