[Gambas-user] A Little Inconsistency
T Lee Davidson
t.lee.davidson at gmail.com
Mon Nov 13 19:24:01 CET 2023
On 11/13/23 13:02, Claus Dietrich wrote:
> Hi
>
> Today I received a notice that the documentation of the image wave method (gb.image.effects)
>
> has an inconsistency. It says:
>
>
> Function Wave ( [ Amplitude As Float, WaveLength As Float, Background As Integer ] ) As Image
>
> Modifiy the pixels along a sine wave.
>
> - Amplitude is the amplitude of the sine wave.
>
> - Frequency is the frequency of the sine wave.
>
> - Background is the background color used for filling empty pixels.
>
>
> As the term frequency is related to time and is a the reciprocal of wavelength I suggest to
>
> correct and refine the documentation as follows:
>
>
> Move the pixels vertically according to a sine wave function.
>
> - Amplitude is the (vertical) amplitude of the sine wave (in pixels).
>
> - Wavelength is the (horizontal) length of the sine wave (in pixels).
>
> - Background is the background color used for filling empty pixels.
>
>
> Best regards
>
> Claus
Done.
--
Lee
More information about the User
mailing list