Lines Animation: Horizontal, Vertical, Diagonal lazarus / 39-Graphics ---------------------------------------------------------------------- Boleeman · 2024-07-13 02:05 A Lines Animation with Horizontal, Vertical, Diagonal Lines. A bit hypnotic. On a TBgraBmp and also on a TPaintbox. Looking closely at the png's the Paintbox version has jaggies on the diagonal lines. I thought an extra effect would be to make the lines "Neon Glow" a bit with the bgrabmp version. ---------------------------------------------------------------------- Boleeman · 2024-07-13 06:35 This produces Blurred lines/Glow type effect on bgraBmp but is incredibly slow. I love the effect of the intersection points of the lines. Is there a better way to produce a similar effect, but make it faster ? I wonder ? ---------------------------------------------------------------------- circular · 2024-07-15 16:18 Yes, it is possible to make it faster using OpenGL. I suggest to begin with to look at how to do some geometry and then blur: opengltest0 shows how to draw a geometric shape. opengltest4 shows how to apply blur to a texture. opengltest5 shows how to use a framebuffer (see attached picture). For the blur lines, the steps would be to create a framebuffer, draw the lines in it, retrieve it as a texture, apply a blur to it and display it. ---------------------------------------------------------------------- Boleeman · 2024-07-16 12:10 Thanks Circular for that advice. I will need to install Lazarus on another laptop and the Dev branch of BgraBmp. Much appreciated for your kind/wise hints on how to extend the animation features. I was also going to maybe go back to Josh's and DZandaa's animated examples. What I did also notice was that the screen shot of the program looks different when I compiled on an Intel based laptop. (with part of the image cut off), where as compiling to my AMD based laptop produces the correct sized image. Not exactly sure why?