Profile
Best ForComments
Sun, 06/06/2010 - 22:48
#2
More...
Note that this function intendedly doesn't work symmetric (similar to the sinus-function, which also isn't symmetric at the y-axis) to keep the "waveform" homogenous on the x-axis.
Tue, 06/08/2010 - 10:48
#3
That's how the code does look like
function Sawtooth(x,range) -- returns values between only 1 and range for k=15,-15,-1 do |
|
I still don't get why this recipe creates a score impact, although it only outputs some text to show how the function works and doesn't do any changes on the puzzle itself.
If you know why, tell me, please.