BiomolGradientLayer
Initialize a gradient layer which grows in concentration proportionally in space.
Parameters
directionX
x coordinate of the vector representing the direction in which the gradient grows
directionY
y coordinate of the vector representing the direction in which the gradient grows
unitVariation
unit variation of the gradient
offset
minimum value of concentration reached by this spatial distribution
Initialize a gradient layer which grows in concentration proportionally in space.
Parameters
direction
the Position2D representing the direction in which the gradient grows (here the positions is considered as a vector)
unitVariation
unit variation of the gradient
offset
minimum value of concentration reached by this spatial distribution