d e n s i t y = s t r e n g t h ⋅ ( 1 − ( min ( d i s t a n c e , r a d i u s ) r a d i u s ) 2 ) 2 {\displaystyle {density}={strength}\cdot \left(1-\left({\frac {\min(distance,radius)}{radius}}\right)^{2}\right)^{2}}
density = strength ⋅ ( 1 − ( min ( distance , radius ) radius ) 2 ) 2 {\displaystyle {\textit {density}}={\textit {strength}}\cdot \left(1-\left({\frac {\min({\textit {distance}},{\textit {radius}})}{\textit {radius}}}\right)^{2}\right)^{2}}