BgraBmp: How to Make a Decorative Shadowed Circle Effect? lazarus / 39-Graphics ---------------------------------------------------------------------- Boleeman · 2025-08-14 09:17 I was wondering if anyone knows how to make a Decorative Shadowed Circle Effect, as shown in the attached png. I can't seem to get that effect happening. Basically a rough hole (mask ?) in the middle, with random intersecting 3D-ish circle lines with a slight shadow. Sort of reminds me of a birds nest pattern, with a 3D effect. ---------------------------------------------------------------------- lainz · 2025-08-14 12:38 It's easy, just draw white circles randomly in a transparent background. Then erase circle antialias (or ellipse) in the center. Then shadow the bitmap.. Here the shadow code: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure SingleColor(Bitmap: TBGRABitmap; Color: TBGRAPixel);var  i: integer;  p: PBGRAPixel;begin  p := Bitmap.Data;   for i := Bitmap.NBPixels - 1 downto 0 do  begin    p^.red := Color.Red;    p^.green := Color.Green;    p^.blue := Color.Blue;    Inc(p);  end;end; function Shadow(Source: TBGRABitmap; Color: TBGRAPixel; Blur: integer): TBGRABitmap;begin  Result := TBGRABitmap.Create(Source.Width + (2 * Blur), Source.Height + (2 * Blur));  Result.PutImage(Blur, Blur, Source, dmDrawWithTransparency);  SingleColor(Result, Color);  BGRAReplace(Result, Result.FilterBlurRadial(Blur, rbFast));end; ---------------------------------------------------------------------- Dzandaa · 2025-08-14 17:23 Hi, @Booleman: Here, just a quick project B-> ---------------------------------------------------------------------- Dzandaa · 2025-08-15 16:25 Hi, @Booleman: Another approach Have a nice day. I like your challenges!!! B-> ---------------------------------------------------------------------- lainz · 2025-08-15 22:40 This is my version =) ---------------------------------------------------------------------- Boleeman · 2025-08-16 07:58 Was trying to work this out but was going round in circles. Wow a BIG THANK YOU to both Dzandaa and Lainz. Much Appreciated.