Changes by last author:

Added:
= sinbell =

== Syntax ==

:int sinbell(int a)

== Arguments ==

:a

::Input value from 0 to 1024

== Return ==

:Sine-bell-shaped output value from 0 to 1024

== Description ==

:This is a replacement for a gaussian function. It calculates very quickly. Of course it is only an approximation of a gaussian function.

== Example ==

<code>

%ffp

R=G=B= sinbell(x*1024/X ) > 1024 - y*1024/Y ? 0:255

</code>

== Also see ==

:(sin)?

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.