there's no need to create a completely separate duplicate version of all the Perlin generation code for a different number of channels.
this small pull just does a slight refactor to pass the number of channels as a function argument. the 16 channel version just subclasses the normal 4 channel one and passes 16 for the number of channels to use.
there's no need to create a completely separate duplicate version of all the Perlin generation code for a different number of channels.
this small pull just does a slight refactor to pass the number of channels as a function argument. the 16 channel version just subclasses the normal 4 channel one and passes 16 for the number of channels to use.