Recent

Author Topic: Ripple  (Read 3569 times)

BubikolRamios

  • Sr. Member
  • ****
  • Posts: 397
Ripple
« on: January 06, 2025, 08:16:48 pm »
This is random side effect, using BGRABitmap twirl filter on top of one of my images.
See circular spots.
How would one go about doing that on purpose, pointing where should it occur by mouse click (center point, diameter,...) ?
Was looking at lazpaint, union of selections can obviously be done, but looks to me complicated even at run time, as I'm (not into depth) used to PS ...

As I see it, one would need 2 circles, one centered inside another, space between them - do something. For each ripple.

EDIT - something close can be done with PS-filter-distort-zigzag. But only close, not it.
« Last Edit: January 06, 2025, 08:45:56 pm by BubikolRamios »
lazarus 3.2-fpc-3.2.2-win32/win64

lainz

  • Hero Member
  • *****
  • Posts: 4743
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Ripple
« Reply #1 on: January 06, 2025, 08:38:37 pm »

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: Ripple
« Reply #2 on: January 07, 2025, 09:23:05 pm »
While it is rather simple to remove Moiré patterns (by upscaling, applying transform and then downscaling), it is quite complicated to do it on purpose.

However you could simulate such pattern by blending a radial gradient (with sine repetition) on top of the image. Here as the pattern is dark, using the boDarken blend mode could do.

I suggest maybe to experiment a bit with LazPaint. You don't need to use any "selection". Here is a sample image attached as LZP.

The Moiré pattern is made using a radial gradient (with sine repetition) masked with a radial gradient (white in the center, black outside the disk). It is then applied on the horizontal lines using Darken blend mode. Actually, the Overlay blend mode seems to give a more realistic result.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: Ripple
« Reply #3 on: January 07, 2025, 09:25:10 pm »
Here is an example with Overlay blend mode:
Conscience is the debugger of the mind

BubikolRamios

  • Sr. Member
  • ****
  • Posts: 397
Re: Ripple
« Reply #4 on: July 15, 2025, 09:14:38 am »
« Last Edit: July 15, 2025, 09:32:41 am by BubikolRamios »
lazarus 3.2-fpc-3.2.2-win32/win64

 

TinyPortal © 2005-2018