G'MIC Tutorial Fragments

@grosgood

Two three things.

  1. You don’t need to use ‘-’. If you note my commands, I never use - next to their commands.

  2. input isn’t necessary. Just 3,3,1,1,-.125 would do for example.

Also I find this interesting:

$=busybx_
    lbound={exp(($busybx_3/100)-1)}

What was the point of $=…? I only use it to access a specified argument. For example:

#@cli rep_mn: eq. to 'rep_multinormalize' : (+)
rep_mn: rep_multinormalize $*
#@cli rep_multinormalize: values
#@cli : Normalize based on channels using values.
#@cli : (eq. to 'rep_mn').\n
#@cli : Author: Reptorian.
rep_multinormalize:
repeat $! l[$>]
 repeat s
  $=a
  $=b
  val_a=${a{$>*2+1}}
  val_b=${b{$>*2+2}}
  sh $>
  normalize. $val_a,$val_b
  rm.
 done
endl done
1 Like