[Gambas-user] A Little Inconsistency
Claus Dietrich
claus.dietrich at freenet.de
Mon Nov 13 19:02:28 CET 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231113/a20ac357/attachment.htm>
More information about the User
mailing list