Generating an array of colors (ColorBetween related)
#5

I want the GenerateGradient function to work how I thought it should.
pawn Код:
new Array[263] = GenerateGradient([List of colors to interpolate through here.]);
That is supposed to go through each argument and return the gradient of all of them.

EDIT: I was just thinking, even if we do get the cells to fill in there will be some (the remainder of the division) left over. So we also need a modulus in there for the last color.
Reply


Messages In This Thread
Generating an array of colors (ColorBetween related) - by Crayder - 20.03.2015, 02:17
Re: Generating an array of colors (ColorBetween related) - by Pottus - 20.03.2015, 04:10
Re: Generating an array of colors (ColorBetween related) - by Crayder - 20.03.2015, 05:38
Re: Generating an array of colors (ColorBetween related) - by Pottus - 20.03.2015, 14:13
Re: Generating an array of colors (ColorBetween related) - by Crayder - 20.03.2015, 14:37
Re: Generating an array of colors (ColorBetween related) - by Misiur - 20.03.2015, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)